@Protoncek I am not using Authentication Providers
But firstly, I wonder what [homeassistant.components.http.ban] means. I haven’t been getting these in my logs since the 1st day. Does that mean the ban sticks, and my errors are actually leftover from the 1st day before adding trusted_proxies?
How to clear ban list? suggests I don’t have a ip_bans.yaml file so it’s not the case.
After all that stuff, I’ve basically exhausted all options. Then I remembered I have multipl ext urls to use, so I can set them up differently.
I’ll use shortnames now:
myurl = ha.mydomain.com
ddns = me.duckdns.org
nas = 192.168.1.153 - synology instance
haos = 192.168.1.154 - vm on nas
I installed Duck DNS on HA again. Set up my DuckDNS.org domain. (currently unused). It’s time to do a reset/check. I have
- Cloudflared off
- cloudflare subdomains reset to cnames on ddns
- pihole back on - otherwise my local links to nas etc are broken
- pihole local is cname myurl = ddns (ie nas)
- router 80/443 → nas
- 8123 → haos:8123
- on HA, Le’ts encrypt off, Duck DNS on
On synology reverse proxy I have
- myurl:443 → haos:8123
- ddns:8123 → haos:8123
I noticed when I forgot to put the myurl:443 → haos:8123 back on, I would get the retry screen
Unable to connect to Home Assistant.
Retrying in 15 seconds…
Internally:
Now if I access https://myurl it is fine (going thru pihole → reverse proxy)
https://ddns or https://ddns:443 redirects to ddns:50xx nas login (where’s this from?)
https://ddns:8123 takes me to HA login, I can login (going thru pihole → reverse proxy)
https://nas:8123 gives me
400 Bad Request
The plain HTTP request was sent to HTTPS portnginx
I guess this is expected, no reverse proxy entry for this
Externally:
https://myurl seems to work
https://ddns:8123 seems to work
https://nas:8123 times out
Does that initially seem like I’m good now?
The difference is then the Duck DNS addon. Why does that help the reverse proxy work, which isn’t even related to it?
FYI I had Duck DNS added to Synology’s ddns option as a custom provider. It worked and the Duck DNS site showed my ip.