Homeassistant container no longer listening on 8123

Hi,

I’ve had a working hassio setup for quite some time. I’m running on AMD64. I was in the process of diagnosing problems with the (external to HASS) Caddy installation when I realized homeassistant container had stopped asking for 8123 to be forwarded.

docker ps | grep home
38e49cf2b547        homeassistant/amd64-addon-configurator   "/run.sh"                About an hour ago   Up About an hour             0.0.0.0:3218->3218/tcp                                                                                                           addon_core_configurator
2442eca26766        homeassistant/qemux86-64-homeassistant   "/bin/entry.sh pytho…"   About an hour ago   Up About an hour                                                                                                                                              homeassistant
2c21c44f2d47        homeassistant/amd64-addon-samba          "/run.sh"                About an hour ago   Up About an hour                                                                                                                                              addon_core_samba
e0434e77fca9        homeassistant/amd64-addon-ssh            "/run.sh"                About an hour ago   Up About an hour             0.0.0.0:2222->22/tcp                                                                                                             addon_core_ssh
d220f254cc1a        homeassistant/amd64-addon-mosquitto      "/run.sh"                About an hour ago   Up About an hour             0.0.0.0:1883-1884->1883-1884/tcp, 0.0.0.0:8883-8884->8883-8884/tcp                                                               addon_core_mosquitto
f6df17f2b40f        homeassistant/amd64-hassio-supervisor    "python3 -m hassio"      2 weeks ago         Up About an hour                                                                                                                                              hassio_supervisor

netstat |grep 8123 shows nothing- so there isn’t anything conflicting with it fighting for the port.

I’ve rebooted and have the same issue.

Here are the hassio_supervisor logs:

