[rabbitmq-discuss] Unable to connect to a node running in Amazon EC2

Michael Klishin mklishin at gopivotal.com
Tue Jun 10 23:49:37 BST 2014


On 11 June 2014 at 02:11:44, murthy at swapstech.com (murthy at swapstech.com) wrote:
> > com.rabbitmq.client.PossibleAuthenticationFailureException:  
> Possibly
> caused by authentication failure

This exception means that TCP connection was closed before AMQP 0-9-1 connection negotiation
could finish. Per AMQP 0-9-1 spec, this is how brokers should indicate authentication
failure.

I suspect that it is simply an authentication failure and not a networking problem (those
would likely result in a different exception). If you upgrade to RabbitMQ and Java client 3.3,
you should see a more specific authentication failure exception.

Even better, have a look at RabbitMQ log — does it log an incoming connection and an authentication failure? 
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list