[rabbitmq-discuss] erlang AMQP network_client problem

lenz norbu09 at googlemail.com
Wed Oct 15 03:45:39 BST 2008


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}]}

Connection: Handling exit from <0.50.0> --> {function_clause,
                                             [{amqp_channel,handle_info,
                                               [{'EXIT',<0.51.0>,
                                                 {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}]}},
                                                {channel_state,1,<0.45.0>,
                                                 <0.47.0>,<0.51.0>,

#Fun<amqp_network_driver.do.2>,

#Fun<amqp_network_driver.do.3>,

#Fun<amqp_network_driver.close_channel.1>,
                                                 {[{{<0.37.0>,#Ref<0.0.0.64
>},
                                                    {'queue.declare',

undefined,<<"q">>,false,

false,false,false,false,
                                                     []}}],
                                                  []},
                                                 {[],[]},
                                                 {dict,0,16,16,8,80,48,

 {[],[],[],[],[],[],[],[],[],
                                                   [],[],[],[],[],[],[]},
                                                  {{[],[],[],[],[],[],[],[],

 [],[],[],[],[],[],[],[]}}},
                                                 false,undefined,
                                                 {dict,0,16,16,8,80,48,

 {[],[],[],[],[],[],[],[],[],
                                                   [],[],[],[],[],[],[]},
                                                  {{[],[],[],[],[],[],[],[],
                                                    [],[],[],[],[],[],[],
                                                    []}}}}]},
                                              {gen_server,handle_msg,5},
                                              {proc_lib,init_p,5}]}
...

as long as i use the beast locally everything works fine. what do i miss
here?

all the network_client tests fail as well btw

(web at rino)3> net_adm:ping(rabbit at rino).
pong
(web at rino)4> direct_client_test:test_coverage().
direct_client_test:basic_get_test...*failed*
::error:{badmatch,{error,{aborted,{no_exists,[user,<<"guest">>]}}}}
  in function amqp_connection:start/3
  in call from direct_client_test:basic_get_test/0


direct_client_test:basic_return_test...*failed*
::error:{badmatch,{error,{aborted,{no_exists,[user,<<"guest">>]}}}}
  in function amqp_connection:start/3
  in call from direct_client_test:basic_return_test/0
...

thanks
lenz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20081015/6bbef609/attachment.htm 


More information about the rabbitmq-discuss mailing list