18-12-30 16:39:49 INFO (MainThread) [hassio.core] Hass.io reboot detected
18-12-30 16:39:49 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-12-30 16:39:49 INFO (MainThread) [hassio.core] Hass.io is up and running
18-12-30 16:44:16 INFO (MainThread) [__main__] Initialize Hass.io setup
18-12-30 16:44:16 INFO (MainThread) [__main__] Setup HassIO
18-12-30 16:44:16 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to Supervisor homeassistant/amd64-hassio-supervisor with version 141
18-12-30 16:44:16 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1
18-12-30 16:44:16 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
18-12-30 16:44:16 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1
18-12-30 16:44:16 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
18-12-30 16:44:16 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /
18-12-30 16:44:16 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-12-30 16:44:16 WARNING (MainThread) [hassio.dbus.rauc] Can't connect to rauc
18-12-30 16:44:16 INFO (MainThread) [hassio.host.info] Update local host information
18-12-30 16:44:16 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
18-12-30 16:44:16 INFO (MainThread) [hassio.host.services] Update service information
18-12-30 16:44:16 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
18-12-30 16:44:16 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
18-12-30 16:44:16 INFO (MainThread) [hassio.host.services] Reload local service hassio-apparmor.service
18-12-30 16:44:16 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
18-12-30 16:44:17 INFO (SyncWorker_2) [hassio.docker.interface] Attach to image homeassistant/qemux86-64-homeassistant with version 0.84.6
18-12-30 16:44:24 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/53caca22 repository
18-12-30 16:44:24 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/a0d7b954 repository
18-12-30 16:44:24 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/core repository
18-12-30 16:44:24 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/27e642c6 repository
18-12-30 16:44:24 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/e5829d31 repository
18-12-30 16:44:24 INFO (MainThread) [hassio.addons.git] Load add-on /data/addons/git/fe41fc28 repository
18-12-30 16:44:24 INFO (MainThread) [hassio.addons] Load add-ons: 78 all - 78 new - 0 remove
18-12-30 16:44:24 INFO (SyncWorker_11) [hassio.docker.interface] Attach to image hassioaddons/lovelace-migration with version v0.3.0
18-12-30 16:44:24 INFO (SyncWorker_8) [hassio.docker.interface] Attach to image hassioaddons/terminal-amd64 with version v2.5.1
18-12-30 16:44:24 INFO (SyncWorker_7) [hassio.docker.interface] Attach to image hassioaddons/grafana-amd64 with version v1.2.1
18-12-30 16:44:24 INFO (SyncWorker_0) [hassio.docker.interface] Attach to image hassioaddons/influxdb-amd64 with version v1.2.1
18-12-30 16:44:24 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/amd64-addon-samba with version 8
18-12-30 16:44:24 INFO (SyncWorker_2) [hassio.docker.interface] Attach to image 27e642c6/amd64-addon-gogs with version 0.11.19p3
18-12-30 16:44:24 INFO (SyncWorker_4) [hassio.docker.interface] Attach to image homeassistant/amd64-addon-bluetooth_bcm43xx with version 2.3
18-12-30 16:44:24 INFO (SyncWorker_14) [hassio.docker.interface] Attach to image homeassistant/amd64-addon-check_config with version 0.9
18-12-30 16:44:24 INFO (SyncWorker_13) [hassio.docker.interface] Attach to image homeassistant/amd64-addon-configurator with version 2
18-12-30 16:44:25 INFO (SyncWorker_5) [hassio.docker.interface] Attach to image vkorn/amd64-smartthings with version None
18-12-30 16:44:25 INFO (SyncWorker_17) [hassio.docker.interface] Attach to image homeassistant/amd64-addon-mariadb with version 0.2
18-12-30 16:44:25 INFO (SyncWorker_9) [hassio.docker.interface] Attach to image homeassistant/amd64-addon-mosquitto with version 4
18-12-30 16:44:25 INFO (SyncWorker_3) [hassio.docker.interface] Attach to image homeassistant/amd64-addon-ssh with version 4
18-12-30 16:44:25 INFO (MainThread) [hassio.updater] Fetch update data from https://s3.amazonaws.com/hassio-version/stable.json
18-12-30 16:44:25 INFO (MainThread) [hassio.snapshots] Found 3 snapshot files
18-12-30 16:44:25 INFO (MainThread) [hassio.discovery] Load 1 messages
18-12-30 16:44:25 INFO (MainThread) [__main__] Run Hass.io
18-12-30 16:44:25 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons
18-12-30 16:44:25 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel
18-12-30 16:44:25 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
18-12-30 16:44:25 INFO (MainThread) [hassio.addons] Startup initialize run 1 add-ons
18-12-30 16:44:25 INFO (SyncWorker_19) [hassio.docker.interface] Clean homeassistant/amd64-addon-bluetooth_bcm43xx Docker application
18-12-30 16:44:29 ERROR (SyncWorker_19) [hassio.docker] Can't start addon_core_bluetooth_bcm43xx: 500 Server Error: Internal Server Error ("linux runtime spec devices: error gathering device information while adding custom device "/dev/ttyAMA0": no such file or directory")
18-12-30 16:44:34 INFO (MainThread) [hassio.addons] Startup system run 1 add-ons
18-12-30 16:44:34 WARNING (MainThread) [hassio.addons.validate] Unknown options plain
18-12-30 16:44:34 WARNING (MainThread) [hassio.addons.validate] Unknown options ssl
18-12-30 16:44:34 INFO (SyncWorker_0) [hassio.docker.interface] Clean homeassistant/amd64-addon-mosquitto Docker application
18-12-30 16:44:35 INFO (SyncWorker_0) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-mosquitto with version 4
18-12-30 16:44:35 INFO (MainThread) [hassio.services.mqtt] Set core_mosquitto as service provider for mqtt
18-12-30 16:44:35 INFO (MainThread) [hassio.discovery] Duplicate discovery message from core_mosquitto
18-12-30 16:44:40 INFO (MainThread) [hassio.addons] Startup services run 6 add-ons
18-12-30 16:44:40 INFO (SyncWorker_3) [hassio.docker.interface] Clean hassioaddons/grafana-amd64 Docker application
18-12-30 16:44:40 WARNING (MainThread) [hassio.addons.validate] Unknown options username
18-12-30 16:44:40 WARNING (MainThread) [hassio.addons.validate] Unknown options password
18-12-30 16:44:40 WARNING (MainThread) [hassio.addons.validate] Unknown options ipv6
18-12-30 16:44:40 INFO (SyncWorker_18) [hassio.docker.interface] Clean vkorn/amd64-smartthings Docker application
18-12-30 16:44:40 INFO (SyncWorker_16) [hassio.docker.interface] Clean hassioaddons/influxdb-amd64 Docker application
18-12-30 16:44:40 INFO (SyncWorker_12) [hassio.docker.interface] Clean hassioaddons/terminal-amd64 Docker application
18-12-30 16:44:40 WARNING (MainThread) [hassio.addons.validate] Unknown options name
18-12-30 16:44:40 WARNING (MainThread) [hassio.addons.validate] Unknown options guest
18-12-30 16:44:40 WARNING (MainThread) [hassio.addons.validate] Unknown options map
18-12-30 16:44:40 INFO (SyncWorker_19) [hassio.docker.interface] Clean homeassistant/amd64-addon-ssh Docker application
18-12-30 16:44:40 INFO (SyncWorker_8) [hassio.docker.interface] Clean homeassistant/amd64-addon-samba Docker application
18-12-30 16:44:41 INFO (SyncWorker_18) [hassio.docker.addon] Start Docker add-on vkorn/amd64-smartthings with version None
18-12-30 16:44:43 INFO (SyncWorker_16) [hassio.docker.addon] Start Docker add-on hassioaddons/influxdb-amd64 with version v1.2.1
18-12-30 16:44:44 INFO (SyncWorker_8) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-samba with version 8
18-12-30 16:44:44 INFO (SyncWorker_3) [hassio.docker.addon] Start Docker add-on hassioaddons/grafana-amd64 with version v1.2.1
18-12-30 16:44:46 INFO (SyncWorker_12) [hassio.docker.addon] Start Docker add-on hassioaddons/terminal-amd64 with version v2.5.1
18-12-30 16:44:46 INFO (SyncWorker_19) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-ssh with version 4
18-12-30 16:44:50 WARNING (MainThread) [hassio.api.security] /addons/a0d7b954_terminal/info no role for a0d7b954_terminal
18-12-30 16:44:50 ERROR (MainThread) [hassio.api.security] Invalid token for access /addons/a0d7b954_terminal/info
18-12-30 16:44:50 WARNING (MainThread) [hassio.api.security] /addons/a0d7b954_terminal/info no role for a0d7b954_terminal
18-12-30 16:44:50 ERROR (MainThread) [hassio.api.security] Invalid token for access /addons/a0d7b954_terminal/info
18-12-30 16:44:50 WARNING (MainThread) [hassio.api.security] /addons/a0d7b954_terminal/info no role for a0d7b954_terminal
18-12-30 16:44:50 ERROR (MainThread) [hassio.api.security] Invalid token for access /addons/a0d7b954_terminal/info
18-12-30 16:44:50 WARNING (MainThread) [hassio.api.security] /addons/a0d7b954_terminal/info no role for a0d7b954_terminal
18-12-30 16:44:50 ERROR (MainThread) [hassio.api.security] Invalid token for access /addons/a0d7b954_terminal/info
18-12-30 16:44:50 INFO (MainThread) [hassio.api.security] /addons access from a0d7b954_terminal
18-12-30 16:44:50 WARNING (MainThread) [hassio.api.security] /addons/a0d7b954_terminal/info no role for a0d7b954_terminal
18-12-30 16:44:50 ERROR (MainThread) [hassio.api.security] Invalid token for access /addons/a0d7b954_terminal/info
18-12-30 16:44:51 INFO (MainThread) [hassio.api.security] /addons access from a0d7b954_terminal
18-12-30 16:44:51 WARNING (MainThread) [hassio.api.security] /addons/a0d7b954_terminal/info no role for a0d7b954_terminal
18-12-30 16:44:51 ERROR (MainThread) [hassio.api.security] Invalid token for access /addons/a0d7b954_terminal/info
18-12-30 16:44:51 WARNING (MainThread) [hassio.api.security] /addons/a0d7b954_terminal/info no role for a0d7b954_terminal
18-12-30 16:44:51 ERROR (MainThread) [hassio.api.security] Invalid token for access /addons/a0d7b954_terminal/info
18-12-30 16:44:52 INFO (MainThread) [hassio.api.security] /addons access from a0d7b954_influxdb
18-12-30 16:44:52 INFO (MainThread) [hassio.api.security] /addons access from a0d7b954_grafana
18-12-30 16:44:52 INFO (SyncWorker_4) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.84.6
18-12-30 16:44:52 INFO (MainThread) [hassio.api.security] /addons access from a0d7b954_grafana
18-12-30 16:44:52 INFO (MainThread) [hassio.api.security] /addons access from a0d7b954_influxdb
18-12-30 16:44:52 INFO (MainThread) [hassio.api.security] /supervisor/info access from a0d7b954_grafana
18-12-30 16:44:52 INFO (MainThread) [hassio.api.security] /supervisor/info access from a0d7b954_influxdb
18-12-30 16:44:53 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_influxdb
18-12-30 16:44:53 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_grafana
18-12-30 16:44:53 INFO (MainThread) [hassio.api.security] /homeassistant/info access from a0d7b954_influxdb
18-12-30 16:44:53 INFO (MainThread) [hassio.api.security] /homeassistant/info access from a0d7b954_grafana
18-12-30 16:44:53 INFO (MainThread) [hassio.api.security] /supervisor/info access from a0d7b954_influxdb
18-12-30 16:44:53 INFO (MainThread) [hassio.api.security] /supervisor/info access from a0d7b954_grafana
18-12-30 16:44:53 INFO (MainThread) [hassio.api.security] /supervisor/info access from a0d7b954_influxdb
18-12-30 16:44:53 INFO (MainThread) [hassio.api.security] /supervisor/info access from a0d7b954_grafana
18-12-30 16:54:53 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup!
18-12-30 16:54:53 INFO (MainThread) [hassio.addons] Startup application run 2 add-ons
18-12-30 16:54:53 INFO (SyncWorker_4) [hassio.docker.interface] Clean 27e642c6/amd64-addon-gogs Docker application
18-12-30 16:54:53 INFO (SyncWorker_12) [hassio.docker.interface] Clean homeassistant/amd64-addon-configurator Docker application
18-12-30 16:54:55 INFO (SyncWorker_4) [hassio.docker.addon] Start Docker add-on 27e642c6/amd64-addon-gogs with version 0.11.19p3
18-12-30 16:54:56 INFO (SyncWorker_12) [hassio.docker.addon] Start Docker add-on homeassistant/amd64-addon-configurator with version 2
18-12-30 16:54:58 INFO (MainThread) [hassio.api.proxy] /homeassistant/api/services/persistent_notification/create access from core_configurator
18-12-30 16:54:58 ERROR (MainThread) [hassio.homeassistant] Error on call http://172.30.32.1:8123/api/services/persistent_notification/create: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused]
18-12-30 16:54:58 ERROR (MainThread) [hassio.api.proxy] Error on API for request services/persistent_notification/create
18-12-30 16:55:01 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-12-30 16:55:01 INFO (MainThread) [hassio.core] Hass.io is up and running

Any ideas on what might be going on here?

1 Like

Hello, I have the same issue.
Start homeassistant, no error in the log but no listening on 8123…

Did you solved your problem ?

thank you for your help

I just resolved my issue, it was due to chromecast timeout


if it helps !

I seem to have a similar issue.
When I do a fresh start of home assistant (on mac mini), I can’t open the local page using port 8123 yet. ( ‘can’t read website xxx:8123’ )

When I do some port scanning using nmap, like
nmap -T Aggressive -A 127.0.0.1 -p 8123 | grep 8123
and may be try a few times, then nmap shows the port to be open:
8123/tcp open http aiohttp 3.5.4 (Python 3.7)
and I can open the page using the browser

I don’t have any idea why this should be necessary though …

Normally Home assistant would allow access to port 8123 immediately ??