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

murthy at swapstech.com murthy at swapstech.com
Tue Jun 10 23:12:05 BST 2014


Dear RabbitMQ Users,

I have a node installed in Amazon EC2 (in a public domain) and I am able
to telnet and I am also able to see management console from a browser, but
when I try to connect to this server and publish a message, I am getting
the following error. Can you please let me know what is possibly causing
this issue?

Regards
Murthy

com.rabbitmq.client.PossibleAuthenticationFailureException: Possibly
caused by authentication failure
	at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:355)
	at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:516)
	at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533)
	at
com.swapstech.fxstar.message.amqp.AMQPFactory.setupRabbitMQ(AMQPFactory.java:62)
	at com.swapstech.fxstar.message.amqp.AMQPFactory.init(AMQPFactory.java:80)
	at
com.swapstech.fxstar.message.amqp.AMQPFactory.getInstance(AMQPFactory.java:137)
	at
com.swapstech.fxstar.workflow.service.WorkflowEngine.publishEvent(WorkflowEngine.java:111)
	at
com.swapstech.fxstar.workflow.test.PublishToWorkflowEngineTest.testCreateTradeVerifyAction(PublishToWorkflowEngineTest.java:12)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error;
reason: java.net.SocketException: Connection reset
	at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
	at
com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
	at
com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)
	at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:216)
	at com.rabbitmq.client.impl.AMQChannel.rpc(AMQChannel.java:202)
	at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:347)
	... 25 more
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(Unknown Source)
	at java.net.SocketInputStream.read(Unknown Source)
	at java.io.BufferedInputStream.fill(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at java.io.DataInputStream.readUnsignedByte(Unknown Source)
	at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:95)
	at
com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:131)
	at
com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:515)




More information about the rabbitmq-discuss mailing list