Cannot access Front End

Here’s what I now see in the overview:

Screen2018-11-07_06-56-09_pm

The MQTT broker can’t be found when I attempt to configure it in integrations, either from the one-click top pane or the config panel from the lower pane.

Here’s and excerpt from the MQTT log:

1541617394: Socket error on client <unknown>, disconnecting. [WARN] Not found homeassistant on local database 1541617396: Socket error on client <unknown>, disconnecting. [WARN] Not found homeassistant on local database 1541617399: Socket error on client <unknown>, disconnecting. [WARN] Not found homeassistant on local database 1541617402: Socket error on client <unknown>, disconnecting. [WARN] Not found homeassistant on local database 1541617405: Socket error on client <unknown>, disconnecting. [INFO] found ashscott on local database

Which suggests to me that Mosquitto MQTT can’t find homeassistant, and vice versa!

There are two options in integration for mqtt. One I think just called mqtt and one called mqtt broker
You have to use the one which requires ip, port user and password.
Maybe try to set anonymous to true in the mqtt add on options and then restart hassio

Thanks, Chris. I already tried those options.

Stumped.

Did you read the addon description https://www.home-assistant.io/addons/mosquitto/ ? It’s pretty good explained there too.

You didn’t use “addons” or “homeassistant” as your mqtt username right?

Yes, I read all of that, and no, I’m not using those usernames.

Mosquitto is seeing my devices but home assistant doesn’t see Mosquitto.

1541618717: New connection from 10.0.1.59 on port 1883.
1541618717: New connection from 10.0.1.8 on port 1883.
1541618717: New connection from 10.0.1.62 on port 1883.
1541618717: New connection from 10.0.1.157 on port 1883.
1541618717: New connection from 10.0.1.11 on port 1883.
1541618717: New connection from 10.0.1.174 on port 1883.
1541618717: New connection from 10.0.1.53 on port 1883.
1541618717: New connection from 10.0.1.123 on port 1883.
1541618717: New connection from 10.0.1.14 on port 1883.
1541618717: New connection from 10.0.1.60 on port 1883.
1541618717: New connection from 10.0.1.28 on port 1883.
1541618717: New connection from 10.0.1.131 on port 1883.
1541618717: New connection from 10.0.1.58 on port 1883.
1541618717: New connection from 10.0.1.154 on port 1883.
1541618717: New connection from 10.0.1.8 on port 1883.
1541618717: New connection from 10.0.1.62 on port 1883.
1541618717: New connection from 10.0.1.59 on port 1883.
1541618717: New connection from 10.0.1.157 on port 1883.
1541618717: New connection from 10.0.1.11 on port 1883.
1541618717: New connection from 10.0.1.174 on port 1883.
1541618717: New connection from 10.0.1.53 on port 1883.
1541618717: New connection from 10.0.1.14 on port 1883.
1541618717: New connection from 10.0.1.123 on port 1883.
1541618717: New connection from 10.0.1.60 on port 1883.
1541618717: New connection from 10.0.1.58 on port 1883.
1541618717: New connection from 10.0.1.28 on port 1883.
1541618717: New connection from 10.0.1.131 on port 1883.
1541618717: New connection from 10.0.1.154 on port 1883.
1541618717: New connection from 10.0.1.8 on port 1883.
1541618717: New connection from 10.0.1.62 on port 1883.
1541618717: New connection from 10.0.1.59 on port 1883.
1541618717: New connection from 172.30.32.1 on port 1883.
1541618717: New connection from 10.0.1.157 on port 1883.
1541618717: New connection from 10.0.1.11 on port 1883.
1541618717: New connection from 10.0.1.174 on port 1883.
1541618717: New connection from 10.0.1.53 on port 1883.
1541618717: New connection from 10.0.1.14 on port 1883.
1541618717: New connection from 10.0.1.60 on port 1883.
1541618717: New connection from 10.0.1.58 on port 1883.
1541618717: New connection from 10.0.1.123 on port 1883.
1541618717: New connection from 10.0.1.28 on port 1883.
1541618717: New connection from 10.0.1.131 on port 1883.
1541618717: New connection from 10.0.1.154 on port 1883.
1541618717: New connection from 10.0.1.8 on port 1883.
1541618717: New connection from 10.0.1.62 on port 1883.
1541618717: New connection from 10.0.1.59 on port 1883.
1541618717: New connection from 10.0.1.157 on port 1883.
1541618717: New connection from 10.0.1.11 on port 1883.
1541618717: New connection from 10.0.1.174 on port 1883.
1541618717: New connection from 10.0.1.53 on port 1883.
1541618717: New connection from 10.0.1.14 on port 1883.
1541618717: New connection from 10.0.1.60 on port 1883.
1541618717: New connection from 10.0.1.58 on port 1883.
1541618717: New connection from 10.0.1.123 on port 1883.
1541618717: New connection from 10.0.1.131 on port 1883.
1541618717: New connection from 10.0.1.28 on port 1883.
1541618717: New connection from 10.0.1.154 on port 1883.
1541618717: New connection from 10.0.1.8 on port 1883.
1541618717: New connection from 10.0.1.62 on port 1883.
1541618717: New connection from 10.0.1.157 on port 1883.
1541618717: New connection from 10.0.1.59 on port 1883.
1541618717: New connection from 10.0.1.11 on port 1883.
1541618717: New connection from 10.0.1.174 on port 1883.
1541618717: New connection from 10.0.1.28 on port 1883.

Thanks for all of your help. Chris.

I’m going to start a new thread as we’ve resolved access the front end and it’s just the MQTT broker issue now.

If you restart your mqtt addons whats the first few lines of the log? Is there a discovery.yaml file in your hassio directory? If yes delete that file and restart everything. And set anonymous:true in the addon config (if you didn’t forward the mqtt port).

Which hassio version are you running?

The log should look like this:
[INFO] Setup mosquitto configuration
[INFO] Found local users inside config
[INFO] Initialize Hass.io Add-on services
[INFO] Initialize Home Assistant discovery
[INFO] Start Mosquitto daemon