moscajs / mosca

MQTT broker as a module
mosca.io
3.2k stars 513 forks source link

Received messages to client after reconnect #701

Open sunny1974 opened 6 years ago

sunny1974 commented 6 years ago

I'm currently using mosca with mongodb as a backend, Sometimes i'm facing issue like i received published messages after reconnect.

example: Client A: Subscribed to a topic Client B: Published a message to to topic Client A: Received message . . . . . After some time: Client B: published a message Client A: Not received a message Client A: User reconnects client Client A: Received message

Can any one please tell me why it is happening?

sunny1974 commented 6 years ago

@mcollina : Any suggestion please??

mcollina commented 6 years ago

I will be traveling for close to a month, unfortunately I won’t have time to help.

sunny1974 commented 6 years ago

@mcollina thanks man :-) ... I will try to resolve this.. whenever you have a time pls look into this...