[
https://issues.apache.org/jira/browse/AMQNET-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016118#comment-18016118
]
ASF subversion and git services commented on AMQNET-848:
--------------------------------------------------------
Commit 7d27eb2266d39057255415767ac86200baf153f7 in activemq-nms-openwire's
branch
refs/heads/revert-44-revert-42-AMQNET-848-Failover-Transport-Protocol-Excessive-Reconnection-Attempts-on-Credential-Failure
from Krzysztof Porebski
[ https://gitbox.apache.org/repos/asf?p=activemq-nms-openwire.git;h=7d27eb2 ]
Revert "Revert "AMQNET-848 Failover Transport Protocol Excessive Reconnection…"
This reverts commit 720a29c4c63cedb08112aeff0918edfb6df093df.
> Failover Transport Protocol Excessive Reconnection Attempts on Credential
> Failure
> ---------------------------------------------------------------------------------
>
> Key: AMQNET-848
> URL: https://issues.apache.org/jira/browse/AMQNET-848
> Project: ActiveMQ .Net
> Issue Type: Bug
> Components: NMS
> Affects Versions: OpenWire-2.1.0
> Reporter: Murali Mogalayapalli
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> *Failover Transport Protocol behavior:*
> When authentication credentials are invalid (e.g., expired or incorrect), the
> AMQNet client’s *failover mechanism* enters a rapid reconnect loop. This
> results in a high-frequency reconnection pattern that behaves like a
> *denial-of-service (DoS)* against the broker.
> *Problem*
> The InactivityMonitor::OnCommand method doesn't handle the ExceptionResponse
> resulting in this behavior.
> *Fix*
> * Handle the ExceptionResponse the way it is handled in
> Conection::SyncRequestAsync method. Propagate the exception
> * Bail out the FailoverTransport from reconnecting when a
> NMSSecurityException is passed to FailoverTransport::HandleTransportFailure
> method.
--
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