Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
5.12.0
-
None
-
None
Description
Hi,
I am trying to connect to an ActiveMq Broker version 5.11.1 , using the ActiveMQConnectionFactory. On the client side I tried both client version 5.11.2 and 5.12.0
On server side, authentication is enabled.
If I supply wrong username and password, the call to connection.start() hangs .
Debugging the code, I see it hangs in org.apache.activemq.transport.FutureResponse.getResult().
(this is indirectly called by syncSendPacket in the ensureConnectionInfoSent method in ActiveMQConnection)
On server side, i see the error message:
INFO | Stopping tcp://127.0.0.1:53846 because Failed with SecurityException: User name [null] or password is invalid.
It looks like client side is waiting indefinitely for an answer that will never arrive
Attachments
Issue Links
- relates to
-
AMQCPP-643 Add an option to time out connection attempts when blocked in ensureConnectionInfoSent
- Resolved