URL broken?

So, at some point yesterday I stopped being able to access HA via the URL, my phone client stopped connecting, and some automations broke.

Attempting to troubleshoot it today, I see that in the CLI banner, “.local” has been appended to the URL… I don’t recall seeing that before.

My TAPO camera integration and MQTT broker updated recently, and I believe one of those required a system restart, which may have been when the change took effect. Restarting the core and rebooting the OS hasn’t fixed it.

I was able to get in to the webpage by using the IP address as opposed to the DNS name (which no longer matches). Under Settings/System/Network/Home Assistant URL, it has the correct URL (without the .local suffix) listed. Re-entering the same correct URL and saving does not fix it.

I attempted to change the URL in the CLI with “host options --hostname {correct URL}” to no avail. Despite the command completing, the banner still shows the incorrect URL.

Attempting to change the supervisor URL with “supervisor options --hostname {correct URL}” results in an error of: “Error: extra keys not allowed @ data[‘hostname’].”

Any thoughts? Thanks.

Well, to answer this, it was a certificate renewal failure. I had apparently managed to fat-finger a FW rule redirecting web traffic to port 80 for the auto-renewal.

So an issue of inadvertently shooting self in foot. Hope this helps someone else.

3 Likes