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

Home Assistant app on iPad freezes daily at random times #3222

Open
hapklaar opened this issue Dec 2, 2024 · 14 comments
Open

Home Assistant app on iPad freezes daily at random times #3222

hapklaar opened this issue Dec 2, 2024 · 14 comments

Comments

@hapklaar
Copy link

hapklaar commented Dec 2, 2024

iOS device model, version and app version

Model Name: iPad Air (5th gen)
Software Version: iPadOS 18.1.1
App version: 2024.11 (2024.978)

Home Assistant Core Version

2024.11.3
Describe the bug
For me the app crashes or rather freezes regularly, but only after a day of running or so. I use it as a permanent-on device in a dock on my desk.

Most of the time in the form of a black screen, with just the yellow cogwheel on the bottom. Always unresponsive. I have to force quit the app and restart to get it going again.

To Reproduce
Cannot reproduce on demand, happens after some time after starting
Expected behavior
No freeze/crash
Screenshots

Additional context

I think it only happens on a particular home screen I have defined, but am not sure.
Previously reported in #2810
Logs have been uploaded to the requested location. Last occurrence of freeze I noticed at 16:49, after which I restarted the app

@dmkjr
Copy link

dmkjr commented Dec 2, 2024

I, too, am experiencing a similar problem. But not necessarily on an iPad. Mostly on my iphone 16 Pro Max. I chalked it up to potential 18.2 beta. But it was happening even. before then.

@bgoncal
Copy link
Member

bgoncal commented Dec 3, 2024

Can you try on the latest testflight build?

@hapklaar
Copy link
Author

hapklaar commented Dec 3, 2024

Nice, did you already find something? Updating now to 2024.1006, will report back.

@bgoncal
Copy link
Member

bgoncal commented Dec 3, 2024

Not specific for your case but for the last weeks I've been fixing some performance issues, so let's start debugging from this latest version.

@hapklaar
Copy link
Author

hapklaar commented Dec 5, 2024

Just froze again. Exported and submitted new logs!

@bgoncal
Copy link
Member

bgoncal commented Dec 6, 2024

Do you know exactly what time did it happen? It worth trying as well with the testflight release I made available yesterday, I removed some realtime state subscription that will make it less CPU intensive.

@hapklaar
Copy link
Author

hapklaar commented Dec 6, 2024

I don't know exactly when it happened. I saw it was frozen on black screen with 2 partial graphs and the yellow cogwheel at 18:22. Then force closed the app and restarted at 18:23.

Just updated the app to 2024.1022 and will keep monitoring.

@bgoncal
Copy link
Member

bgoncal commented Dec 6, 2024

Is the cogwheel tappable? Because if it is then the app is not frozen, just the home assistant frontend itself that lost it's connection for some reason

@hapklaar
Copy link
Author

hapklaar commented Dec 6, 2024

No it's totally frozen

@hapklaar
Copy link
Author

@bgoncal Today I saw the issue happening at 13:12, made a little video after this. This time the yellow cogwheel was responding. Not sure if I just remember incorrectly from before or it behaves different now or maybe it becomes unresponsive after a little while.

I uploaded the logs and also the video to my google drive. I will share this with you specifically. Hope it brings some light to the situation

Logs: https://drive.google.com/file/d/1urs7IhY58FZr03nR8HpaF7lohwmcuOnU/view?usp=drive_link
Vid: Sent a link to your email address

@bgoncal
Copy link
Member

bgoncal commented Dec 13, 2024

I'll check your logs next week, please remove your logs from this thread since it contains personal information.

Also, can you try App Store version 2024.12.1? (Released yesterday)

@hapklaar
Copy link
Author

Should be good, the file was only shared with you. Happened with app version 2024.12.1

@hapklaar
Copy link
Author

fyi: Happened two more times, both times I could bring up the menu with the yellow cogwheel. In Settings I noticed 'WebSocket' had status Connecting.
Quitting and restarting the app always fixes it.

@bgoncal
Copy link
Member

bgoncal commented Dec 16, 2024

I couldn't find anything relevant for a freeze/crash in your logs, I left my iPad ON since last friday and it is all good. Can you try 2 things for me?

1 - Instead of the App, leave the home assistant open in your iPad Safari browser until it freezes (or not)
2 - Then try with 2024.12.2 app version (it will become available tomorrow probably)

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

3 participants