[
https://issues.apache.org/jira/browse/ARTEMIS-5691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram updated ARTEMIS-5691:
------------------------------------
Summary: Race between MQTT CONNACK & disconnection for auth failures
(was: Durable sub on activemq.notifications causes no CONNACK to be sent on
failed login)
> Race between MQTT CONNACK & disconnection for auth failures
> ------------------------------------------------------------
>
> Key: ARTEMIS-5691
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5691
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: JMS, management
> Affects Versions: 2.42.0
> Environment: The behaviour is reproducible on both a clean local
> Artemis instance and a Docker container, though is more consistent on the
> latter. It is also not observed on any of the versions from 2.39.0 to 2.41.0
> inclusive.
> Reporter: Aliaksandr Zhurauski
> Assignee: Justin Bertram
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> After updating ActiveMQ Artemis from 2.41.0 to 2.42.0, creating a durable
> subscription on the activemq.notifications topic causes no CONNACK to be sent
> in response to unsuccessful connection attempts with wrong user credentials.
> The behaviour also only seems to affect the activemq.notifications topic, and
> persists even after restarting the broker.
> A demo reproducing the issue:
> [https://github.com/AlexanderZhurauski/artemisdemo/tree/main/src]
> The demo is in the form of a Spring Junit 5 test with a
> apache/activemq-artemis:2.42.0-alpine test container, where a durable
> subscription on activemq.notifications is created using the Spring JMS
> SingleConnectionFactory and repeated failed connections attempts are made
> using the Paho MQTT client.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact