I’ve been running HassIO on an Ubunt 16 VM fine for the last few weeks. v.60.
Today it started rebooting every five minutes with the following in the syslog:
Jan 5 20:45:43 hassio hassio-start[22968]: #033[33m18-01-06 01:45:43 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant#033[0m
Jan 5 20:50:43 hassio hassio-start[22968]: #033[31m18-01-06 01:50:43 ERROR (MainThread)[hassio.tasks] Watchdog found a problem with Home-Assistant API!#033[0m
Jan 5 20:50:43 hassio hassio-start[22968]: #033[32m18-01-06 01:50:43 INFO (SyncWorker_3) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant#033[0m`Preformatted text`
I’ve tried blowing away the supervisor and homeassistant containers and reinstalling with:
So the problem seems to be that even though the homeassistant.json file for the watchdog in /usr/share/hassio has the correct password in it for the hassio web page it cannot access the page to do an API check.
Once I took the password off it was happy. So the question is why all of the sudden can’t the watchdog access a password protected hassio web page? This only started yesterday afternoon.
I’m having a similar issue
Restarts every few minutes. Not sure about the root cause
18-01-06 20:51:10 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-06 20:51:11 INFO (SyncWorker_5) [hassio.docker.interface] Clean homeassistant/raspberrypi2-homeassistant docker application
18-01-06 20:51:30 INFO (SyncWorker_5) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi2-homeassistant with version 0.60
18-01-06 20:52:10 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-01-06 20:52:10 INFO (SyncWorker_15) [hassio.docker.interface] Restart homeassistant/raspberrypi2-homeassistant
18-01-06 20:53:11 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
I’ve given up for now. Can’t figure out why the watchdog is bombing out on a password protected web page all of the sudden and can’t figure out why I can’t turn off the watchdog through the homeassistant.json.
Will probably go back to a regular docker instance of homeassistant and make do without the add on functionality.
So I believe I’ve figured out what was causing this but not why.
In my configuration.yaml I have the following entries:
http:
# Uncomment this to add a password (recommended!)
api_password: !secret http_password
server_host: 192.168.x.x
use_x_forwarded_for: True
ip_ban_enabled: True
login_attempts_threshold: 5
As soon as I commented out the server_host and use_x_forwarded_for Watchdog was able to check the API and stopped restarting my Hassio container. I had to comment out BOTH.
I don’t know why all of the sudden this started to cause problems. But commenting them out hasn’t affected proxy access to Hassio externally so it’s all good now.