<div dir="ltr"><div>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:</div>
<div><br></div><div>=ERROR REPORT==== 15-Oct-2008::14:50:08 ===</div><div>Error in process <0.51.0> on node 'web@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}]}</div>
<div><div><br></div><div>Connection: Handling exit from <0.50.0> --> {function_clause,</div><div> [{amqp_channel,handle_info,</div><div> [{'EXIT',<0.51.0>,</div>
<div> {badarg,</div><div> [{rabbit_framing,</div><div> encode_method_fields,1},</div>
<div> {rabbit_binary_generator,</div><div> build_simple_method_frame,</div><div> 2},</div>
<div> {rabbit_writer,</div><div> internal_send_command_async,</div><div> 3},</div>
<div> {rabbit_writer,</div><div> handle_message,2},</div><div> {rabbit_writer,mainloop,</div>
<div> 1}]}},</div><div> {channel_state,1,<0.45.0>,</div><div> <0.47.0>,<0.51.0>,</div>
<div> #Fun<amqp_network_driver.do.2>,</div><div> #Fun<amqp_network_driver.do.3>,</div><div> #Fun<amqp_network_driver.close_channel.1>,</div>
<div> {[{{<0.37.0>,#Ref<<a href="http://0.0.0.64">0.0.0.64</a>>},</div><div> {'queue.declare',</div><div>
undefined,<<"q">>,false,</div><div> false,false,false,false,</div><div> []}}],</div>
<div> []},</div><div> {[],[]},</div><div> {dict,0,16,16,8,80,48,</div><div> {[],[],[],[],[],[],[],[],[],</div>
<div> [],[],[],[],[],[],[]},</div><div> {{[],[],[],[],[],[],[],[],</div><div> [],[],[],[],[],[],[],[]}}},</div>
<div> false,undefined,</div><div> {dict,0,16,16,8,80,48,</div><div> {[],[],[],[],[],[],[],[],[],</div>
<div> [],[],[],[],[],[],[]},</div><div> {{[],[],[],[],[],[],[],[],</div><div> [],[],[],[],[],[],[],</div>
<div> []}}}}]},</div><div> {gen_server,handle_msg,5},</div><div> {proc_lib,init_p,5}]}</div>
<div>...</div><div><br></div><div>as long as i use the beast locally everything works fine. what do i miss here?</div><div><br></div><div>all the network_client tests fail as well btw</div><div><br></div><div><div>(web@rino)3> net_adm:ping(rabbit@rino).</div>
<div>pong</div><div>(web@rino)4> direct_client_test:test_coverage().</div><div>direct_client_test:basic_get_test...*failed*</div><div>::error:{badmatch,{error,{aborted,{no_exists,[user,<<"guest">>]}}}}</div>
<div> in function amqp_connection:start/3</div><div> in call from direct_client_test:basic_get_test/0</div><div><br></div><div><br></div><div>direct_client_test:basic_return_test...*failed*</div><div>::error:{badmatch,{error,{aborted,{no_exists,[user,<<"guest">>]}}}}</div>
<div> in function amqp_connection:start/3</div><div> in call from direct_client_test:basic_return_test/0</div><div>...</div></div><div><br></div><div>thanks</div><div>lenz</div></div></div>