core: HA stop working correctly or is to slow (automations doesn't work, HACS, etc)
The problem
Hi. Suddenly, I noticed that HA doesn’t run automations, like telegram messages. And when I try to check it, I can’t enter on some sections through web interface and Android app
By example, “config verification” doesn’t finish:

HACS appears on a blank page, When I try to disable some integrations is very slow, but after a while I can do that.
To sum up, HA isn’t working correctly in general, but I don’t know what is the problem.
If I restart container, everything works ok, but only for a while.
What version of Home Assistant Core has the issue?
2022.9.1
What was the last working version of Home Assistant Core?
2022.9.0
What type of installation are you running?
Home Assistant Container
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2022-09-11 00:33:59.340 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/v8/__init__.py", line 51, in pre_permit
await self.setPolicy(
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
Logger: homeassistant.components.homeassistant_alerts
Source: helpers/update_coordinator.py:151
Integration: Home Assistant Alerts (documentation, issues)
First occurred: 03:30:26 (1 occurrences)
Last logged: 03:30:26
Timeout fetching homeassistant_alerts data
2022-09-11 10:48:31.798 WARNING (MainThread) [bluetooth_auto_recovery.recover] Reset of hci0 timed out after 10!
2022-09-11 10:48:31.997 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:48:32.867 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:48:33.293 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:48:58.827 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:49:01.998 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:49:02.868 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:49:03.294 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:49:28.137 WARNING (MainThread) [homeassistant.components.sensor] Updating command_line sensor took longer than the scheduled update interval 0:01:00
2022-09-11 10:49:28.828 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:49:31.999 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:49:32.868 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:49:33.296 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:49:58.829 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:50:02.000 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:50:02.869 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:50:03.297 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:50:28.138 WARNING (MainThread) [homeassistant.components.sensor] Updating command_line sensor took longer than the scheduled update interval 0:01:00
2022-09-11 10:50:28.829 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:50:32.001 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:50:32.870 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:50:33.298 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:50:36.673 ERROR (MainThread) [custom_components.hacs] Timeout of 20 reached while waiting for https://api.github.com/rate_limit
Traceback (most recent call last):
File "/config/custom_components/hacs/base.py", line 449, in async_can_update
response = await self.async_github_api_method(self.githubapi.rate_limit)
File "/config/custom_components/hacs/base.py", line 503, in async_github_api_method
raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: Timeout of 20 reached while waiting for https://api.github.com/rate_limit
2022-09-11 10:50:58.830 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:51:01.798 WARNING (MainThread) [bluetooth_auto_recovery.recover] Reset of hci0 timed out after 10!
2022-09-11 10:51:02.001 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:51:02.872 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:51:03.299 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:51:28.139 WARNING (MainThread) [homeassistant.components.sensor] Updating command_line sensor took longer than the scheduled update interval 0:01:00
2022-09-11 10:51:28.831 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:51:32.002 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:51:32.873 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:51:33.300 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:51:58.832 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:52:02.002 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:52:02.874 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:52:03.300 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:52:28.140 WARNING (MainThread) [homeassistant.components.sensor] Updating command_line sensor took longer than the scheduled update interval 0:01:00
2022-09-11 10:52:28.834 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:52:32.003 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:52:32.876 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:52:33.301 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:52:58.834 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:53:02.004 WARNING (MainThread) [homeassistant.components.switch] Updating sonos switch took longer than the scheduled update interval 0:00:30
2022-09-11 10:53:02.877 WARNING (MainThread) [homeassistant.components.light] Updating xiaomi_miot light took longer than the scheduled update interval 0:00:30
2022-09-11 10:53:03.301 WARNING (MainThread) [homeassistant.components.number] Updating xiaomi_miot number took longer than the scheduled update interval 0:00:30
2022-09-11 10:53:28.141 WARNING (MainThread) [homeassistant.components.sensor] Updating command_line sensor took longer than the scheduled update interval 0:01:00
2022-09-11 10:53:28.836 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating rpi_power binary_sensor took longer than the scheduled update interval 0:00:30
2022-09-11 10:36:36.673 ERROR (MainThread) [aiohttp.server] Error handling request
2022-09-11 10:36:36.678 ERROR (MainThread) [aiohttp.server] Error handling request
2022-09-11 10:36:36.682 ERROR (MainThread) [aiohttp.server] Error handling request
2022-09-11 10:36:36.687 ERROR (MainThread) [aiohttp.server] Error handling request
2022-09-11 11:10:36.183 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [2445872912] Disconnected: Did not receive auth message within 10 seconds
2022-09-11 11:10:36.673 ERROR (MainThread) [custom_components.hacs] Timeout of 20 reached while waiting for https://api.github.com/rate_limit
Traceback (most recent call last):
File "/config/custom_components/hacs/base.py", line 449, in async_can_update
response = await self.async_github_api_method(self.githubapi.rate_limit)
File "/config/custom_components/hacs/base.py", line 503, in async_github_api_method
raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: Timeout of 20 reached while waiting for https://api.github.com/rate_limit
2022-09-11 11:10:47.215 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [2553953704] Disconnected: Did not receive auth message within 10 seconds
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 36 (16 by maintainers)
I’m 90% sure I found the cause and fixed it in https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/pull/12