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 does not receive messages from subscribed topics when repeatedly reconnected with same client ID and will with non-zero will-delay-interval. #1752

Closed
izuzanak opened this issue Jul 20, 2020 · 0 comments
Milestone

Comments

@izuzanak
Copy link

Overview:

Client does not receive messages from subscribed topics when repeatedly reconnected with same client ID and will with non-zero will-delay-interval.

Steps to reproduce (non deterministic):

  • Fresh broker start.
  • Spam messages on topic "/mqtt/test" (qos 2).
  • Connect and disconnect client (mosquitto_sub), registering will with delay interval (e.g. 10 secs), until it stops receiving spam message.
mosquitto_sub -i MosquittoSub --will-topic "/mqtt/test" --will-payload "Message_published_as_will" --will-qos 2 --will-retain -V 5 -D WILL will-delay-interval 10 -v -t '#'

Details:

  • Mosquitto versions 1.6.9, 1.6.10.
  • Clients are disconnected gracefully.
  • Retained messages at topic "/mqtt/test" are published after subscription.
  • Messages published by third client (or even by mosquitto_sub client itself) are not published by broker to mosquitto_sub client.
  • Client can publish to broker and receives all PUBACK type packets while still not receiving PUBLISH messages from broker.
  • Ping messages are communicated successfully.
  • Seems to occur only for freshly started broker.
@ralight ralight added this to the 1.6.11 milestone Aug 11, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants