hassio-addons / addon-mqtt

MQTT Server & Web client - Home Assistant Community Add-ons
https://addons.community
MIT License
35 stars 15 forks source link

can't connect to 1883 after update to 0.3.0 #18

Closed lpt2007 closed 5 years ago

lpt2007 commented 5 years ago

When I try to connect from mqtt web client I get error:

Connect failed: AMQJS0007E Socket error:undefined.

I use hassos 1.13 on rpi3.

addon conf: { "log_level": "info", "certfile": "fullchain.pem", "keyfile": "privkey.pem", "web": { "enabled": true, "ssl": true }, "broker": { "enabled": true, "enable_ws": true, "enable_mqtt": true, "enable_ws_ssl": true, "enable_mqtt_ssl": true, "allow_anonymous": false }, "mqttusers": [ { "username": "user", "password": "*****", "readonly": true, "topics": [ "#" ] } ] }

error in addon log: 1546026878: New connection from 192.168.0.15 on port 1883. 1546026878: Socket error on client , disconnecting.

addons-assistant[bot] commented 5 years ago

:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

ludeeus commented 5 years ago

Resolved on Discord,

lpt2007 commented 5 years ago

Set readonly: true to readonly: false and restart addon.

Sent from my iPhone

On 2 Jan 2019, at 00:53, CuBiC notifications@github.com wrote:

What was the resolution? Running in same problem here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

addons-assistant[bot] commented 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.