iPhone keeps logging out of users HA when closed

My wife is listed as a user. She has an iPhone SE 2020. Every time she closes the app or leaves home she gets logged out of HA. When she logs back in she receives an error message saying she’s unauthenticated. I had her login using my credentials and has the same issue. So I think it’s specific to her phone (I use Android).

This comes from the log:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:315
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 3:03:41 PM (1 occurrences)
Last logged: 3:03:41 PM

[281472648694944] Error handling message: Unauthorized (unauthorized) Brenda from 192.168.1.114 (Mozilla/5.0 (iPhone; CPU iPhone 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; iOS 18.2.0) Mobile/HomeAssistant, like Safari)

I have also been receiving other errors regularly. I don’t know if the two are related.

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:136
integration: HTTP (documentation, issues)
First occurred: 2:26:20 PM (171 occurrences)
Last logged: 3:03:33 PM

Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: ‘/auth/token’. (HomeAssistant-Extensions-PushProvider/2024.12.2 (io.robbie.HomeAssistant.PushProvider; build:2024.1058; iOS 18.2.0) Alamofire/5.8.0)
Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: ‘/auth/token’. (Home Assistant/2024.12.2 (io.robbie.HomeAssistant; build:2024.1058; iOS 18.2.0) Alamofire/5.8.0)

Any ideas for this newbie?

1 Like

Same here.

Logger: homeassistant.components.http.ban
Bron: components/http/ban.py:136
integratie: HTTP (documentatie, problemen)
Eerst voorgekomen: 06:51:47 (1 gebeurtenissen)
Laatst gelogd: 06:51:47

Login attempt or request with invalid authentication from x.x.x.x. Requested URL: ‘/api/websocket’. (Home Assistant/2024.12.2 (io.robbie.HomeAssistant; build:2024.1058; iOS 18.2.0))