HASSIO - No Web Interface

Hi All,

I am having issues with HASSIO UI after upgrade to 0.8.1.6 where I can SSH to HA but can’t open UI. When I check the logs through SSH, I get below error.

During the initial logs, I am sure I saw the API was on 172.30.32.2 IP address but later down the logs, it trying to connect to 172.30.31.1 instead of 172.30.31.2.

18-11-06 05:02:58 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons
18-11-06 05:02:58 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel
18-11-06 05:02:58 INFO (MainThread) [hassio.api] **_Start API on 172.30.32.2_**
18-11-06 05:02:58 INFO (MainThread) [hassio.addons] Startup initialize run 0 add-ons
18-11-06 05:02:58 INFO (MainThread) [hassio.addons] Startup system run 2 add-ons


18-11-06 04:54:59 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:443 ssl:False [Connection refused].
18-11-06 04:55:04 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
18-11-06 04:55:04 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
18-11-06 04:55:04 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:443 ssl:False [Connection refused].
18-11-06 04:55:07 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh

I have tried restarting router and then HA but still same. In fact did that for few times now.

Any help would be much appreciated.

Thanks,
RT

Similar issue with Hassio 1.4.0 and HA 0.81.6 and RaspberryPi3: cannot start Home Assistant.

core-ssh:~# hassio ha logs
...
18-11-06 17:21:32 ERROR (MainThread) [hassio.homeassistant] Error on call https://172.30.32.1:8123/api/services/persistent_notification/create: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused]
18-11-06 17:21:32 ERROR (MainThread) [hassio.api.proxy] Error on API for request services/persistent_notification/create
...

core-ssh:~# hassio ha logs
Error decoding json invalid character 'T' looking for beginning of value: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/__main__.py", line 397, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/homeassistant/__main__.py", line 371, in main
    args = get_arguments()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/__main__.py", line 103, in get_arguments
    import homeassistant.config as config_util
  File "/usr/local/lib/python3.6/site-packages/homeassistant/config.py", line 15, in <module>
    from homeassistant import auth
  File "/usr/local/lib/python3.6/site-packages/homeassistant/auth/__init__.py", line 16, in <module>
    from .mfa_modules import auth_mfa_module_from_config, MultiFactorAuthModule
  File "/usr/local/lib/python3.6/site-packages/homeassistant/auth/mfa_modules/__init__.py", line 10, in <module>
    from homeassistant import requirements, data_entry_flow
  File "/usr/local/lib/python3.6/site-packages/homeassistant/requirements.py", line 10, in <module>
    import pkg_resources
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 35, in <module>
    import plistlib
  File "/usr/local/lib/python3.6/plistlib.py", line 65, in <module>
    from xml.parsers.expat import ParserCreate
  File "/usr/local/lib/python3.6/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: Error relocating /usr/local/lib/python3.6/lib-dynload/pyexpat.cpython-36m-arm-linux-gnueabihf.so: XML_SetCharacterDataHandler: symbol not found

maybe this helps:
There was a problem with mqtt and a discovery.json file with supervidor 139 update. read this from bottom:

I did not have mqtt installed, and the json was not in mnt folder to be deleted.