Hi
Here is the problem. We have few iPads running the HA companion app. At first we were using a unique HA account for all iPads. They were being kicked out all the time (disconnected from HA stating that credentials were refused by HA).
We have created one user account per ipad and we still have exact same problem. I get a popup in HA companion app stating credentials refused and I have to login again
The app is basically unusable on iPads due to that. Any ideas what’s the problem ? Nothing fancy in network (Unifi based). Tested with iPads in DHCP or fixed IP address in DHCP, no change. Ipads are in current iOs release.
Logs of HA when an iPad is kicked out:
Logger: homeassistant.components.http.ban
Source: components/http/ban.py:80
Integration: HTTP (documentation, issues)
First occurred: March 28, 2023 at 09:39:18 (362 occurrences)
Last logged: 11:27:29Login attempt or request with invalid authentication from IPadMasrBedroom.localdomain (172.16.2.28). Requested URL: ‘/auth/login_flow/ff8d784a008878fdc30f510b1673236f’. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko))
Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: ‘/auth/token’. (HomeAssistant-Extensions-PushProvider/2023.2 (io.robbie.HomeAssistant.PushProvider; build:2023.444; iOS 16.4.0) Alamofire/5.6.2)
Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: ‘/api/websocket’. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.2 (io.robbie.HomeAssistant; build:2023.444; iPadOS 16.4.0) Mobile/HomeAssistant, like Safari)
Login attempt or request with invalid authentication from IPadPriteLounge.localdomain (172.16.2.27). Requested URL: ‘/api/websocket’. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.2 (io.robbie.HomeAssistant; build:2023.444; iPadOS 16.4.0) Mobile/HomeAssistant, like Safari)
Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: ‘/auth/token’. (Home Assistant/2023.2 (io.robbie.HomeAssistant; build:2023.444; iOS 16.4.0) Alamofire/5.6.2)
Not sure what to test else to find out what is the problem
Thanks
Vincèn