Hi!
From one day to the next I lost my connection to Home Assistant from outside my local network and I don’t know what happened, I’ll tell you what I have and the tests carried out to see if someone else comes up with something else…
I have my Home Assistant running in docker, on a server with OpenMediaVault.
For access from outside my network via https I use the Nginx Proxy Manager (docker) and Duckdns
I recently moved house, with a different network and router, but I had managed to get everything working without problems (outside access included) until yesterday.
In the HA configuration.yaml I have included all docker networks in trusted_proxies
http:
use_x_forwarded_for: true
trusted_proxies:
- docker nets...
- 172...
- Server IP...
(As I was telling you, everything worked fine for me with this configuration)
Remotely I can connect via VPN, so the failure with Duckdns and the router has been ruled out.
I have tried to disable Nginx and perform port forwarding on the router to port 8123 with http and with https, changing the HA configuration and managing the LetsEncript certificates in another way. So I consider that I rule out any problem with the router and the port forwarding.
I have tried to update the LetsEncript certificates and generate new ones with Nginx, it generates them well, so I consider that it works well (and can access ports 80 and 443)
From the server’s command line I ping the network without problems and abroad, so I consider that the network is well configured.
In the HA logs I don’t see any errors or any access attempts.
I don’t see any errors in the Nginx logs either (neither in the docker logs nor in the nginx folder accessing by commands)
Of course I have restarted the server and HA multiple times
In Nginx I have Wbsocket Support, Force SSL and HTTP/2 Support enabled. (Right now I don’t have screenshots to attach )
When trying to access https://xxxxx.duckdns.org, the HA logo appears and stays at “Loading data”.
I don’t know the exact moment this problem started (with teleworking and the cold I didn’t leave the house on Monday) the only change on my server may have been a docker update…
I am completely lost and I don’t know what else to try, I have searched the forums and I have not found anything that helps me.
I would like to continue using Nginx Proxy Manager (or similar) as it makes internal network configuration much easier and works better than if I access my HA via https on the local network…
Please help! and… Thanks in advance!!