Can’t login in: your computer is not allowed

I know there are similar posts but reading them I couldn’t find a solution.

When I try to connect to HA, both from apps and from the web, and from so and from Android, both locally and remotely, I always receive the same message that my computer is not allowed.

I’m not a super expert, I’m a beginner, I installed hassio on raspberry 3 ph.

Since I can’t log in, I can’t make any changes. How can I solve it?

Thanks to those who can help me

Philip

In order to log in to a trusted network, you need to add your IP range to configuration.yaml:
So if your range is 192.168.0.x, use:

homeassistant:
  auth_providers:
  - type: homeassistant
  - type: trusted_networks
    trusted_networks:
      - 192.168.0.1/24

otherwise, start again using username/password

I see you are getting this when trying to access via duckdns. Do you have the same issue when trying to access inside your local network with a local address (http://192.168.x.y:8123)?

The strange thing is that I always quietly logged in, and I didn’t change any parameters. I don’t know what has changed, even the range of home ips hasn’t changed.

How can I make this change without having access? Via ssh? What are the default usernames and pw since I’ve never used it?

Thank you

I was able to login via ssh. In the configuration.yaml I already had this value inserted, it should be right, my home ip is 192.168.1.x . Is there any error?Schermata 2023-01-17 alle 15.23.29

not sure what the issue is
maybe add:

 - type: homeassistant 

That should enable signing in with username/password again

Do you use a reverse proxy by any chance? And if so, is its IP in the trusted network subnet?