Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with mosquitto 1.6.x broker #2

Open
smuellener opened this issue May 27, 2020 · 1 comment
Open

Does not work with mosquitto 1.6.x broker #2

smuellener opened this issue May 27, 2020 · 1 comment

Comments

@smuellener
Copy link

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
Copy link
Owner

cowen71 commented May 28, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants