Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Warning: Received PUBREL from my-bridge for an unknown packet identifier

Got it. Can you help us why we are getting the below error in 2.0.11 error ?

In 2.0.11 Version, we are facing Reused message ID 51 from my-bridge detected.Clearing from storage. In this version, we enabled persistence to write it to a file.

Would you be able to point out what fix (Git commit) has been made to fix this unknown packet identifier in 1.6.13 version?
We have more than 500 customers who are using 1.6.2 version in production. We cannot upgrade it immediately, however, we can put the fix in our repo and release a patch to them.

Regards,
Ajay.D

On Wed, Nov 10, 2021 at 7:02 PM Ben Hardill <hardillb@xxxxxxxxx> wrote:
Hi,

1.6.2 is definitely not newer than 1.6.13  (13 > 2)

On 10/11/2021 11:36, ajay dinakaran wrote:
> Thanks for replying, Roger. We are using 1.6.2 version which is greater
> than 1.6.13 version.
>
> In 1.6.2 Version, we are facing Warning: Received PUBREL from my-bridge
> for an unknown packet identifier 51.
> In 2.0.11 Version, we are facing Reused message ID 51 from my-bridge
> detected.Clearing from storage. In this version, we enabled persistence
> to write it to a file.
>
> In both cases, Mosquitto is not sending PUBREC back to the sender.
>
> I'm not able to reproduce this in a fresh setup. Not sure, how did
> mosquitto got into this state. Let me know if there is a specific commit
> we can look into if there is a fix.
>
> Regards,
> Ajay.D
>
> On Wed, Nov 10, 2021 at 3:25 PM Roger Light <roger@xxxxxxxxxx
> <mailto:roger@xxxxxxxxxx>> wrote:
>
>     Hi Ajay,
>
>     Looking back over the changelog, it seems likely that this is related
>     to a bug that has been fixed - I don't have the specifics to hand, but
>     there are definitely mentions of handling messages with QoS > 0 which
>     could be causing what you see. I'd recommend upgrading to a more
>     recent version - either 1.6.13 or 2.0.13 - and seeing if you still get
>     the problem.
>
>     Regards,
>
>     Roger
>
>     On Wed, 10 Nov 2021 at 06:16, ajay dinakaran
>     <ajaydinakaran16@xxxxxxxxx <mailto:ajaydinakaran16@xxxxxxxxx>> wrote:
>      >
>      > Hi Team,
>      >  Recently, we have faced the below error in a few mosquito
>     instances. After we get the below warning, mosquitto is not sending
>     the PUBREC packet for the subsequent messages to the sender once it
>     receives the PUBLISH packet. I understand PUBCOMP is sent even after
>     the PUBREC warning. But, I believe something else is blocking the
>     mosquitto to send the PUBREC packet for the subsequent messages.
>     Here sender is the Hive MQ to the mosquitto (V1.6.2). Mosquitto and
>     HiveMQ are connected via a bridge.
>      >
>      > 2021-11-09T05:22:18: Received SUBACK from my-bridge
>      > 2021-11-09T05:22:41: Received PUBLISH from my-bridge (d0, q2, r0,
>     m51, 'mytopic/command/Test123', ... (7 bytes))
>      > 2021-11-09T05:22:41: Sending PUBREC to my-bridge (m51, rc0)
>      > 2021-11-09T05:22:41: Received PUBREL from my-bridge (Mid: 51)
>      > 2021-11-09T05:22:41: Warning: Received PUBREL from my-bridge for
>     an unknown packet identifier 51.
>      > 2021-11-09T05:22:41: Sending PUBCOMP to my-bridge (m51)
>      > 2021-11-09T05:22:57: Received PUBLISH from my-bridge (d0, q2, r0,
>     m101, 'mytopic/command/Test456', ... (7 bytes))
>      > 2021-11-09T05:23:36: Sending PINGREQ to my-bridge
>      >
>      > Regards,
>      > Ajay.D
>      > _______________________________________________
>      > mosquitto-dev mailing list
>      > mosquitto-dev@xxxxxxxxxxx <mailto:mosquitto-dev@xxxxxxxxxxx>
>      > To unsubscribe from this list, visit
>     https://www.eclipse.org/mailman/listinfo/mosquitto-dev
>     <https://www.eclipse.org/mailman/listinfo/mosquitto-dev>
>     _______________________________________________
>     mosquitto-dev mailing list
>     mosquitto-dev@xxxxxxxxxxx <mailto:mosquitto-dev@xxxxxxxxxxx>
>     To unsubscribe from this list, visit
>     https://www.eclipse.org/mailman/listinfo/mosquitto-dev
>     <https://www.eclipse.org/mailman/listinfo/mosquitto-dev>
>
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev
>

--
https://www.hardill.me.uk/wordpress
https://github.com/hardillb
https://about.me/hardillb
https://flickr.com/photos/hardillb/
https://keybase.io/hardillb
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev

Back to the top