Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA on iPad stuck in infinitive loop requires shutdown of device #3321

Open
iemand-dev opened this issue Jan 9, 2025 · 2 comments
Open

HA on iPad stuck in infinitive loop requires shutdown of device #3321

iemand-dev opened this issue Jan 9, 2025 · 2 comments

Comments

@iemand-dev
Copy link

iemand-dev commented Jan 9, 2025

iOS device model, version and app version

Model Name: iPad Mini 6 gen
Software Version: iOS 18.2.1
App version: 2024.10.2 (2024.1058)

Home Assistant Core Version
2024.12.5

Describe the bug
When trying to open the HA app, it tries to authentication but seems stuck in an infinitive loop. The app constantly refreshes.
I'm unable to close the app (swiping from bottom to top) as the app constantly tries to refresh and makes the "launch bar" disappear. The only solution seems to be enforcing the iPad to shut down.

Uninstalling doesn't work, the issue re-appears when opening it again (and after setting up the permissions).
To illustrate the issue, I've uploaded the following video: https://youtu.be/snaER8aEEqU

I was eventually able to get out of this situation by opening the configuration > modifying the URL to something which is not HA (this stopped the constant refreshing) > Removing the server. Afterward the issue was gone once I reconfigured the server.
Removing the server straight away does not work as the constant refreshing prevents the action to be completed.

To Reproduce
This part is unsure to me. I haven't used the app for a long time. I'm guessing it will have something to do with my credentials having expired.

Expected behavior
That you see that the authentication expired / no longer valid and you can enter your credentials again.
That the app allows to be closed without enforcing a full shutdown of the device.

Screenshots
https://youtu.be/snaER8aEEqU

Additional context
As mentioned, I haven't used the app for a long period of time so very likely to be related to credentials.

@bgoncal
Copy link
Member

bgoncal commented Jan 9, 2025

I'm looking into this issue, it's similar to #3305
But just a heads up, in the video you deny the local access permission dialog, this is required to access your HA server locally.

CleanShot 2025-01-09 at 11 05 47@2x

@iemand-dev
Copy link
Author

iemand-dev commented Jan 9, 2025

Thank you for your reply @bgoncal

The issue seems to indeed be very similar (if not the same) as #3305
I took the assumption that it was due to expired credentials (and kept retrying) as the issue disappeared when I managed to remove the server and add it again while the other ticket is successfully authenticated in HA.
Could therefore be unrelated to credentials, but the developers will probably know more.

Although I didn't allow the app local network access, after removing/adding the server again it works fine. I do have to manually enter the URL of my server (but that is only a minor and one-off inconvenience).
Even if this would be related, the app of course should not do such annoying behavior. I wasn't under the impression that I couldn't close the app except by shutting down my iPad. Only later I found out that I can still press the ... at the top in the middle to close it or going to setting (by rapidly tapping the screen until 1 tap is registered) and remove the server.
I assume not many people will figure it out or find this behavior pleasant ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants