[rabbitmq-discuss] rabbitmq-c + 1.6.0 = bad headers
David Hawthorne
dhawth at 3crowd.com
Thu Apr 28 22:48:15 BST 2011
Here's another problem, this time using amqpcpp with 2.4.1:
dhawth at u16$ ./example_get
server connection error 504, message: CHANNEL_ERROR - unexpected method in connection state running
dhawth at u16$ ./example_consume
server connection error 504, message: CHANNEL_ERROR - unexpected method in connection state running
Server logs don't show anything other than connection open and close.
This happens after the createQueue, and then queue->Declare lines.
On Apr 28, 2011, at 9:38 AM, Pieter de Zwart wrote:
> Upgrade to 2.*. Trust me. You do not want to deal with the 0-8/0-9-1
> compatibility dance =)
>
> Pieter
>
>
> On 4/28/11 5:55 AM, "David Wragg" <david at rabbitmq.com> wrote:
>
>> David Hawthorne <dhawth at 3crowd.com> writes:
>>> I saw this, which indicates that rabbitmq-c should Just Work:
>>>
>>> http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-June/003858.html
>>
>> That email is quite old.
>>
>>> Note that I'm using the rabbitmq-cpp wrapper around it (I think it's called
>>> amqpcpp officially).
>>>
>>> client sees:
>>>
>>> Expected 0x000A000A method frame on channel 0, got frame type 65
>>> [...]
>>>
>>> Any help you can give on this would be greatly appreciated. I'm
>>> testing against 1.6.0 because that's what apt-get gave me, but I'm not
>>> averse to upgrading.
>>
>> You are using a version of the rabbitmq-c client that only talks
>> AMQP-0.9.1 with a version of rabbitmq-server that only talks AMQP-0.8.
>> The easiest route forward is to upgrade your servert to 2.0 or later.
>
More information about the rabbitmq-discuss
mailing list