I am in the process of setting up MQTT using the MQTT Server & Web client without ssl. The setup appears to go fairly well as reported in the log but I cannot open the web UI. The browser shows that it is trying to use ssl (https://192.168.0.17:5713). I don’t know where port 5713 got configured or why it is trying to use ssl.
Hopefully, my error will be clear to someone more familiar with the territory. I would appreciate some help, please.
My configuration yaml:
mqtt:
broker: a0d7b954-mqtt
port: 1884
username: !secret mqtt_username
password: !secret mqtt_password
client_id: hassio
MQTT Server & Web client configuration
{
"log_level": "info",
"certfile": "",
"keyfile": "",
"web": {
"enabled": true,
"ssl": false
},
"broker": {
"enabled": true,
"enable_ws": true,
"enable_mqtt": true,
"enable_ws_ssl": false,
"enable_mqtt_ssl": false,
"allow_anonymous": false
},
"mqttusers": [
{
"username": "!secret mqtt_username",
"password": "!secret mqtt_password",
"readonly": false,
"topics": [
"#"
]
}
]
}
MQTT Server & Web client log
[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.83.2 / SU 142 / 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…
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 11-patches.sh: executing…
patching file /app/index.html
[cont-init.d] 11-patches.sh: exited 0.
[cont-init.d] 20-mqtt_broker.sh: executing…
INFO: Adding configuration for MQTT Server…
INFO: Setting configuration for websockets…
INFO: Setting configuration for mqtt…
[cont-init.d] 20-mqtt_broker.sh: exited 0.
[cont-init.d] 21-mqtt_web.sh: executing…
[cont-init.d] 21-mqtt_web.sh: exited 0.
[cont-init.d] 40-nginx.sh: executing…
[cont-init.d] 40-nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
INFO: Starting mosquitto MQTT Server…
1548114133: mosquitto version 1.4.15 (build date 2018-03-04 15:36:00+0000) starting
1548114133: Config loaded from /opt/mosquitto.conf.
1548114133: Opening websockets listen socket on port 1884.
1548114133: Opening ipv4 listen socket on port 1883.
1548114133: Opening ipv6 listen socket on port 1883.
INFO: Starting NGINX for the MQTT client…
2019/01/22 10:42:16 [notice] 920#920: using the “epoll” event method
2019/01/22 10:42:16 [notice] 920#920: nginx/1.14.2
2019/01/22 10:42:16 [notice] 920#920: OS: Linux 4.14.81-v8
2019/01/22 10:42:16 [notice] 920#920: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2019/01/22 10:42:16 [notice] 920#920: start worker processes
2019/01/22 10:42:16 [notice] 920#920: start worker process 990