Skip to content

Unexpected error: pubrec_packetId_not_found #12883

Answered by keynslug
YraganTron asked this question in Q&A
Discussion options

You must be logged in to vote

Did I understand correctly that Message-Expiry-Interval is the cause of pubrec_packetId_not_found?

Most likely, yes.

If we drop a message using Message-Expiry-Interval, then it shouldn’t continue to hang in the queue, right?

I believe it actually doesn't hang in the queue. The message gets allocated Packet ID and delivered right away, skipping any queues, likely because there is still enough space according to the Client's Receive Maximum. Then it expires once these 5 seconds timeout pass, thereby freeing the Packet ID, this is probably why there are warnings when PUBRECs arrive later.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@YraganTron
Comment options

@keynslug
Comment options

Answer selected by YraganTron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants