Supervisor keeps randomly restarting HA

I noticed that HA kept getting restarted randomly. I found the following in the superisor logs:

As you can see below, occasionally the watchdog indicates it found a problem with the home assistant api. The web interface is responsive during this time.

I just installed this on an ubuntu 16 vm just a few days ago. Any thoughts?

Thanks in advance.

18-03-11 00:00:35 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home-Assistant startup!
18-03-11 00:03:55 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-11 00:05:36 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home-Assistant startup!
18-03-11 00:08:55 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-11 00:10:35 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home-Assistant startup!
18-03-11 00:13:55 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-11 00:18:55 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-11 00:18:55 INFO (SyncWorker_9) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant
18-03-11 00:23:55 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-11 00:23:55 INFO (SyncWorker_4) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant
18-03-11 00:28:55 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-11 00:28:55 INFO (SyncWorker_8) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant
18-03-11 00:30:35 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home-Assistant startup!
18-03-11 00:33:55 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-11 00:35:36 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home-Assistant startup!
18-03-11 00:38:55 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-11 00:40:35 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home-Assistant startup!
18-03-11 00:43:55 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-11 00:48:55 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-11 00:48:55 INFO (SyncWorker_6) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant
18-03-11 00:53:55 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-11 00:53:55 INFO (SyncWorker_0) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant
18-03-11 00:58:55 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-11 00:58:55 INFO (SyncWorker_8) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant
18-03-11 01:00:35 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home-Assistant startup!
18-03-11 01:03:55 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-11 01:05:34 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home-Assistant startup!
18-03-11 01:08:56 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-11 01:10:35 WARNING (MainThread) [hassio.homeassistant] Don’t wait anymore of Home-Assistant startup!
18-03-11 01:13:55 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-11 01:18:56 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-11 01:18:56 INFO (SyncWorker_7) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant
18-03-11 01:23:56 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-11 01:23:56 INFO (SyncWorker_1) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant
18-03-11 01:28:56 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-11 01:28:56 INFO (SyncWorker_8) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant

1 Like

Bump. Am I the only one with this issue?

I just started having this issue today. It seems like home assistant only runs for about 20 minutes before restarting. Im running home assistant 0.65.5 on hassio 0.98

18-03-15 19:36:21 INFO (MainThread) [hassio.homeassistant] Detect a running Home-Assistant instance
18-03-15 19:40:51 INFO (MainThread) [hassio.api.security] /homeassistant/logs access from core_ssh
18-03-15 19:41:38 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
18-03-15 19:42:06 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
18-03-15 19:42:12 INFO (MainThread) [hassio.api.security] /homeassistant/logs access from core_ssh
18-03-15 19:42:15 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-03-15 19:42:16 INFO (MainThread) [hassio.api.security] /homeassistant/logs access from core_ssh
18-03-15 19:42:17 INFO (MainThread) [hassio.api.security] /homeassistant/logs access from core_ssh
18-03-15 19:42:18 INFO (MainThread) [hassio.api.security] /homeassistant/logs access from core_ssh
18-03-15 19:42:19 INFO (MainThread) [hassio.api.security] /homeassistant/logs access from core_ssh
18-03-15 19:44:57 INFO (MainThread) [hassio.api.security] /homeassistant/logs access from core_ssh
18-03-15 19:45:01 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
18-03-15 19:45:07 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
18-03-15 19:45:09 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
18-03-15 19:45:20 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
18-03-15 19:47:15 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-03-15 19:47:15 INFO (SyncWorker_3) [hassio.docker.interface] Restart homeassistant/raspberrypi3-homeassistant
18-03-15 19:49:00 INFO (MainThread) [hassio.api.security] /homeassistant/logs access from core_ssh
18-03-15 19:50:06 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
core-ssh:~# hassio homeassistant info
{
“result”: “ok”,
“data”: {
“version”: “0.65.5”,
“last_version”: “0.65.5”,
“image”: “homeassistant/raspberrypi3-homeassistant”,
“custom”: false,
“boot”: true,
“port”: 8123,
“ssl”: false,
“watchdog”: true,
“wait_boot”: 600
}
}

Since upgrading from .64.0 to .65.5 (HASSIO) I have been having the same problem. HA will be up for a couple minutes and then the website loses connection and I find Home assistant has restarted. Finally, shutdown the whole box when at 4 AM my “Security Alarm” automation fired. Tonight, I will try to revert back to .64 and see if that solves the problem.

For my issue it ended up having to with the Arlo outage. It just caused HA to start timing out when the supervisor was hitting it. I ended up commenting out Arlo in my configuration.yaml file and it fixed it. Once the Arlo service came back up it and I re-added it to the config everything worked.

I have the same issue, but I don’t have this Arlo (whatever it is…). :\ Using hassio 0.89 …

Bump, 2021.08 - the same behaviour

WARNING (MainThread) [supervisor.misc.tasks] Watchdog miss API response from Home Assistant
ERROR (MainThread) [supervisor.misc.tasks] Watchdog found a problem with Home Assistant API!
INFO (SyncWorker_1) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi3-64-homeassistant

Same for me…

In my case, one of the custom components was causing this behaviour
Was DoSing my RPi that it can’t hold so many requests
Test (disable) every single custom component and you will find the roots I think

After some research it was low memory problem, I uninstall unused custom components and no problem anymore, thanks for your help.