I’m having an issue in my Home Assistant OS running on nuc. Where I gets stuck on the authentication screen when accessed via its local IP address: http://192.168.68.74:8123. It remains stuck at the following URL:
The same instance works perfectly when accessed via the .local hostname (http://homeassistant.local:8123) or via the external URL through Nabu Casa.
Steps I’ve Taken to Resolve the Issue
Cleared Browser Cache:
Tried accessing HA in incognito/private mode and cleared the browser cache. The issue persists across multiple browsers (Chrome, Edge, Safari) and devices.
Checked Network Configuration:
Verified that the local IP address (192.168.68.74) is correct and reachable. I can ping it successfully from other devices.
No firewall is blocking access, and all devices are on the same local network.
Safe Mode Restart:
Restarted HA in safe mode to disable all custom integrations and components. However, the issue persists even in safe mode.
5.Reviewed Logs:
Checked HA logs but didn’t find anything directly related to this issue.
I noticed unrelated warnings from custom integrations like tplink_easy_smart, frigate, and moonraker, but these integrations were disabled in safe mode.
Rebuilt HA Core:
Rebuilt HA core using the command ha core rebuild, but the problem remains.
Checked and Configured Internal URL:
Verified that the internal_url in configuration.yaml is set correctly:
I’ve exhausted the troubleshooting steps I could find. HA remains stuck at the /auth/authorize page when accessed via http://192.168.68.74:8123. This issue started after I restored HA from a full backup.
Questions for the Community
Has anyone encountered a similar issue where HA gets stuck at the /auth/authorize page via a local IP address?
Could this be related to the TP-Link switch or Deco X60 configuration (e.g., QoS or multicast settings)?
Are there any additional debugging steps or configurations I should try to resolve this?
Any insights or guidance would be greatly appreciated. Thank you in advance for your help!
thank you for your replay
1/ ipv6 disabled - tested same result
the rest apply for setting up the network for the VM which not applied in my case
as I’m running HA OS directly on the NUC
2/Yes the IP is reserved for the HA OS from router
What IP is resolved when you ping nuchomeassistant.local ?
Ping statistics for fe80::416d:ca76:f70:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Have you tried clearing your browsers cache (or tried incognito/inprivate mode)?
Yes tried both and no luck the same issue , loading and stuck on loading
Ok that means the difference is when you use by name you’re getting name resolution and connecting by IPV6 (the fe80 is a link local ipv6)
But when you connect using the IPV4 address you get something different.
Something is jacked up on the IPV4 side of your network. Most ping commands have a method to force ping over IPV4. Do ping /? Figure out that command and run it against the same host. It should try an IPV4 address. Let us know what happens
Pinging nuchomeassistant.local [192.168.68.74] with 32 bytes of data:
Reply from 192.168.68.74: bytes=32 time<1ms TTL=63
Reply from 192.168.68.74: bytes=32 time<1ms TTL=63
Reply from 192.168.68.74: bytes=32 time=1ms TTL=63
Reply from 192.168.68.74: bytes=32 time<1ms TTL=63
Ping statistics for 192.168.68.74:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
Hi, thanks for the suggestion! Here are the steps I followed to test the ping for both IPv4 and hostname:
Ping by Hostname (nuchomeassistant.local):
ping nuchomeassistant.local
This successfully resolved to the IPv6 address (fe80::xxxx) and returned responses without any issues.
Ping by IPv4 Address (192.168.68.74):
I forced the ping to use IPv4 with:
ping -4 192.168.68.74
The ping to the IPv4 address also worked perfectly, with consistent replies.
Result:
Both the hostname and IPv4 address are reachable, and there doesn’t appear to be any connectivity issue at the network level.
Since the pings are working fine, it seems the issue might be more related to how Home Assistant handles requests via the local IPv4 address. Let me know if you have any further suggestions or insights into what could be causing the issue. Thanks again for your help!