tcp - rabbitmq amqp version negotiation failing with Qpid 6.0.0 -
i running rabbitmq server 3.1.5 , trying connect broker qpid 6.0.0 client (both running on linux). rabbitmq broker using amqp 0-9-1. when try connect qpid client, fails "connection reset". qpid client stack trace (i've masked first 2 octets of ip addresses):
caused by: org.apache.qpid.amqexception: cannot connect broker (tcp://xx.yy.224.41:5672): connection reset [error code 200: reply success] @ org.apache.qpid.client.amqconnectiondelegate_0_10.makebrokerconnection(amqconnectiondelegate_0_10.java:248) @ org.apache.qpid.client.amqconnection.makebrokerconnection(amqconnection.java:732) @ org.apache.qpid.client.amqconnection.makeconnection(amqconnection.java:504) ... 5 more caused by: org.apache.qpid.transport.connectionexception: connection reset @ org.apache.qpid.transport.connectionexception.rethrow(connectionexception.java:67) @ org.apache.qpid.transport.connection.connect(connection.java:277) @ org.apache.qpid.client.amqconnectiondelegate_0_10.makebrokerconnection(amqconnectiondelegate_0_10.java:227) ... 7 more
on rabbitmq broker side, log file shows:
=info report==== 5-feb-2016::11:54:13 === accepting amqp connection <0.7834.0> (xx.yy.224.33:37655 -> xx.yy.224.41:5672) =error report==== 5-feb-2016::11:54:13 === closing amqp connection <0.7834.0> (xx.yy.224.33:37655 -> xx.yy.224.41:5672): {bad_version,{1,1,0,10}}
the rabbitmq error message indicates rejecting proposed amqp version 1-0-10 qpid client.
i captured tcpdump trace of attempted session, , see client (.33 above) opens tcp connection, sends amqp message protocol id 1-1, version 0-10, , follows sending amqp message protocol id 0-0, version 9-1. however, rabbitmq broker side (.41 above) seems have given after 1-0-10 message , resets tcp connection without processing 0-9-1 amqp message.
4 syn-sent xx.yy.224.33:35770 > xx.yy.224.41:amqp 4 syn-received xx.yy.224.33:35770 > xx.yy.224.41:amqp 4 established xx.yy.224.33:35770 > xx.yy.224.41:amqp amqp... 1 {1,1,0,10} amqp.. . 1 {0,0,9,1} 4 reset xx.yy.224.33:35770 > xx.yy.224.41:amqp
any ideas how can rabbitmq broker take {0,0,9,1} version negotiation?
rabbimq implements amqp 0.9.1 , qpid client 1.0.
try using amqp 1.0 rabbitmq plug-in.
you can enble using:
rabbitmq-plugins enable rabbitmq_amqp1_0 following plugins have been enabled: rabbitmq_amqp1_0
please read here
the current field of amqp 1.0 clients limited. therefore have not achieved interoperability might like.
we have tested against:
swiftmq java client [1] have done of our testing against client , things seem work. qpid / proton c client [2] have tested against "proton" command line tool client ships with. qpid / proton java client [2] have not been able client far opening network connection (tested against
0.2 , 0.4).
Comments
Post a Comment