You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/03/04 20:21:00 UTC

[jira] [Work logged] (ARTEMIS-5798) MQTT QoS2 unauthorized publish ignored on retry

     [ https://issues.apache.org/jira/browse/ARTEMIS-5798?focusedWorklogId=1007917&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1007917 ]

ASF GitHub Bot logged work on ARTEMIS-5798:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Mar/26 20:20
            Start Date: 04/Mar/26 20:20
    Worklog Time Spent: 10m 
      Work Description: jbertram opened a new pull request, #6275:
URL: https://github.com/apache/artemis/pull/6275

   (no comment)




Issue Time Tracking
-------------------

            Worklog Id:     (was: 1007917)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>          Time Spent: 10m
>  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