Solved...Sudden fail... cannot reach host mqtt: duckdns wont connect

------ duh… forgot to change the host ip address in the port forwarding section of the router…
hope that helps.


all of a sudden i cant reach the frontend of my Hassio setup anymore.

duckdns wont go to my Hassio (it does have the correct external i address of my router), and when i try to login locally on Hassio etc, it keeps showing loading data…

If i reboot, i do see the startup automations kickin, even hear Morgan Freeman welcoming me home :wink:
meaning the system did reboot and is running.

i can ssh in and see the log with this main issue:

2018-03-24 16:14:56 ERROR (MainThread) [homeassistant.setup] Error during setup of component mqtt
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/", line 142, in _async_setup_component
    result = await component.async_setup(hass, processed_config)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/mqtt/", line 397, in async_setup
    success = await[DATA_MQTT].async_connect()  # type: bool
  File "/usr/lib/python3.6/site-packages/homeassistant/components/mqtt/", line 519, in async_connect
    self._mqttc.connect,, self.port, self.keepalive)
  File "/usr/lib/python3.6/asyncio/", line 332, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/", line 250, in _wakeup
  File "/usr/lib/python3.6/asyncio/", line 245, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/paho/mqtt/", line 768, in connect
    return self.reconnect()
  File "/usr/lib/python3.6/site-packages/paho/mqtt/", line 895, in reconnect
    sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
  File "/usr/lib/python3.6/", line 724, in create_connection
    raise err
  File "/usr/lib/python3.6/", line 713, in create_connection
OSError: [Errno 113] Host is unreachable

i did reboot the rpi host, and the router because of a firmware upgrade, which changed the base ip address. I changed that in the mosquitto setup of my mqtt publisher, so that should have taken care of that?

Please help, i have no clue what i must be looking for now…how can i test if the rpi has internet connection? it is seen on the router, and network.