[rabbitmq-discuss] intenal error when connecting from rabbitmq-c

Matthias Radestock matthias at rabbitmq.com
Mon Oct 22 12:13:31 BST 2012


Petr,

On 22/10/12 11:52, Gotthard, Petr wrote:
> While the rabbitmq-c on one machine is fine, on another machine I’m
> getting ‘server connection error 541, message: INTERNAL_ERROR’ and the
> rabbitmq log contains the following entries:
>
> =ERROR REPORT==== 22-Oct-2012::12:38:17 ===
>
> AMQP connection <0.2315.0>, channel 1 - error:
>
> {{badmatch,{undefined,<<40,17,97,112,112,108,105,99,97,116,105,111,110,47,
>
>                          110,111,116,97,109>>}},
>
> [{rabbit_framing_amqp_0_9_1,decode_properties,2},

Looks like the basic.publish headers/properties are invalid. I suggest 
you try sending a message without any headers/properties. If that works 
then carefully check your code that is constructing the 
amqp_basic_properties_t. In particularly, make sure that you are setting 
the flags correctly. See e.g. 
http://comments.gmane.org/gmane.comp.networking.rabbitmq.general/2717

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list