I have a very strange problem here. When deploying HA with v0.83, port TCP/8123 is not listening. Meaning HA does not work at all. I checked the logs when this happens and I do not detect any error.
I’m running docker on a Synology, with latest version available (both DSM & docker package).
With the following HA version (and previous) all works fine: image: homeassistant/home-assistant:0.82.1
As you can see, TCP/8123 is listening:
admin@Synology:/volume1/docker/homeassistant$ sudo netstat -antop |grep 8123
tcp 0 0 0.0.0.0:8123 0.0.0.0:* LISTEN 25617/python off (0.00/0/0)
tcp 0 0 10.0.2.25:8123 10.0.2.25:34812 TIME_WAIT - timewait (58.30/0/0)
When running 0.83.3 HA does not work: image: homeassistant/home-assistant:0.83.3
I just get nothing when running the netstat command for port 8123: admin@Synology:/volume1/docker/homeassistant$ sudo netstat -antop |grep 8123
I do not see any error on the logs. All seems to be properly working, is just with v82 netstat shows an entry for TCP/8123 port listening but with v83 does not.
Yes, I checked the changes. But nothing seems important in my case, plus no error on logs. Any ideas?
Here you can see the logs when it’s not working:
admin@Synology:/volume1/docker/homeassistant$ sudo docker logs home-assistant
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded group from homeassistant.components.group
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded script from homeassistant.components.script
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded input_boolean from homeassistant.components.input_boolean
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http
2018-12-10 13:01:44 INFO (MainThread) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2018-12-10 13:01:45 INFO (MainThread) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2018-12-10 13:01:45 INFO (MainThread) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2018-12-10 13:01:45 INFO (MainThread) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2018-12-10 13:01:45 INFO (MainThread) [homeassistant.loader] Loaded logger from homeassistant.components.logger
2018-12-10 13:01:45 INFO (MainThread) [homeassistant.setup] Setting up logger
2018-12-10 13:01:45 WARNING (MainThread) [homeassistant.components.http] legacy_api_password support has been enabled. If you don't require it, remove the 'api_password' from your http config.
2018-12-10 13:01:52 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=115 from 2018-12-10 11:21:39)
2018-12-10 13:02:04 WARNING (MainThread) [homeassistant.components.sensor.template] Template sensor friendly_date has no entity ids configured to track nor were we able to extract the entities to track from the value template(s). This entity will only be able to be updated manually.
2018-12-10 13:02:04 WARNING (MainThread) [homeassistant.components.sensor.template] Template sensor friendly_date_day has no entity ids configured to track nor were we able to extract the entities to track from the value template(s). This entity will only be able to be updated manually.
/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
2018-12-10 13:02:12 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2018-12-10 13:02:12 WARNING (MainThread) [homeassistant.components.media_player.cast] Setting configuration for Cast via platform is deprecated. Configure via Cast component instead.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform template is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform time_date is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform darksky is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform moon is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform workday is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform mqtt is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.alarm_control_panel] Setup of platform manual_mqtt is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform mpd is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform samsungtv is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.camera] Setup of platform synology is taking over 10 seconds.
2018-12-10 13:02:14 WARNING (MainThread) [homeassistant.components.camera] Setup of platform local_file is taking over 10 seconds.
2018-12-10 13:02:14 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to tele/sonoff_pow2/SENSOR
2018-12-10 13:02:14 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to tele/sonoff_pow2/SENSOR
2018-12-10 13:02:14 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to tele/sonoff_pow2/SENSOR
2018-12-10 13:02:14 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to tele/sonoff_pow2/SENSOR
2018-12-10 13:02:14 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to home/rfid
2018-12-10 13:02:14 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to home/alarm/set
2018-12-10 13:02:14 DEBUG (MainThread) [homeassistant.components.mqtt] Transmitting message on home/alarm: disarmed
2018-12-10 13:02:14 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/alarm/set: b'DISARM'
/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_s26/POWER
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_ch4_pro_r2/POWER2
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_ch4/POWER1
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_pow2/POWER
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_ch4/POWER2
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_ch4_pro_r2/POWER3
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_ch4_pro_r2/POWER4
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_pow/POWER
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_ch4/POWER3
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_s20/POWER
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_ch4/POWER4
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_s20_2/POWER
2018-12-10 13:02:16 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to stat/sonoff_ch4_pro_r2/POWER1