rabbitmq amqp version negotiation failing with Qpid 6.0.0
<p>I am running rabbitmq server 3.1.5 and trying to connect to this broker from a Qpid 6.0.0 client (both running on Linux).  The rabbitmq broker is using amqp 0-9-1.  When I try to connect from the Qpid client, it fails with "connection reset".  From the Qpid client stack trace (I've masked the first two octets of the IP addresses):</p>

<pre><code>Caused by: org.apache.qpid.AMQException: Cannot connect to broker (tcp://xx.yy.224.41:5672): Connection reset [error code 200: reply success]
        at org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:248)
        at org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:732)
        at org.apache.qpid.client.AMQConnection.makeConnection(AMQConnection.java:504)
        ... 5 more
Caused by: org.apache.qpid.transport.ConnectionException: Connection reset
        at org.apache.qpid.transport.ConnectionException.rethrow(ConnectionException.java:67)
        at org.apache.qpid.transport.Connection.connect(Connection.java:277)
        at org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:227)
        ... 7 more
</code></pre>

<p>On the RabbitMQ broker side, the log file shows:</p>

<pre><code>=INFO REPORT==== 5-Feb-2016::11:54:13 ===
accepting AMQP connection &lt;0.7834.0&gt; (xx.yy.224.33:37655 -&gt; xx.yy.224.41:5672)

=ERROR REPORT==== 5-Feb-2016::11:54:13 ===
closing AMQP connection &lt;0.7834.0&gt; (xx.yy.224.33:37655 -&gt; xx.yy.224.41:5672):
{bad_version,{1,1,0,10}}
</code></pre>

<p>The rabbitmq error message indicates that it is rejecting the proposed amqp version 1-0-10 from the Qpid client.</p>

<p>I captured a tcpdump trace of the attempted session, and I see the client (.33 above) opens the TCP connection, sends an amqp message with protocol ID 1-1, version 0-10, and then follows that by sending another amqp message with protocol ID 0-0, version 9-1.  However, the rabbitmq broker side (.41 above) seems to have given up after the 1-0-10 message and resets the TCP connection without processing the 0-9-1 amqp message.</p>

<pre><code>4      SYN-SENT       xx.yy.224.33:35770 &gt; xx.yy.224.41:amqp
4      SYN-RECEIVED   xx.yy.224.33:35770 &gt; xx.yy.224.41:amqp
4      ESTABLISHED    xx.yy.224.33:35770 &gt; xx.yy.224.41:amqp
AMQP...  this one is {1,1,0,10}
AMQP..  . this one is {0,0,9,1}
4      RESET          xx.yy.224.33:35770 &gt; xx.yy.224.41:amqp
</code></pre>

<p>Any ideas how I can get the rabbitmq broker to take the {0,0,9,1} version negotiation?</p>