I have two installations of Home Assistant.
- Windows 10 + Virtual Box + Ubuntu/Docker/Home Assistant + MySQL
- RPi + Hass.io + MariaDB addon
Both running 0.71.0, both use the same config. I primarily use the VirtualBox-installation as a Dev/Test since I don’t want to affect the production environment while trying out new things.
A couple of weeks ago, a new phenomenon started on both installations:
A few (2-20) hours after restart, Home Assistant no longer show the diagram in the state history window, it just hangs (never shows the diagram) and the cameras updates the thumbnail in the main view, but when clicked, the camera never opens, just a small blank dialog. The sensors are still updated still updated in the views however.
It seems related to the browser or browser session, because at the same time, I can get errors from one computer/browser but it works fine from another. Example accessing the same host (Hass.io), from two separate computers at the same time:
Firefox 60.0.2 (64-bit) at computer 1:
Firefox 60.0.2 (64-bit) at computer 2:
A typical log, probably relating to computer 1:
2018-06-15 14:46:47 ERROR (MainThread) [homeassistant.components.camera.mjpeg] Timeout getting camera image
2018-06-15 14:46:47 WARNING (MainThread) [homeassistant.components.sensor] Updating synologydsm sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:46:57 ERROR (MainThread) [homeassistant.components.camera.mjpeg] Timeout getting camera image
2018-06-15 14:47:07 ERROR (MainThread) [homeassistant.components.camera.mjpeg] Timeout getting camera image
2018-06-15 14:47:15 WARNING (MainThread) [homeassistant.components.sensor] Updating persistence sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:15 WARNING (MainThread) [homeassistant.components.sensor] Updating time_date sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:15 WARNING (MainThread) [homeassistant.components.sensor] Updating sql sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:15 WARNING (MainThread) [homeassistant.components.sensor] Updating systemmonitor sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:15 WARNING (MainThread) [homeassistant.components.sensor] Updating broadlink sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:18 ERROR (MainThread) [homeassistant.components.camera.mjpeg] Timeout getting camera image
2018-06-15 14:47:18 WARNING (MainThread) [homeassistant.components.sensor] Updating synologydsm sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:24 WARNING (MainThread) [homeassistant.components.sensor] Updating command_line sensor took longer than the scheduled update interval 0:01:00
2018-06-15 14:47:28 ERROR (MainThread) [homeassistant.components.camera.mjpeg] Timeout getting camera image
2018-06-15 14:47:46 WARNING (MainThread) [homeassistant.components.sensor] Updating persistence sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:46 WARNING (MainThread) [homeassistant.components.sensor] Updating time_date sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:46 WARNING (MainThread) [homeassistant.components.sensor] Updating sql sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:46 WARNING (MainThread) [homeassistant.components.sensor] Updating broadlink sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:49 WARNING (MainThread) [homeassistant.components.sensor] Updating synologydsm sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:47:56 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.since_last_boot is taking over 10 seconds
2018-06-15 14:48:18 WARNING (MainThread) [homeassistant.components.sensor] Updating persistence sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:48:18 WARNING (MainThread) [homeassistant.components.sensor] Updating time_date sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:48:18 WARNING (MainThread) [homeassistant.components.sensor] Updating sql sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:48:18 WARNING (MainThread) [homeassistant.components.sensor] Updating systemmonitor sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:48:18 WARNING (MainThread) [homeassistant.components.sensor] Updating broadlink sensor took longer than the scheduled update interval 0:00:30
2018-06-15 14:48:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.ap02 is taking over 10 seconds
2018-06-15 14:48:49 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.broadlink01 is taking over 10 seconds
2018-06-15 14:49:00 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.bahnhof is taking over 10 seconds
2018-06-15 14:49:11 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.google is taking over 10 seconds
2018-06-15 14:49:23 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.router is taking over 10 seconds
2018-06-15 14:49:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.nas02 is taking over 10 seconds
2018-06-15 14:49:37 WARNING (MainThread) [homeassistant.components.binary_sensor] Updating ping binary_sensor took longer than the scheduled update interval 0:05:00
2018-06-15 14:49:48 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.milestone01 is taking over 10 seconds
I have the same problem from Chrome and FireFox.
I have cleared cache on all my three computers.
Any suggestions?