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

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


Back to the top