Open gawaskar21 opened 4 years ago
What version of Mosquitto are you using, and on what platform?
Also, are you using websockets? If so, then what version of libwebsockets?
I've tried to reproduce this with and without websockets and am getting exactly the expected results. Are you able to produce a detailed step by step guide to reproducing this with all of the details so I can find what I am doing different?
I am using mosquitto version 1.5.5 , Linux x86_64 OS. Not using websockets.
This behaviour is not seen every time. I see it once every 5 or 6 publisher link flap. Trigger is publisher link flap with lots of continuous msg going on from publisher. Is there any way to clear data in half open socket ?
Hi Guys, I am facing an issue and dont know if it is expected behaviour of mosquitto or it is a bug. May be i have missed some flag.
I have a subscriber and a publisher connected to broker. I am seeing following behaviour when i make the subscriber client link down and up.
keep alive time: 10 mins
subscriber and broker connection reconnects with cleanSession flag true and msgs on topic are with retain flag false, qos = 0.
Is this behaviour expected ? My requirement is to get latest msg after subscriber reconnects. Also When subscriber reconnects, is there any way to connect it with broker immediately rather than waiting for keep alive timer to expire.
Any help is appreciated.
Thanks....