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

Client stops working after subscribing to a topic with lots of retained messages #1044

Open
3 tasks done
gg-dim opened this issue Jul 4, 2024 · 1 comment
Open
3 tasks done

Comments

@gg-dim
Copy link

gg-dim commented Jul 4, 2024

  • Bug exists Release Version 1.2.5 ( Master Branch)
  • Bug exists in MQTTv3 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)
  • Bug exists in MQTTv5 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)

We have a MQTT broker holding several thousands of topics with retained messages. If we try to connect and subscribe (wildcard) to a parent topic the paho client stops working.
Depending on the length of the topic and the message and the network connection, the client stops working after a number of retained messages.

With Mosquitto MQTT broker somewhere in the internet it takes less than 2000 messages.
With Mosquitto MQTT broker on localhost, less then 40000 messages.

I tried to find the cause, but ended up somewhere in the depths of the CommsReceiver.

@gg-dim
Copy link
Author

gg-dim commented Jul 4, 2024

It's a Mosquitto missconfiguration (max_queued_messages) and not paho issue.

@gg-dim gg-dim closed this as completed Jul 4, 2024
@gg-dim gg-dim reopened this Jul 9, 2024
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

1 participant