HA Suddenly dead

Suddenly all was dead… I got:

Home Assistant observer
Supervisor:	Disconnected
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
[20:27:14] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
[20:27:14] INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started
2025-05-12 20:27:14.984 INFO (MainThread) [__main__] Initializing Supervisor setup
2025-05-12 20:27:15.035 INFO (MainThread) [supervisor.coresys] Setting up coresys for machine: qemux86-64
2025-05-12 22:27:15.037 INFO (MainThread) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/amd64-hassio-supervisor with version 2025.05.0
2025-05-12 22:27:15.037 INFO (MainThread) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
2025-05-12 22:27:15.071 INFO (SyncWorker_2) [supervisor.docker.manager] Cleanup images: ['ghcr.io/home-assistant/amd64-hassio-supervisor:2025.04.1']
2025-05-12 22:27:15.418 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state initialize
2025-05-12 22:27:15.419 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-05-12 22:27:15.420 INFO (MainThread) [__main__] Setting up Supervisor
Traceback (most recent call last):
  File "", line 198, in _run_module_as_main
  File "", line 88, in _run_code
  File "/usr/src/supervisor/supervisor/__main__.py", line 67, in 
    loop.run_until_complete(coresys.core.setup())
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/usr/src/supervisor/supervisor/core.py", line 138, in setup
    await self.coresys.init_websession()
  File "/usr/src/supervisor/supervisor/coresys.py", line 124, in init_websession
    resolver = aiohttp.AsyncResolver()
  File "/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py", line 96, in __init__
    self._resolver = aiodns.DNSResolver(*args, **kwargs)
                     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiodns/__init__.py", line 67, in __init__
    self._channel = pycares.Channel(event_thread=True,
                    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
                                    timeout=timeout,
                                    ^^^^^^^^^^^^^^^^
                                    **kwargs)
                                    ^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/pycares/__init__.py", line 422, in __init__
    raise AresError('Failed to initialize c-ares channel')
pycares.AresError: Failed to initialize c-ares channel
[20:27:15] WARNING: Halt Supervisor
[20:27:15] INFO: Supervisor restart after closing
s6-rc: info: service legacy-services: stopping
[20:27:15] INFO: Watchdog restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
[20:27:24] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
[20:27:24] INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started
2025-05-12 20:27:24.528 INFO (MainThread) [__main__] Initializing Supervisor setup
2025-05-12 20:27:24.559 INFO (MainThread) [supervisor.coresys] Setting up coresys for machine: qemux86-64
2025-05-12 22:27:24.561 INFO (MainThread) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/amd64-hassio-supervisor with version 2025.05.0
2025-05-12 22:27:24.570 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state initialize
2025-05-12 22:27:24.571 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-05-12 22:27:24.571 INFO (MainThread) [__main__] Setting up Supervisor
Traceback (most recent call last):
  File "", line 198, in _run_module_as_main
  File "", line 88, in _run_code
  File "/usr/src/supervisor/supervisor/__main__.py", line 67, in 
    loop.run_until_complete(coresys.core.setup())
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/usr/src/supervisor/supervisor/core.py", line 138, in setup
    await self.coresys.init_websession()
  File "/usr/src/supervisor/supervisor/coresys.py", line 124, in init_websession
    resolver = aiohttp.AsyncResolver()
  File "/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py", line 96, in __init__
    self._resolver = aiodns.DNSResolver(*args, **kwargs)
                     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiodns/__init__.py", line 67, in __init__
    self._channel = pycares.Channel(event_thread=True,
                    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
                                    timeout=timeout,
                                    ^^^^^^^^^^^^^^^^
                                    **kwargs)
                                    ^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/pycares/__init__.py", line 422, in __init__
    raise AresError('Failed to initialize c-ares channel')
pycares.AresError: Failed to initialize c-ares channel
[20:27:24] WARNING: Halt Supervisor
[20:27:24] INFO: Supervisor restart after closing
s6-rc: info: service legacy-services: stopping
[20:27:24] INFO: Watchdog restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
[20:27:33] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
[20:27:33] INFO: Starting local supervisor watchd

I have HAOS

  • Core2025.5.1
  • Supervisor2025.05.0
  • Operating System15.2
  • Frontend20250509.0

And when going via cli doing “ha host reboot” I got:
“dial tcp ip adress coonect: no route to host” (sort of).

Only thing I could do was a hard power donw and up…

never had this before… what is wrong possibly?

Hello sender,

Well my first 2 questions are are you running a pi based server with an SD card? If so is the card bad.
Are you running PiHole, AdGuard, or another DNS blocker? If so look there…

As a VM on esxi with an enterprise grade ssd…

I woke up this morning to the same scenario. Supervisor was down, only an external reboot of the VM helped.
I found this GitHub issue and according to them, it is caused by the Octoprint Integration when it is enabled, but the Octoprint host itself is offline. This is the case for me, maybe you have the same? I have now disabled the Integration and will keep an eye on it.

Oh yes I have that… but for around 2 years now…

Good tip, will also monitor now

Hey, yeah this is a Supervisor 2025.05.0 bug which got released to the stable channel yesterday. The problem might come back if your system is out of inotify resources (see also Supervisor fails to start with pycares.AresError: Failed to initialize c-ares channel · Issue #5883 · home-assistant/supervisor · GitHub).

A proper fix will be shipped soon with Supervisor 2025.05.1. A reboot should be sufficient to temporarily get around the problem, since on startup Supervisor is started early when inotify resources are still available. Supervisor will continue working from that point onwards.

2 Likes

Good to know it is “something”. A pity it is “something” :rofl:

I’ve had an issue with a couple of instances going offline, supervisor just stopping with no error. I’ve not seen anything in the logs like above so I’m wondering if it’s related.

I had the same issue and reboot of HA VM fixed it. After that i was presented with the 2025.05.1 update which should fix this issue permanently. Thanks for this very quick fix!

1 Like

I installed 2025.05.1 but still facing this issue . A hardware reboot is the only way to get it back. A restart will lead to this ;

ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!

ERROR (MainThread) [supervisor.core] Can’t start Home Assistant Core - rebuilding

ha core check
Processing… Done.
Command completed successfully.

ha core info
arch: amd64
audio_input: null
audio_output: null
backups_exclude_database: false
boot: true
image: Package generic-x86-64-homeassistant · GitHub
ip_address: -----
machine: generic-x86-64
port: -----
ssl: false
update_available: false
version: 2025.5.1
version_latest: 2025.5.1
watchdog: true