I don’t know how else to debug this issue, but if there’s a new version of Home Assistant queued up in the Supervisor page, it coincides with my experience of not being able to load the UI via my domain.
I can still get to it locally, but until I update to the latest version, the https://subdomain.domain.com which is a sub-domain to my primary domain which is configured as a reverse proxy gives me the dreaded “retry” link.
I can’t make heads or tails of it. I just know that to fix it, I just update to the latest and restart everything.
Hi,
I have the same problem. I am using Apache2 as my reverse proxy, and until recently it worked fine.
I am running HA as a docker container, and the domain name is https://home.mydomain.com
I can still connect from within my home network by using http://192.168.0.7:8123 but get a 400 error from outside.
Logs say You have received a reverse proxy request from 127.0.0.1 but you ar enot set up to reverse proxy.
A bit or reading around and I added the following to the configuration.yaml file
http:
base_url: https://home.mydomain.com
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1 ----> Localhost
- 172.16.0.0/12 ------>Docker Network
- 192.168.0.0/24 ------> Home Network
- ::1 -------> IP6 (Dunno why, someone suggested it was a good idea ;-)
- localhost --------> Clutching at straws
And restart apache and the server…Makes no difference. I am sure I am missing something simple, but would appreciate any thoughts.
Are you able to access the logs…I think you might see the ip address that is being used by the reverse proxy…Put that at the top of your list, and i think that will fix it