Home Assistant Crashes and Freezes

Hello Dear Community,

I think since December 2024 / till now i’ve been plagued with frequent inaccessibility of Home Assistant. I’ve gone in great lengths to isolate the issue but i couldn’t find any anymore.

Upon investigating the logs i see that there is a timeout on call http://172.30.32.1:8123/api/core/state

I’ve tested HA now on 3 different pieces of HW, all of them are x64 based.
2x Intel nuc10i7fnh (10th Gen i7 CPU, Latest BIOS, 64GB Memory, 4TB HDD)
1x HP Z2 Mini G9 (13th Gen i7 CPU, Latest BIOS, 32GB Memory, 512GB HDD)

  • Core2025.1.3
  • Supervisor2024.12.3
  • Operating System14.1
  • Frontend20250109.0

I will pipe the logs after my troubleshooting steps, the logs come from the HP box, that is completely fresh and with nothing installed and no configuration done other than the landing page. And then disabling default out of the box Bluetooth, Thread, Matter, Google Cast. It’s really empty.

At first i thought the Hardware was the issue. So i replaced the hardware completely. This didn’t solve the issue. Then i thought it might be in my network. In my unifi controller i don’t see any disconnects, and whilst i was at it i’ve resetted all my switches, AP and USG Pro with a factory reset and setting up a new controller from scratch. The issues still persisted. Then i grabbed another piece of hardware pretty newer than the other one as means of test. Installed the latest Hass OS on it via Ubuntu USB. Booted into it, removed all default integrations so that Home Assistant is completely running naked and still i was plagued by this issue? I have no clue anymore. Is there something wrong in the OS? SuperVisor? Core? The naked install of HA also takes 5 minutes to reload the docker, like it is timeing out on something in the backend. Please if anyone has any idea, and i’m happy to gather more logs from the naked fresh HA install.

Thank you!
Supervisor Log:

