dotnet / MQTTnet

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
MIT License
4.51k stars 1.07k forks source link

Unable to receive offline data after reconnecting after disconnection #1794

Open z1337367822 opened 1 year ago

z1337367822 commented 1 year ago

The persistent sessions set by the client have been successful. After the client disconnects and reconnects, there is no need to subscribe here. As long as there is a corresponding topic published, you can receive the relevant information from the previous subscription. However, after the disconnection and reconnection, you cannot receive the content published by the corresponding topic during the disconnection period

PontusHolmberg commented 1 year ago

I have the same issue. Any updates?

TorakikiITA commented 1 month ago

Hello, I've got the same issue, with V5 protocol. V311 is working fine with persistent sessions, while V5 never receives anything.