Open OleksandrBerezianskyi opened 5 years ago
@OleksandrBerezianskyi you missed the publisher client part. I mean the error here relates to the fact that PubRelMarker
can't be cast to PublishedMessage
due to a timeout of a message in flight from broker to client. The PubRelMarker is a placeholder class that reppresents the PUBREL message from broker to a subscriber that want to receive messages at QoS2. Please, could you share a complete log file from bootstrap of the broker till the crash moquette.log and messages.logs? It could help a lot to understand/ reproduce, thanks
Expected behavior
After reconnect of the same client with clean_session = false and subscribing to the same topic with QoS = 1 all missed messages should appear
Actual behavior
Exception is thrown while trying to resend unacked message:
Steps to reproduce
Minimal yet complete reproducer code (or URL to code) or complete log file
Client using python 3.7
Moquette MQTT version
moquette-broker-0.12.1.jar
JVM version (e.g.
java -version
)OS version (e.g.
uname -a
)