cowen71 / mqtt-LabVIEW

AN MQTT Driver implementation for LabVIEW
28 stars 34 forks source link

Does not work with mosquitto 1.6.x broker #2

Open smuellener opened 4 years ago

smuellener commented 4 years ago

When we use this library to connect to mosquitto v 1.4.x and 1.5.x it works fine. When we try to connect to mosquitto 1.6.x broker, the connection can not be established. Is this problem known? Does https://github.com/victorclaessen/mqtt-LabVIEW solve this problem? Thank you

Error message in mosquitto broker:

Socket error on client <unknown>, disconnecting.

mosquitto.conf:

log_dest stdout
log_type error
log_type warning
log_type notice
log_type information
log_type debug

allow_anonymous true

user root
port 1883
protocol mqtt
listener 9001
protocol websockets
persistence true
persistence_file infrastructure_messaging_mosquitto.db
persistence_location /mosquitto/data/
autosave_on_changes false
autosave_interval 60
cowen71 commented 4 years ago

mosquitto 1.6.x switched to using the MQTTv5. I assume this is where the problem lies. Unfortunately, I do not have the time to look at this right now. Maybe someone else will pick this up, otherwise I hope that I will get to it in the coming weeks.