Hey there, sorry for my bad English.
I have a problem with MQTT.
I had the same Problem already with obenhab 2 and now with openHAB 3.
I installed openHAB 3 on my Raspberry PI 4 an added an Broker.
all worked fine but after a time might a restart the broker wont work.
CONNECT failed as CONNACK contained an Error Code: NOT_AUTHORIZED.
hi @hafniumzinc, I have the same problem with mqtt broker.
I use mosquitto and it’s active, I don’t have username and password, I’m using openhabian 3.2.0, broker configuration in oh it’s my raspberry ip, port 1883.
Hope you can help me
What is permission of the dirctory /var/log/mosquitto: ls -ld /var/log/mosquitto/
What is the content of your log file /var/log/mosquitto/mosquitto.log ?
What is the output of sudo netstat -tulpn | grep 1883
This means that mosquitto is running and listening only to MQTT traffic on the host itself.
Traffic and requests from local network via ethernet are not taken into account as it is not listening on the ethernet internface.