[rabbitmq-discuss] java.io.IOException, when factory call newConnection function

Emile Joubert emile at rabbitmq.com
Fri Sep 27 10:04:04 BST 2013


Hi,

On 27/09/13 03:24, houzhibin wrote:
> when
>          Connection connection = factory.newConnection();  
> 
> throw exception :

[...]
> com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:360)
[...]


This line from the trace corresponds to the following line in the source
(assuming you are using a recent version of the client library):

 throw new PossibleAuthenticationFailureException(e);

The broker logfile will probably contain an error message explaining
that incorrect authentication details were provided. That means the
username or password was wrong.


-Emile






More information about the rabbitmq-discuss mailing list