Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest combination of OS, Supervisor and Core is crashing #5584

Open
Cl3tus opened this issue Jan 28, 2025 · 2 comments
Open

Latest combination of OS, Supervisor and Core is crashing #5584

Cl3tus opened this issue Jan 28, 2025 · 2 comments
Labels

Comments

@Cl3tus
Copy link

Cl3tus commented Jan 28, 2025

Describe the issue you are experiencing

HA is unreachable several times a day. This is happening on bare-metal x64 hardware. I tried 3 different machines where 1 was completely different HW Wise. HA is only installed out of the box, no configurations are made yet its not stable. Going back to OS 13.2 and Core 2024.10 solved the crashes on the hardware.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

  1. Grab x86-x64 HW, (i used: nuc10i7fnh & HP Z2 Mini G9)
  2. Install HA OS via Ubuntu boot stick according to the Wiki
  3. Do the landingpage 1st setup and wait till HA crashes
    ...

Anything in the Supervisor logs that might be useful for us?

2025-01-28 08:49:01.685 INFO (MainThread) [supervisor.store] Loading add-ons from store: 80 all - 0 new - 0 remove
2025-01-28 08:49:01.685 INFO (MainThread) [supervisor.store] Loading add-ons from store: 80 all - 0 new - 0 remove
2025-01-28 08:50:59.613 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2025-01-28 08:50:59.614 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2025-01-28 08:50:59.614 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2025-01-28 08:50:59.614 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2025-01-28 08:50:59.615 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2025-01-28 08:50:59.615 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2025-01-28 08:50:59.615 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2025-01-28 08:50:59.616 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2025-01-28 08:50:59.616 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2025-01-28 08:50:59.624 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2025-01-28 08:50:59.625 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2025-01-28 08:50:59.625 INFO (MainThread) [supervisor.resolution.check] System checks complete
2025-01-28 08:50:59.625 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-01-28 08:50:59.667 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-01-28 08:50:59.667 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2025-01-28 08:50:59.667 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2025-01-28 09:16:22.881 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2025-01-28 09:28:55.341 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:29:45.341 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:29:45.341 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missed an Home Assistant Core API response.
2025-01-28 09:29:55.341 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:30:55.339 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:31:55.348 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:32:16.358 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:32:16.358 ERROR (MainThread) [supervisor.misc.tasks] Watchdog missed 2 Home Assistant Core API responses in a row. Restarting Home Assistant Core!
2025-01-28 09:32:16.360 INFO (SyncWorker_9) [supervisor.docker.manager] Restarting homeassistant
2025-01-28 09:32:55.346 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:33:55.346 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:34:55.346 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:35:55.368 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.
2025-01-28 09:36:19.487 WARNING (MainThread) [supervisor.homeassistant.websocket] Connection is closed
2025-01-28 09:36:19.487 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-228131' 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-28 09:36:19.487 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-228152' 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-28 09:36:19.488 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-228153' 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-28 09:36:19.673 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-01-28 09:36:21.040 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-01-28 09:36:21.067 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-01-28 09:36:24.686 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='RUNNING', offline_db_migration=False)
2025-01-28 09:36:24.686 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2025-01-28 09:41:54.195 INFO (MainThread) [supervisor.host.info] Updating local host information
2025-01-28 09:41:54.351 INFO (MainThread) [supervisor.host.services] Updating service information
2025-01-28 09:41:54.353 INFO (MainThread) [supervisor.host.network] Updating local network information
2025-01-28 09:41:54.378 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2025-01-28 09:41:54.381 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2025-01-28 09:46:24.764 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2025-01-28 09:50:59.672 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2025-01-28 09:50:59.673 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2025-01-28 09:50:59.674 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2025-01-28 09:50:59.674 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2025-01-28 09:50:59.675 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2025-01-28 09:50:59.736 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2025-01-28 09:50:59.737 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2025-01-28 09:50:59.737 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2025-01-28 09:50:59.738 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2025-01-28 09:50:59.745 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2025-01-28 09:50:59.746 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2025-01-28 09:50:59.746 INFO (MainThread) [supervisor.resolution.check] System checks complete
2025-01-28 09:50:59.747 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-01-28 09:50:59.798 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-01-28 09:50:59.799 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2025-01-28 09:50:59.799 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2025-01-28 10:16:25.005 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token

System Health information

System Information

version core-2025.1.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.1
os_name Linux
os_version 6.6.66-haos
arch x86_64
timezone Europe/Amsterdam
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.1
update_channel stable
supervisor_version supervisor-2024.12.3
agent_version 1.6.0
docker_version 27.2.0
disk_total 468.7 GB
disk_used 13.6 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0)
Dashboards
dashboards 2
resources 0
views 0
mode storage
Recorder
oldest_recorder_run 23 januari 2025 om 16:14
current_recorder_run 28 januari 2025 om 09:36
estimated_db_size 2.61 MiB
database_engine sqlite
database_version 3.47.1

Supervisor diagnostics

config_entry-hassio-01JJ9Z2NJ3W34BP3R20RJ09CVZ (1).json

Additional information

In the meantime i've did a full network reset (Unifi controller reset and switches) I've ruled out my Reverse Proxy. It's happening on OVA as well as Bare metal. And strangely on a clean install as well. On Proxmox i'm noticing memory going to 90%. A restart of HA takes a minimum of 5 minutes. Thinking that this is a timeout perhaps.

@Cl3tus Cl3tus added the bug label Jan 28, 2025
@Cl3tus
Copy link
Author

Cl3tus commented Jan 28, 2025

Image

@Cl3tus
Copy link
Author

Cl3tus commented Jan 28, 2025

Unfortunately the same with OS 14.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant