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

Mosquitto does not send the Last Will Message when "per_listener_settings true" #2344

Closed
z4m0 opened this issue Oct 12, 2021 · 2 comments
Closed

Comments

@z4m0
Copy link

z4m0 commented Oct 12, 2021

Versions:

  • Ubuntu (2.0.12)
  • Docker:latest (2.0.12) in a Raspberry

Mosquitto does not send the Last Will Message when "per_listener_settings true" but it does when "per_listener_settings false"

Steps to reproduce:

Client 1:

mosquitto_sub -d -i Subscriber123 -t home/living-room/temperature --will-topic home/sensor-problems --will-payload "Problem with Subscriber123" -h localhost --will-retain

Client 2:

mosquitto_sub -d  -t home/sensor-problems -h localhost

Working config:

per_listener_settings false
listener 1883
allow_anonymous true

Not working config:

per_listener_settings true
listener 1883
allow_anonymous true

And kill the client 1 with kill -SIGKILL [pid]

Client 2 won't get the Last Will Message in the Second configuration.

@hvxl
Copy link

hvxl commented Oct 12, 2021

This sounds an awful lot like issue #2342

@z4m0
Copy link
Author

z4m0 commented Oct 13, 2021

It was fixed in #2314 but it has not been released yet. Closing this issue.

@z4m0 z4m0 closed this as completed Oct 13, 2021
@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