You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After repeated testing, 4.3.7 has repeated the bug in both cdn and npm, while 4.1.0 introduced into cdn does not have this phenomenon
Repeat the steps for this problem
Client A goes offline
Client B sends A message to A, such as aa, bb, cc, and dd
The client receives the dd, cc, bb, aa message after reconnecting to the client
In normal cases, the message that the client reconnects should be aa, bb, cc, dd
That is just the opposite, I think it is the js logic problem, does not conform to the official document said message queue reconnection principle of first in, first out, resulting in the last message is the first to be received
Problem log: Obviously, the operation log has caused the problem, such as in the red box, the last message sent is the first message received back, so I don't think it is the user code logic.
This is an automated message to let you know that this issue has
gone 365 days without any activity. In order to ensure that we work
on issues that still matter, this issue will be closed in 14 days.
If this issue is still important, you can simply comment with a
"bump" to keep it open.
After repeated testing, 4.3.7 has repeated the bug in both cdn and npm, while 4.1.0 introduced into cdn does not have this phenomenon
Repeat the steps for this problem
That is just the opposite, I think it is the js logic problem, does not conform to the official document said message queue reconnection principle of first in, first out, resulting in the last message is the first to be received
Problem log: Obviously, the operation log has caused the problem, such as in the red box, the last message sent is the first message received back, so I don't think it is the user code logic.

Normal log:

Using the link is pointing to js code: https://cdn.bootcdn.net/ajax/libs/mqtt/4.1.0/mqtt.min.js
The logging should look like this:
Hope it gets noticed and fixed in the new version! Versions for other languages have not yet been tried.
The text was updated successfully, but these errors were encountered: