You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2026/03/17 01:06:00 UTC
[jira] [Closed] (ARTEMIS-5798) MQTT QoS2 unauthorized publish ignored on retry
[ https://issues.apache.org/jira/browse/ARTEMIS-5798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clebert Suconic closed ARTEMIS-5798.
------------------------------------
> MQTT QoS2 unauthorized publish ignored on retry
> -----------------------------------------------
>
> Key: ARTEMIS-5798
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5798
> Project: Artemis
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 2.44.0
> Environment: Artemis 2.44.0
> Eclipse Paho MQTT Python client 2.1.0
> Reporter: Tommy Tsim
> Assignee: Justin Bertram
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.53.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> With MQTT 3.1.1, when PUBLISH QoS2 packet failed (custom LoginModule throw ActiveMQSecurityException based on time), the client reconnect with valid credential and resend the same PUBLISH packet. The server ignores and logs:
> {noformat}
> AMQ834009: Ignoring duplicate MQTT QoS2 PUBLISH packet for packet ID client from client with ID XX.{noformat}
> Server session state is not handling the failed PUBLISH packet so PUBLISH packet with the same packet ID no longer be handled.
> Reference:
> https://github.com/apache/activemq-artemis/blob/2.44.0/artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTPublishManager.java#L209-L212
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org