My am using my on personal domain, not duckdns or nabucasa subscription to connect to HA remotely, previously it was working fine, but not sure what changed this has completely stopped working.
Now if i go to ha.mydomain.com i get the option for user/pass after inputting the user/pass i get this error below.
Unable to connect to Home Assistant.
a countdown timer to retry.
I have enabled websockets in NPM, still no luck. All my other apps are working fine with Cloudflared generated SSL certs.
I tried cloudflared, caddy and npm i get the same error again and again, is there something I need to enable within HA or HA configuration.yaml or any other file for external domain to work?
Did you change anything on your router? Is your HomeAssistant device allocated a static IP Address from DHCP on your router? Any port forwarding rules in place?
I have a static IP from my ISP and use a Unifi UDM-SE as my home router, which handles DHCP. If a firewall or policy blocked the IP or ports, I shouldn’t even see the login page, right? But the login page appears, and the “Unable to connect to Home Assistant.” message only shows after I attempt to log in.
Hey, I have the exact same issue. I used cloudflare with nabucasa cloud subscription. Sometimes it works, and I can use the custom domain but, most of the time it doesn’t work. Please let me know fi you have any fixes and I will do the same
Tried several different browsers, both in pvt in edge, in incognito in chrome and also in safari, result is the same. both on off network, and on the network.
Restart your router if you haven’t tried that already. You’ll be surprised by how many times routers can “hang up” due to some anomaly in their cache.
I changed the IP address, provided a different dns, changed the fqdn for remote url, added all the details differently for the cloudflared tunnel, still the same error. is there some settings within HA that could be causing this?
The issue was NOT with Home Assistant or the Cloudflare Tunnel configuration. The problem was a Cloudflare Worker route pattern that was intercepting ALL requests to the domain.