change the host to your internal ip, probably your port is not forwarded in your router
Check for clues in the addon log (same page that have the “OPEN UI” button)
the same problem
hassio.local:5713 and 192.168.1.29:5713
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Hass.io Add-on: MQTT Server & Web client v0.3.1
Mosquitto MQTT Server bundled with Hivemq's web client
From: Community Hass.io Add-ons
By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
aarch64 / HassOS 1.13 / HA 0.85.0 / SU 141 / stable
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing...
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing...
FATAL: The configured certfile is not found
[cont-init.d] 10-requirements.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
-----------------------------------------------------------
Oops! Something went wrong.
We are so sorry, but something went terribly wrong when
starting or running this add-on.
Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.`Preformatted text`
This will be why
Hi, I have my MQTT Server Add-ON setup and working fine but when rebooting the host, the service MQTT Server doesn’t load fast enough for HA to connect and cause all MQTT entities to not load. If I restart the HASS service after the reboot everything work fine.
homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected.
I found this thread talking about services config file to let HA know which services need to be load before launching HA. How can we access this file with HASSIO?
Interested, same issue here… If I do full reboot, I always need to restart first HA upon first boot
v1.0.0
v1.0.1
What options do I put here? I have tried all the ports, IP (10.10.1.13), hostname (a0d7b954-mqtt) and SSL/non-SSL.
I get this error:
Add-on Config:
{ "log_level": "info", "certfile": "fullchain.pem", "keyfile": "privkey.pem", "web": { "enabled": true, "ssl": false }, "broker": { "enabled": true, "enable_ws": false, "enable_mqtt": true, "enable_ws_ssl": true, "enable_mqtt_ssl": true, "allow_anonymous": false }, "mqttusers": [ { "username": "mqttuser", "password": "my-password", "readonly": false, "topics": [ "#" ] } ] }
configuration.yaml:
mqtt: broker: a0d7b954-mqtt port: 1883 username: mqttuser password: my-password client_id: mqtt-home-assistant
Since you are using SSL, you need to use the domain name for that certificate as the host name
I have tried with and without SSL checked. All have the same error message.
Just checking that will not get you there
You have not enabled the non SSL port for WebSockets (ws) (1884)
"enable_ws": false,
In a web browser, you can only use websocket ports.
1884 - non SSL
4884 - SSL
Got it! I am connected now.
I had to change the client ID so it was different than one the configuration.yaml is using. If I used the same, it would disconnect me immediately.
I’m trying to get this working, but when I open the web UI it’s asking for an username and password. What ever I try I can not authenticate.
Which username and password is required?
EDIT: FYI, the page URL which he is trying to open:
http://hassio.local:5713/mqtt
You home assistant username / password.
Tried that, it’s not accepted somehow…
EDIT:
Restarted the Hassio and tried to get to the webui again, the HA logfile shows:
2019-05-10 20:27:32 ERROR (MainThread) [homeassistant.components.hassio.auth] Can’t find Home Assistant auth.
EDIT2: Solved it.
Because I added, in my configuration.yaml, to get my ssh add-on working:
#https:/github.com/home-assistant/hassos/issues/224
auth_providers:
- type: trusted_networks
trusted_networks:
- 172.16.0.0/12
I remarked this and restarted hassio and now it’s working.
Need to find an other solution for my SSH server add on, I guess…
Another problem. The webui seems unresponsive, when I hit the ‘Connect’ button, nothing happens and nothing is mentioned in the logs…
Only the ‘Add New Topic Subscription’ opens a window, so this seems to be working and collapse ^ is responding.
I’m using Firefox and tried Chrome (under Linux).
Any thoughts?
Open a issue @ github for it, provide the full addon log and screenshots there.