Hope someone can help me as my Home Assistant keeps going offline and not accessible. It seems to go offline very frequently…at least every hour. I am also starting to see long periods at night when the system is down and it comes back online around 6 or 7am.
I have two instances of home assistant running on my network both managing different sensors and one of them works perfectly.
I have looked through the logs and am seeing many “Home Assistant Core state change” and “Starting system autofix at state running” but I am at a loss whether these are issues or not.
In addition I am seeing error message
" AttributeError: 'NoneType' object has no attribute 'close'
2025-01-21 10:33:39.043 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-23595' coro=<HomeAssistantWebSocket.async_supervisor_event() done, defined at /usr/src/supervisor/supervisor/homeassistant/websocket.py:322> exception=AttributeError("'NoneType' object has no attribute 'close'")>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 267, in async_send_message
await self._client.async_send_command(message)
File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 95, in async_send_command
return await self._futures[message["id"]]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
supervisor.exceptions.HomeAssistantWSConnectionError: Connection was closed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 327, in async_supervisor_event
await self.async_send_message(
File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 269, in async_send_message
await self._client.close()
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'close'
2025-01-21 10:33:39.045 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/core/state: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]"
This IP address is the HASSIO docker.
Home assistant core is 2025.1.2
Supervisor is 2024.12.3
I am floundering and would welcome some direction to resolve!!