Closed rccoleman closed 1 year ago
Hey there @natekspencer, @tkdrob, mind taking a look at this issue as it has been labeled with an integration (litterrobot
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
litterrobot documentation litterrobot source (message by IssueLinks)
Just checked out the pylitterbot lib and I am suspecting this is because a new event emitter is ran inside of the _lock
, locking up the complete client session it received from HA.
I manually downgraded to 2023.4.5 yesterday and haven't seen a lockup since, so I think this will resolve the issue until the other PR is ready. Thanks!
The problem
Ever since updating to the 2023.10.0 beta, my HA frontend has been freezing regularly (maybe 7 times in the last few days). It will be accessible one minute, and then it just becomes inaccessible at some point afterward. The REST interface also freezes, and I just stop getting any info-level logs in the HA log following the point of the freeze. I'm using a container install and can still access the machine that HA is running on and shell into the container to see the normal running processes.
I enabled debug logging and have twice seen a pattern of pylitterrobot making a POST request immediately preceding the freeze:
2023-09-30 21:58:53.469 DEBUG (MainThread) [pylitterbot.session] Making POST request to https://securetoken.googleapis.com/v1/token
After that, I still see paho/MQTT responding with reports for ESPresence, the aarlo custom component, wirelesstags, and pychromecast, but nothing when I try to access the HA web interface or anything from the integrations that were logging immediately before that message. Restarting the HA container gets HA up and running properly again.
I've disabled the LitterRobot integration now to see if it reproduces without it.
What version of Home Assistant Core has the issue?
core-2023.10.0b3
What was the last working version of Home Assistant Core?
core-2023.09.3
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Litter Robot
Link to integration documentation on our website
https://www.home-assistant.io/integrations/litterrobot/
Diagnostics information
I've temporarily disabled the Litter Robot integration to see if I can reproduce the hang without it, and I can't grab the diagnostics data once the hang has happened.
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response