HA keeps crashing / rebooring with erros in logs

Hi

Since few days mon HA installation keeps on crashing / rebooting I’m unable to find the reason.
I’ve disabled / removed the recent integration app from HACS that I’ve added thinking that they were the reason but I still cannot resolve the issue.

I also added recently SkyConnect and the issue started, however I’m not sure it start immediately after because I configured it few hours later I’m not sure it’s the reason. It’s now unplugged.

Here is the details of my installation

Home Assistant 2023.7.3
Supervisor 2023.07.1
Operating System 10.3
Frontend 20230705.1 - latest
Raspberry Pi 3

and my logs:

  File "/usr/src/supervisor/supervisor/store/repository.py", line 108, in update
    await self.git.pull()
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 116, in wrapper
    raise self.on_condition(error_msg, _LOGGER.warning) from None
supervisor.exceptions.StoreJobError: 'GitRepo.pull' blocked from execution, no supervisor internet connection
e[31m23-07-30 23:15:16 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-47833' coro=<Repository.update() done, defined at /usr/src/supervisor/supervisor/store/repository.py:104> exception=StoreJobError("'GitRepo.pull' blocked from execution, no supervisor internet connection")>e[0m
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/store/repository.py", line 108, in update
    await self.git.pull()
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 116, in wrapper
    raise self.on_condition(error_msg, _LOGGER.warning) from None
supervisor.exceptions.StoreJobError: 'GitRepo.pull' blocked from execution, no supervisor internet connection
e[31m23-07-30 23:15:16 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-47832' coro=<Repository.update() done, defined at /usr/src/supervisor/supervisor/store/repository.py:104> exception=StoreJobError("'GitRepo.pull' blocked from execution, no supervisor internet connection")>e[0m
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/store/repository.py", line 108, in update
    await self.git.pull()
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 116, in wrapper
    raise self.on_condition(error_msg, _LOGGER.warning) from None
supervisor.exceptions.StoreJobError: 'GitRepo.pull' blocked from execution, no supervisor internet connection
e[31m23-07-30 23:15:16 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-47831' coro=<Repository.update() done, defined at /usr/src/supervisor/supervisor/store/repository.py:104> exception=StoreJobError("'GitRepo.pull' blocked from execution, no supervisor internet connection")>e[0m
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/store/repository.py", line 108, in update
    await self.git.pull()
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 116, in wrapper
    raise self.on_condition(error_msg, _LOGGER.warning) from None
supervisor.exceptions.StoreJobError: 'GitRepo.pull' blocked from execution, no supervisor internet connection
e[31m23-07-30 23:17:23 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: e[0m
e[33m23-07-30 23:17:24 WARNING (MainThread) [supervisor.misc.tasks] Watchdog miss API response from Home Assistante[0m
e[32m23-07-30 23:22:30 INFO (SyncWorker_5) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2023.06.0 - 172.30.32.6e[0m
e[31m23-07-30 23:28:24 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: e[0m
e[31m23-07-30 23:28:25 ERROR (MainThread) [supervisor.misc.tasks] Watchdog found a problem with Home Assistant API!e[0m
e[32m23-07-30 23:28:28 INFO (SyncWorker_4) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi3-64-homeassistante[0m
e[32m23-07-30 23:32:23 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is readye[0m
e[32m23-07-30 23:32:52 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNINGe[0m
e[32m23-07-30 23:32:54 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation completee[0m
e[32m23-07-30 23:33:01 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/thomasmauerer/hassio-addons repositorye[0m
e[32m23-07-30 23:33:01 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/dshafik/haos-addons repositorye[0m
e[32m23-07-30 23:33:01 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repositorye[0m
e[32m23-07-30 23:33:01 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repositorye[0m
e[32m23-07-30 23:33:01 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repositorye[0m
e[32m23-07-30 23:33:01 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/alexbelgium/hassio-addons repositorye[0m
e[32m23-07-30 23:33:02 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.jsone[0m
e[32m23-07-30 23:33:18 INFO (MainThread) [supervisor.store] Loading add-ons from store: 154 all - 0 new - 0 removee[0m
e[32m23-07-30 23:33:18 INFO (MainThread) [supervisor.store] Loading add-ons from store: 154 all - 0 new - 0 removee[0m
e[32m23-07-30 23:38:34 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instancee[0m
e[31m23-07-30 23:39:00 ERROR (MainThread) [aiohttp.server] Error handling requeste[0m
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 185, in block_bad_requests
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 201, in system_validation
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 268, in token_validation
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 280, in core_proxy
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/api/utils.py", line 62, in wrap_api
    answer = await method(api, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/api/backups.py", line 118, in list
    data_backups = self._list_backups()
                   ^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/api/backups.py", line 96, in _list_backups
    return [
           ^
  File "/usr/src/supervisor/supervisor/api/backups.py", line 102, in <listcomp>
    ATTR_SIZE: backup.size,
               ^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/backups/backup.py", line 165, in size
    if not self.tarfile.is_file():
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/pathlib.py", line 1267, in is_file
    return S_ISREG(self.stat().st_mode)
                   ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/pathlib.py", line 1013, in stat
    return os.stat(self, follow_symlinks=follow_symlinks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 112] Host is down: '/data/mounts/backup/278f2bc2.tar'
e[32m23-07-30 23:43:09 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m

Hoping someone can help me thanks!

Came here searching for the same… 2023.6.3 (since 2023.7 and 2023.8 are unstable for me). I see a restart of my core anytime something weird happens with my Z-wave… Either changing some device settings, etc. Trying to track it down myself…

23-08-11 12:21:56 ERROR (MainThread) [supervisor.homeassistant.api] Error on call https://172.30.32.1:8123/api/config: 
23-08-11 12:21:58 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-144346' coro=<HomeAssistantWebSocket.async_send_message() done, defined at /usr/src/supervisor/supervisor/homeassistant/websocket.py:250> exception=AttributeError("'NoneType' object has no attribute 'close'")>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 263, in async_send_message
    await self._client.async_send_command(message)
  File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 93, 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 265, in async_send_message
    await self._client.close()
          ^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'close'
23-08-11 12:21:58 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-144437' coro=<HomeAssistantWebSocket.async_send_message() done, defined at /usr/src/supervisor/supervisor/homeassistant/websocket.py:250> exception=AttributeError("'NoneType' object has no attribute 'close'")>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 263, in async_send_message
    await self._client.async_send_command(message)
  File "/usr/src/supervisor/supervisor/homeassistant/websocket.py", line 93, in async_send_command
    return await self._futures[message["id"]]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
supervisor.exceptions.HomeAssistantWSConnectionError: Connection was closed

I’ve disabled HACS integratoin until I found the one causing the problem, I also had few integration added manually in my configuration.yml i removed them.

Now I don’t have the problem anymore.

You should try that first, and disabling wasn’t enough you need to remove completely from your system the integration.

1 Like