[32m2025-01-23 19:48:19.137 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state runninge[0m
e[32m2025-01-23 19:48:19.137 INFO (MainThread) [supervisor.resolution.fixup] System autofix completee[0m
e[32m2025-01-23 19:48:24.908 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m
e[32m2025-01-23 19:55:04.019 INFO (MainThread) [supervisor.host.info] Updating local host informatione[0m
e[32m2025-01-23 19:55:04.164 INFO (MainThread) [supervisor.host.services] Updating service informatione[0m
e[32m2025-01-23 19:55:04.166 INFO (MainThread) [supervisor.host.network] Updating local network informatione[0m
e[32m2025-01-23 19:55:04.189 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio informatione[0m
e[32m2025-01-23 19:55:04.191 INFO (MainThread) [supervisor.host.manager] Host information reload completede[0m
e[32m2025-01-23 20:18:25.089 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m
e[32m2025-01-23 20:48:19.142 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state runninge[0m
e[32m2025-01-23 20:48:19.142 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/coree[0m
e[32m2025-01-23 20:48:19.143 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/systeme[0m
e[32m2025-01-23 20:48:19.143 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/systeme[0m
e[32m2025-01-23 20:48:19.143 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_servere[0m
e[32m2025-01-23 20:48:19.220 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/systeme[0m
e[32m2025-01-23 20:48:19.220 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addone[0m
e[32m2025-01-23 20:48:19.220 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/systeme[0m
e[32m2025-01-23 20:48:19.221 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisore[0m
e[32m2025-01-23 20:48:19.228 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_servere[0m
e[32m2025-01-23 20:48:19.228 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/systeme[0m
e[32m2025-01-23 20:48:19.229 INFO (MainThread) [supervisor.resolution.check] System checks completee[0m
e[32m2025-01-23 20:48:19.229 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state runninge[0m
e[32m2025-01-23 20:48:19.282 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation completee[0m
e[32m2025-01-23 20:48:19.282 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state runninge[0m
e[32m2025-01-23 20:48:19.282 INFO (MainThread) [supervisor.resolution.fixup] System autofix completee[0m
e[32m2025-01-23 20:48:24.015 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repositorye[0m
e[32m2025-01-23 20:48:24.021 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/music-assistant/home-assistant-addon repositorye[0m
e[32m2025-01-23 20:48:24.026 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repositorye[0m
e[32m2025-01-23 20:48:24.027 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repositorye[0m
e[32m2025-01-23 20:48:24.706 INFO (MainThread) [supervisor.store] Loading add-ons from store: 80 all - 0 new - 0 removee[0m
e[32m2025-01-23 20:48:24.706 INFO (MainThread) [supervisor.store] Loading add-ons from store: 80 all - 0 new - 0 removee[0m
e[32m2025-01-23 20:48:25.239 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m
e[31m2025-01-23 21:04:55.368 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m
e[33m2025-01-23 21:04:55.368 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missed an Home Assistant Core API response.e[0m
e[31m2025-01-23 21:07:26.368 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m
e[31m2025-01-23 21:07:26.368 ERROR (MainThread) [supervisor.misc.tasks] Watchdog missed 2 Home Assistant Core API responses in a row. Restarting Home Assistant Core!e[0m
e[32m2025-01-23 21:07:26.370 INFO (SyncWorker_3) [supervisor.docker.manager] Restarting homeassistante[0m
e[33m2025-01-23 21:11:29.549 WARNING (MainThread) [supervisor.homeassistant.websocket] Connection is closede[0m
e[31m2025-01-23 21:11:29.549 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-3471' 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'e[0m
e[32m2025-01-23 21:11:29.739 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is readye[0m
e[32m2025-01-23 21:11:31.158 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state runninge[0m
e[32m2025-01-23 21:11:31.184 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation completee[0m
e[32m2025-01-23 21:11:34.752 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='RUNNING', offline_db_migration=False)e[0m
e[32m2025-01-23 21:11:34.753 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instancee[0m
e[32m2025-01-23 21:19:34.834 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m
e[32m2025-01-23 21:48:19.287 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state runninge[0m
e[32m2025-01-23 21:48:19.287 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/coree[0m
e[32m2025-01-23 21:48:19.288 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/systeme[0m
e[32m2025-01-23 21:48:19.288 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/systeme[0m
e[32m2025-01-23 21:48:19.289 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_servere[0m
e[32m2025-01-23 21:48:19.352 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/systeme[0m
e[32m2025-01-23 21:48:19.353 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addone[0m
e[32m2025-01-23 21:48:19.353 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/systeme[0m
e[32m2025-01-23 21:48:19.353 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisore[0m
e[32m2025-01-23 21:48:19.360 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_servere[0m
e[32m2025-01-23 21:48:19.361 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/systeme[0m
e[32m2025-01-23 21:48:19.361 INFO (MainThread) [supervisor.resolution.check] System checks completee[0m
e[32m2025-01-23 21:48:19.361 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state runninge[0m
e[32m2025-01-23 21:48:19.419 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation completee[0m
e[32m2025-01-23 21:48:19.420 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state runninge[0m
e[32m2025-01-23 21:48:19.420 INFO (MainThread) [supervisor.resolution.fixup] System autofix completee[0m
e[32m2025-01-23 21:49:35.197 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m
e[32m2025-01-23 22:01:44.202 INFO (MainThread) [supervisor.host.info] Updating local host informatione[0m
e[32m2025-01-23 22:01:44.348 INFO (MainThread) [supervisor.host.services] Updating service informatione[0m
e[32m2025-01-23 22:01:44.351 INFO (MainThread) [supervisor.host.network] Updating local network informatione[0m
e[32m2025-01-23 22:01:44.372 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio informatione[0m
e[32m2025-01-23 22:01:44.375 INFO (MainThread) [supervisor.host.manager] Host information reload completede[0m
e[32m2025-01-23 22:19:35.557 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m

The watchdog is not seeing HA running and therefore restarting HA.
Why it does not see HA running is the question, but there is another thread also about it here, which is a HA Green, so a completely different hardware again.

If you did not move the storage media between the hardware, then I suspect a bug in HAOS and you should maybe coordiante with the user of the other thread on making a bug report.

EDIT: It might be this issue:

Thank you WallyR! I found these threads as well but i dont see any real traction. I will try to coordinate with the others in getting this fixed. I’ve gone in great lengths to find the issue. Storage did not move between the hardware, (tried 4 different SSD’s)

I have same issue with official HW Home Assistant Green
Core: 2025.1.3
Supervisor: 2024.12.3
Operating System: 14.1
Frontend: 20250109.0

either with

Core: 2025.1.4
Supervisor: 2024.12.3
Operating System: 14.2
Frontend: 20250109.2

It is kinda common to not see traction in HA core issues.
There are so many issues and responses that trying to reply and be active in them will kill the time for actually solving the issue.
You might actually at some time the bot closing your issue, due to it being stale.

You might suddenly get an update to code and then your problem is fixed.
What is important here is to provide as much info as possible with as much testing as possible, because that makes it easier for the devs to actually understand the situation and maybe also see the reason, so they are more likely to solve it faster, simply because it is an easier problem to handle.

Looks solved with 2025.2.1

Jep, Core 2025.2.1 holds Eheim integration 1.0.6 which has the fix for this issue.