victorclaessen / mqtt-LabVIEW

0 stars 0 forks source link

Wokring with mosquitto 1.6.x broker #2

Open smuellener opened 4 years ago

smuellener commented 4 years ago

When we use cowen71's 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 this library 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
victorclaessen commented 4 years ago

Sorry for the late reply. I've never used this with mosquitto. I use it with EMQx broker, which seems to work reasonably well.