Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Java: QoS 2 wrong packet id
Java: QoS 2 wrong packet id [message #1787125] Sat, 19 May 2018 10:30
Andreas Müller is currently offline Andreas MüllerFriend
Messages: 1
Registered: May 2018
Junior Member
Hi,

when I subscribe with Paho Java client with QoS 2, the server sends a PUBLISH and it is answered by the client with PUBREC and so on...

The packet id in the PUBREC must match the one sent in the PUBLISH. But what I see is that the client sends another packet id. From the server log:

server->client:

SND: MqttPublishMessage[fixedHeader=MqttFixedHeader[messageType=PUBLISH, isDup=false, qosLevel=EXACTLY_ONCE, isRetain=false, remainingLength=0], variableHeader=MqttPublishVariableHeader[topicName=MQTT/Examples, packetId=0], payload=io.netty.buffer.ByteBuf@6c36aa7c]

client->server:

RCV: MqttMessage[fixedHeader=MqttFixedHeader[messageType=PUBREC, isDup=false, qosLevel=AT_MOST_ONCE, isRetain=false, remainingLength=2], variableHeader=MqttMessageIdVariableHeader[messageId=2], payload=]

Any hints?

Thanks,
Andreas
Previous Topic:Paho mqtt connection
Next Topic:Connection Error Handling
Goto Forum:
  


Current Time: Thu Apr 25 23:02:03 GMT 2024

Powered by FUDForum. Page generated in 0.03057 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top