Open altwohill opened 1 year ago
I had experienced similar problem and the solution was to add .WithSessionExpiryInterval(uint.MaxValue)
.
Apparently, the session length is by default 0 seconds, which is not very useful.
FWIW we are using self-hosted HiveMQ.
Any update on this?
Describe the bug
Apologies if this is me misunderstanding something, or if this is actually a bug.
When testing behaviour of
.WithCleanSession(false)
I'm finding the client is not picking up messages that were sent while the client was previously offline. However if I change the protocol to V3.11 it works as expected.Which component is your bug related to?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Messages sent during step 3 above should display immediately upon reconnecting.
Not working
Working
Again, not sure if I'm missing something but it does almost seem like the client unsubscribes when it shuts down - but I don't want it to do this!