Watchdog keeps restarting HASIO (while all seems fine)

For some reason suddenly watchdog keeps restarting my HASSIO exactly every ten minutes. I can’t remember that I have made any change to the system. And HASSIO just works fine (except the restarting…)

Now running .74. but also put a full snapshot back from .71 (which never had this). the Same issue. First I thought it was the power supply as this is a known ‘restart PI3’ issue but I’m almost sure it is is the watchdog that cannot reach the API (?). The watchdog log:

18-07-25 02:31:21 INFO (MainThread) [__main__] Initialize Hassio setup
18-07-25 02:31:21 INFO (MainThread) [__main__] Setup HassIO
18-07-25 02:31:21 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to supervisor homeassistant/armhf-hassio-supervisor with version 121
18-07-25 02:31:22 INFO (SyncWorker_0) [hassio.docker.interface] Cleanup docker images: ['homeassistant/armhf-hassio-supervisor:119']
18-07-25 02:31:23 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1
18-07-25 02:31:23 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
18-07-25 02:31:23 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1
18-07-25 02:31:24 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
18-07-25 02:31:24 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /
18-07-25 02:31:24 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b'Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name de.pengutronix.rauc was not provided by any .service files\n'
18-07-25 02:31:24 WARNING (MainThread) [hassio.dbus.rauc] Can't connect to rauc
18-07-25 02:31:24 INFO (MainThread) [hassio.host.info] Update local host information
18-07-25 02:31:24 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
18-07-25 02:31:24 INFO (MainThread) [hassio.host.services] Update service information
18-07-25 02:31:24 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
18-07-25 02:31:25 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
18-07-25 02:31:25 INFO (MainThread) [hassio.host.apparmor] AppArmor is not enabled on Host
18-07-25 02:31:25 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/raspberrypi3-homeassistant with version 0.74.0
18-07-25 02:31:25 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/git/a0d7b954 repository
18-07-25 02:31:25 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/core repository
18-07-25 02:31:26 INFO (MainThread) [hassio.addons] Load addons: 42 all - 42 new - 0 remove
18-07-25 02:31:26 INFO (SyncWorker_2) [hassio.docker.interface] Attach to image hassioaddons/ftp-armhf with version v1.3.0
18-07-25 02:31:26 INFO (SyncWorker_7) [hassio.docker.interface] Attach to image hassioaddons/appdaemon3-armhf with version v1.3.0
18-07-25 02:31:26 INFO (SyncWorker_6) [hassio.docker.interface] Attach to image homeassistant/armhf-addon-samba with version 4.1
18-07-25 02:31:26 INFO (SyncWorker_3) [hassio.docker.interface] Attach to image homeassistant/armhf-addon-ssh with version 3.7
18-07-25 02:31:26 INFO (SyncWorker_5) [hassio.docker.interface] Attach to image homeassistant/armhf-addon-configurator with version 0.4
18-07-25 02:31:26 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/armhf-addon-check_config with version 0.7
18-07-25 02:31:26 INFO (MainThread) [hassio.updater] Fetch update data from https://s3.amazonaws.com/hassio-version/stable.json
18-07-25 02:31:27 INFO (MainThread) [hassio.snapshots] Found 6 snapshot files
18-07-25 02:31:27 INFO (MainThread) [__main__] Run HassIO
18-07-25 02:31:27 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons
18-07-25 02:31:27 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel
18-07-25 02:31:27 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
18-07-25 02:31:27 INFO (MainThread) [hassio.addons] Startup initialize run 0 addons
18-07-25 02:31:27 INFO (MainThread) [hassio.core] Hass.io reboot detected
18-07-25 02:31:27 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-07-25 02:31:27 INFO (MainThread) [hassio.core] Hass.io is up and running
18-07-25 02:36:27 WARNING (MainThread) [hassio.homeassistant] Home-Assistant API config missmatch: 403
18-07-25 02:36:27 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-07-25 02:41:27 WARNING (MainThread) [hassio.homeassistant] Home-Assistant API config missmatch: 403
18-07-25 02:41:27 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-07-25 02:41:27 INFO (SyncWorker_7) [hassio.docker.interface] Stop homeassistant/raspberrypi3-homeassistant docker application
18-07-25 02:41:39 INFO (SyncWorker_7) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-07-25 02:41:42 INFO (SyncWorker_17) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.74.0
18-07-25 02:43:12 INFO (MainThread) [hassio.homeassistant] Detect a running HomeAssistant instance
18-07-25 02:46:27 WARNING (MainThread) [hassio.homeassistant] Home-Assistant API config missmatch: 403
18-07-25 02:46:27 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-07-25 02:51:27 WARNING (MainThread) [hassio.homeassistant] Home-Assistant API config missmatch: 403
18-07-25 02:51:27 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-07-25 02:51:27 INFO (SyncWorker_8) [hassio.docker.interface] Stop homeassistant/raspberrypi3-homeassistant docker application
18-07-25 02:51:35 INFO (SyncWorker_8) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-07-25 02:51:37 INFO (SyncWorker_9) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.74.0

After this it just keeps cycling every 10 mins:

18-07-25 02:53:08 INFO (MainThread) [hassio.homeassistant] Detect a running HomeAssistant instance
18-07-25 02:56:27 WARNING (MainThread) [hassio.homeassistant] Home-Assistant API config missmatch: 403
18-07-25 02:56:27 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-07-25 03:01:27 WARNING (MainThread) [hassio.homeassistant] Home-Assistant API config missmatch: 403
18-07-25 03:01:27 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-07-25 03:01:27 INFO (SyncWorker_8) [hassio.docker.interface] Stop homeassistant/raspberrypi3-homeassistant docker application
18-07-25 03:01:39 INFO (SyncWorker_8) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-07-25 03:01:41 INFO (SyncWorker_19) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.74.0

I’m running HASSIO behind a Caddy server (reversed proxy) but always did this. I have no entry under base_url in the configuration.yaml (never had). Hass is externally reachable via hass.yyy.com (no port needs to be added) and internally running under 192.168.192.196:8123

Any ideas? Driving me crazy and to make things worse I’m on the other side of the globe on holiday…

Ok, it turned out that the API ip watchdog is listening on was on the banned ip list. Removed it and it worked again.

However there is another poster that sees the same behavior so not sure this is expected behavior.

1 Like

Hi Tyfoon,
Same issue as you, all works fine but watchdog keeps restarting ha, where did you check the banned ip list and API watchdog ip? I suspect same issue
Thx
Wihan

nvm, found it.
For those who find this via g0gle
My Hass supervisor ip of 172.30.32.2 was in my config file under ip_bans.yaml
It seem to have been a bug that have been fixed:
https://github.com/home-assistant/home-assistant/issues/15595
I have removed this and restarted ha.

1 Like

That solve my problem.
Thanks