[rabbitmq-discuss] java.net.SocketTimeoutException: Timeout during Connection negotiation

k.madnani84 k.madnani84 at gmail.com
Mon Jan 27 14:01:14 GMT 2014


Hi,

I am trying to connect to connect large number of threads from Jmeter(Java
plugin) to my RabbitMQ after making the Heartbeat and timeout setting to 0
meaning infinite but i still face this exception after certain amount of
threads.Could anybody tell the reason and how can we fix it.

com.zeroclue.jmeter.protocol.amqp.AMQPPublisher: Failed to initialize
channel :  java.io.IOException
	at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
	at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
	at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:360)
	at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:516)
	at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533)
	at
com.zeroclue.jmeter.protocol.amqp.AMQPSampler.createChannel(AMQPSampler.java:406)
	at
com.zeroclue.jmeter.protocol.amqp.AMQPSampler.initChannel(AMQPSampler.java:78)
	at
com.zeroclue.jmeter.protocol.amqp.AMQPPublisher.initChannel(AMQPPublisher.java:229)
	at
com.zeroclue.jmeter.protocol.amqp.AMQPPublisher.sample(AMQPPublisher.java:62)
	at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
	at java.lang.Thread.run(Thread.java:724)
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error;
reason: java.net.SocketTimeoutException: Timeout during Connection
negotiation
	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.AMQConnection.start(AMQConnection.java:313)
	... 9 more





--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/java-net-SocketTimeoutException-Timeout-during-Connection-negotiation-tp32882.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list