You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that missed messages are not forwarded to persistent sessions on reconnect, using mosquitto_sub with options -c and -i sets with a Qos of 2 and messages published with a Qos of 2 or 1.
I have seen this behavior with mosquitto 2.0.15 and 2.0.20 in docker
with the following configuration.
@Corentin-Luc-Artaud This is related to an existing ticket #2618. In short, in mosquitto >= 2.0.12, if per_listener_settings true, then the session persistence does not work :/
So currently you have the following options:
Try to avoid using the per_listener_settings true setting (though this may not be feasible for your use-case)
Use mosquitto 2.0.11 (though it also has its own issues)
It seems that missed messages are not forwarded to persistent sessions on reconnect, using mosquitto_sub with options
-c
and-i
sets with a Qos of 2 and messages published with a Qos of 2 or 1.I have seen this behavior with mosquitto 2.0.15 and 2.0.20 in docker
with the following configuration.
the compose file used to start the service
and there is the script used to test the behavior of persistent session
I need this feature for a project, may you explain what i missed to have it working ?
The text was updated successfully, but these errors were encountered: