core: History breaks every day at 4 am
The problem
After updating to 2024.7.1 the history for all entities breaks at 4 am. I get it working again after fully restarting HA.
The only thing I can find even close to that hour in the logs is:
2024-07-08 03:46:05.409 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message:
Invalid method encountered:
b'\x03'
^
But I really don’t think this is related. Is there a way to check what job runs at that time and see if that fails?
What version of Home Assistant Core has the issue?
core-2024.7.1
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 24 (3 by maintainers)
Yeah, auto_purge=true is working at 4:12am local That could explain different GMT zones having the problem at the same local time.
Same for me, without any errors in the logs at that time.