I’ve been unable to access my HA externally since the upgrade to supervisor-2021.06.8.
I’ve been using duckDNS & NGINX to access my system from outside my local network. I’ve restart both and check the logs, can’t see anything obvious that prevents me from accessing it via my duckDNS address.
Anyone else have this problem or can give me a pointer as to what to check to resolve this issue?
Thanks, I wonder what has gone wrong. Was working fine before the update, Indeed I updated via that configuration, but I couldn’t reconnect until I changed my address to local in Ios / macOs (http://homeassistant.local:8123).
I gather that the trusted proxy ip address for the ‘official’ ngnix proxy Manager add-on will be the same as the ip address the home assistant server is running on. So that will be:
Search for “untrusted proxy”
Should be a line like this:
2021-07-10 22:26:04 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.4
In the HTTP section of your config file, make sure you have use_x_forwarded_for:true and add the address found in the previous step (yes, it may be some strange IP you’ve never seen before) to trusted_proxies entry like so:
Great tip. For me, finding the right IP too use was the most difficult part. Would be handy if the Nginx proxy manager add-on displayed its IP address, that would have made it easier.
BTW, what is the ::1 for? My configuration worked without it.