[rabbitmq-discuss] erlang AMQP network_client problem

Matthias Radestock matthias at lshift.net
Wed Oct 15 07:39:29 BST 2008


Lenz,

lenz wrote:
> i have a weird issue with the network client code. no matter which 
> version of rabbit i use (tested against 1.3,1.4 and current) and which 
> version of rabbit-erlang-client i use (tried various snapshots over the 
> last weeks) i always get this error:
> 
> =ERROR REPORT==== 15-Oct-2008::14:50:08 ===
> Error in process <0.51.0> on node 'web at rino' with exit value: 
> {badarg,[{rabbit_framing,encode_method_fields,1},{rabbit_binary_generator,build_simple_method_frame,2},{rabbit_writer,internal_send_command_async,3},{rabbit_writer,handle_message,2},{rabbit_writer,mainloop,1}]}
> [...]
> {'queue.declare',undefined,<<"q">>,false,false,false,false,false,[]}
 > [...]
> as long as i use the beast locally everything works fine. what do i
> miss  here?

It looks like you have a queue.declare with the ticket field set to 
'undefined'. That will break the network encoding, but work in the 
direct case since there the value isn't checked.


Matthias.




More information about the rabbitmq-discuss mailing list