Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Old Messages being replayed on QOS 2

Hi Adam,

Ah that makes a bit more sense. Glad to hear you got it sorted.

Cheers,

Roger



On Mon, Jan 11, 2016 at 10:30 PM, Adam Mills <adam@xxxxxxxxxxxxx> wrote:
Hi Robert,

Its all the client. The client is being sent a Shutdown message.
We have got to the bottom of it - we are on a managed server with no visibility of the server it self. Unfortunately it ran out of disk space and we were not notified.
When the server was restarted, it started from the last time it could save state... hence all the old messages being replayed.

Thanks
Adam

face_with_text_black

Easier parenting. Healthier kids

+61 410 389 092 | adam@xxxxxxxxxxxxx

Follow us on angel list https://angel.co/koalasafe

On Tue, Jan 12, 2016 at 8:52 AM, Roger Light <roger@xxxxxxxxxx> wrote:
Hi Adam,

I'm a bit confused on what is what here, could you explain a bit more?
It seems as though you're saying that your server is the mqtt client,
is that what you mean? Or is it the mqtt server that is being told to
shut down?

Either way, if you've got a fresh client instance connecting to a
broker with clean_session=true, then you definitely shouldn't be
receiving any new messages. I'm very surprised you appear to be
receiving duplicate PUBREL from mid 11 to 0 in the same second.
There's no way that should happen either.

Cheers,

Roger



On Tue, Jan 5, 2016 at 10:48 PM, Adam Mills <adam@xxxxxxxxxxxxx> wrote:
>
> I am using Mosquito 1.4.1 broker (CloudMqtt)
>
> We are seeing old messages (weeks old) being replayed when a temporarily
> disconnected client reconnects.
> I have attached the logs
>
>
> It looks as if the issue is that our shutdown message shutsdown the server
> before the shutdown message has its PUBCOMP sent.
> When the client starts again it receives a number of messages before that
> shutdown message.
>
> Is this a bug? How can we ensure the shutdown message is processed before
> terminating? (Using paho-mqtt python)
>
> Thanks
> Adam
>
>
>
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top