iPad login issues only on local network

I’m trying to diagnose some iPad login issues with the app. I get the “loading data” spinning circle, and then “retry in …”. I’ve tried :

Delete the app, and reinstall.
Delete the server on the app, and re-add.
Delete the iPad in the user config.
All the Reset options in the app config - debug area.

The only logs I can find that might be relevant are some WebSocket ones :

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:521
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:37:36 PM (11 occurrences)
Last logged: 12:46:40 PM

  • [281472838365344] from 192.168.2.12 (Mozilla/5.0 (iPad; CPU OS 18_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2024.12.2 (io.robbie.HomeAssistant; build:2024.1058; iPadOS 18.2.0) Mobile/HomeAssistant, like Safari): Disconnected: Did not receive auth message within 10 seconds

But I also see this and can’t explain it :

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:537
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:28:49 PM (3 occurrences)
Last logged: 12:44:00 PM

  • [281472885958416] Error handling message: Unknown error (unknown_error) Nicholas Orr from 192.168.2.126 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Safari/605.1.15)
  • [281472859984448] Error handling message: Unknown error (unknown_error) Nicholas Orr from 192.168.2.126 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Safari/605.1.15)
  • [281473571069888] Error handling message: Unknown error (unknown_error) Nicholas Orr from 192.168.2.126 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Safari/605.1.15)

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py”, line 28, in _handle_async_response await func(hass, connection, msg) File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 537, in handle_manifest_list raise int_or_exc homeassistant.loader.IntegrationNotFound: Integration ‘smartlife’ not found.

I don’t have the “smartlife” integration installed, although I used to. I can’t find any reference to smartlife anywhere any more ( I did a backup, and downloaded and searched the whole thing ).

Both the app, and the browser can’t login via any local ip or localdomain, but can via the remote domain.

So if I remove the wifi SSID it works and connects straight away, but add it back in and it breaks again ( obviously connecting via local and not remote ).

I’m on a unifi wifi network, and have ipv4 and v6 enabled, and can adjust configs in there if needed, but nothing I’ve found seems to be the issue.

Browsers on my Mac connect just fine to local IP and domain. iPad safari does not.

Any ideas of where to start?

Thanks,
Nick

Another weird followup with errors about things that don’t exist. I restarted and had this error in the logs :

Error while processing template: Template<template=(ha-card { background: {% if states('sensor.energy_cost')|float <= 0.2 %} lightgreen; {% elif states('sensor.energy_cost')|float <= 0.4 %} green; {% elif states('sensor.energy_cost')|float <= 0.5 %} gold; {% elif states('sensor.energy_cost')|float <= 0.6 %} orange; {% elif states('sensor.energy_cost')|float <= 0.8 %} orangered; {% elif states('sensor.energy_cost')|float <= 1 %} firebrick; {% else %} darkred {% endif %} }) renders=2>

In short, I found that code on the one and only dashboard and changed it. But then when I restart again, the error still comes up. New timestamp, so it’s not an old log item.

But that code does not exist anywhere any more… So where is it coming from? Is there some caching going on? Or is this an issue that the log is wrong?

Followup on this for anyone interested : it just started working the day after I posted this. Didn’t change anything between it not working when I posted, left everything alone and then the next day, all good.

And has worked perfectly since.

But I can’t explain the followup template error still, will keep looking.