I would run tcpdump on the conversation on see if it&#39;s actually sending that. Unless you&#39;re running a modified RabbitMQ server, that&#39;s *very* strange to me.<div><br></div><div>It seems more likely to me that the client is messing up somehow.</div>

<div><br></div><div>Regards,</div><div><br>Gavin<br><br><div class="gmail_quote">On Wed, Oct 26, 2011 at 1:13 PM, Cory Showers <span dir="ltr">&lt;<a href="mailto:c_showers@hotmail.com">c_showers@hotmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



<div><div dir="ltr">
Can someone help me out with this.<br><br>I&#39;ve been using RabbitMQ locally on my windows box successfully for sometime.  But when I try to run on linux with server and client on different linux machines I get this error<br>

<br>AMQP protocol version mismatch; we are version 0-9-1, server sent signature 1,1,0,9<br><br>I am using RabbitMQ version 2.5.1 server and client which supports 0-9-1 but I dont know why the server signature says 1,1,0,9.<br>

<br>To narrow down the problem the java client build I&#39;m running I first ran on Windows and pointed the host to the Linux Rabbit server.  And it worked fined when I passed some messages.<br><br>But using the same client build deployed on a Linux box I get the above error.  Only when it tries to send a message not on startup.  Here is the exact stacktrace<br>

<br>Exception in thread &quot;pub-sub-pool-2&quot; org.springframework.amqp.AmqpIOException: java.io.IOException<br>        at org.springframework.amqp.rabbit.connection.RabbitUtils.convertRabbitAccessException(RabbitUtils.java:109)<br>

        at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:118)<br>        at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:179)<br>

        at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils$1.createConnection(ConnectionFactoryUtils.java:77)<br>        at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.doGetTransactionalResourceHolder(ConnectionFactoryUtils.java:121)<br>

        at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:67)<br>        at org.springframework.amqp.rabbit.connection.RabbitAccessor.getTransactionalResourceHolder(RabbitAccessor.java:100)<br>

        at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:402)<br>        at org.springframework.amqp.rabbit.core.RabbitTemplate.send(RabbitTemplate.java:225)<br>        at org.springframework.amqp.rabbit.core.RabbitTemplate.convertAndSend(RabbitTemplate.java:242)<br>

        at org.springframework.amqp.rabbit.core.RabbitTemplate.convertAndSend(RabbitTemplate.java:238)<br>        at com.comp.transports.fix.handlers.Sender$1.run(Sender.java:115)<br>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br>

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br>        at java.lang.Thread.run(Thread.java:619)<br>Caused by: java.io.IOException<br>        at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:107)<br>

        at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:261)<br>        at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:403)<br>        at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:423)<br>

        at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:116)<br>        ... 13 more<br>Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; reason: com.rabbitmq.client.MalformedFrameException: AMQP protocol version mismatch; we are version 0-9-1, server sent signature 1,1,0,9<br>

        at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)<br>        at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)<br>        at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:328)<br>

        at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:246)<br>        ... 16 more<br>Caused by: com.rabbitmq.client.MalformedFrameException: AMQP protocol version mismatch; we are version 0-9-1, server sent signature 1,1,0,9<br>

        at com.rabbitmq.client.impl.Frame.protocolVersionMismatch(Frame.java:183)<br>        at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:120)<br>        at com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:140)<br>

        at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:397)<br>        at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:425)<br><br>Thanks,<br><font color="#888888">Cory<br>

<br><br>                                               </font></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>