Stumped at a recent problem preventing me from accessing a remote instance of Home Assistance.
I’m running HASS 0.69.1 in a Docker instance. That instance sits behind a revere proxy NGNIX Docker container.
That setup worked great the last 2 months but stopped working 5/21. I haven’t made any config changes or added done anything with HASS over the past week so I’m stumped why it suddenly stopped working.
Local instance of HASS works fine (e.g. 192.168.86.xxxx:8123) but the remote version (e.g. xxx.duckdns.org) just spins with the HASS logo.
There are no errors in the home-assistant.log file.
When I look at the container logs and filter for errors, this is all that shows (I’ve googled Key error and didn’t find anything meaningful):
2018-05-23 16:35:52 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/customize.yaml contains duplicate key "binary_sensor.switch_158d0001f400d1". Check lines 134 and 235.
2018-05-23 16:35:52 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "username". Check lines 60 and 62.
2018-05-23 16:35:52 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "password". Check lines 61 and 63.
2018-05-23 16:35:52 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "username". Check lines 62 and 64.
2018-05-23 16:35:52 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "password". Check lines 63 and 65.
2018-05-23 16:35:57 ERROR (SyncWorker_1) [homeassistant.components.light.yeelight] Failed to connect to bulb 192.168.86.183, Desk Light: {'code': -1, 'message': 'client quota exceeded'}
2018-05-23 16:35:59 ERROR (MainThread) [homeassistant.components.sensor] glances: Error on device update!
KeyError: 'total'
2018-05-23 16:35:59 ERROR (MainThread) [homeassistant.components.sensor] glances: Error on device update!
KeyError: 'usage'
2018-05-23 16:44:46 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/customize.yaml contains duplicate key "binary_sensor.switch_158d0001f400d1". Check lines 134 and 235.
2018-05-23 16:44:46 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "username". Check lines 60 and 62.
2018-05-23 16:44:46 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "password". Check lines 61 and 63.
2018-05-23 16:44:46 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "username". Check lines 62 and 64.
2018-05-23 16:44:46 ERROR (SyncWorker_0) [homeassistant.util.yaml] YAML file /config/configuration.yaml contains duplicate key "password". Check lines 63 and 65.
2018-05-23 16:44:55 ERROR (SyncWorker_19) [homeassistant.components.light.yeelight] Failed to connect to bulb 192.168.86.183, Desk Light: Bulb closed the connection.
config.yaml extract:
http:
api_password: !secret http_password
ip_ban_enabled: true
login_attempts_threshold: 3