-
-
Notifications
You must be signed in to change notification settings - Fork 613
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
MQTT subscriber 3.9.0 windows does not show any topics at all. #1006
Comments
I can confirm the problem. I have the same issues on Win 11. It seems that there are related issues on Linux. I'll try to debug the problem further and eventually submit a patch. |
I've been debugging a bit today on my Linux machine (Plotjuggler 3.9.1). When I open the MQTT plugin window and hit the connect/disconnect button repeatedly, Plotjuggler becomes stuck. The program flow seems to remain within mosquitto_connect_bind_v5() inside mqtt_client.cpp. I've tried to fix this by starting with a fresh mosquitto instance at each connection attempt, which seems to work. The program flow no longer locks up and I'm able to display data. I'll test on windows in the next few days and submit a pull request when I'm confident with the patch. |
Threaded mode of libmosquitto may not be supported on windows (libmosquitto < 2.1). At some point libmosquitto has removed threaded support (mosquitto_loop_start doesn't work and returns MOSQ_ERR_NOT_SUPPORTED). Threaded support will be added again in the future, see eclipse/mosquitto#2707. This commit introduces a thread dedicated to mosquitto to solve the problem.
My colleagues and I were having the same issue. I had solved it by just using the paho mqtt library instead, but #1009 seems like a more robust solution! |
Problem description
Running Windows 10.
Just upgraded from 3.6.0 to 3.9.0
But now MQTT dialog does not list any of the (persistent) topics. Closed, run 3.6, showing all topics. (needed 3.9 to be able to select more than 1 topic from the list).
So back to 3.6.0 for now.
The text was updated successfully, but these errors were encountered: