<div>Hi,</div><div><br></div><div>I was playing around with RabbitMQ in cluster (3 nodes) and I got this error below. I'm using the latest version (2.3.1). This error seems to have killed my client connection to the node. When I got this error, I was trying to test my client when one node is stopped. This seems to happen when i was trying to declare a queue (non durable, not exclusive, not auto-delete). The only way I've found to fix my issue was to restart the nodes one by one. Any idea ?</div>
<div><br></div><div><div>=ERROR REPORT==== 4-Mar-2011::14:55:55 ===</div><div>** Generic server <0.7238.90> terminating</div><div>** Last message in was {init,false}</div><div>** When Server state == {q,{amqqueue,{resource,<<"/">>,queue,<<"fail.over">>},</div>
<div> false,false,none,[],<0.7238.90>},</div><div> none,false,rabbit_variable_queue,undefined,</div><div> {[],[]},</div><div> {[],[]},</div>
<div> undefined,undefined,undefined,undefined,</div><div> {state,none,undefined},</div><div> {dict,0,16,16,8,80,48,</div><div> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],</div>
<div> [],[]},</div><div> {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],</div><div> [],[]}}},</div><div> undefined,undefined}</div>
<div>** Reason for termination == </div><div>** {bad_return_value,</div><div> {error,</div><div> {badarg,</div><div> [{erlang,is_process_alive,[<14486.17603.0>]},</div><div> {rabbit_amqqueue,'-internal_declare/2-fun-3-',2},</div>
<div> {rabbit_misc,'-execute_mnesia_tx_with_tail/1-fun-0-',1},</div><div> {mnesia_tm,apply_fun,3},</div><div> {mnesia_tm,execute_transaction,5},</div><div> {worker_pool_worker,handle_call,3},</div>
<div> {gen_server2,handle_msg,2},</div><div> {proc_lib,wake_up,3}]}}}</div><div><br></div><div>=ERROR REPORT==== 4-Mar-2011::14:55:55 ===</div><div>** Generic server <0.7237.90> terminating</div>
<div>** Last message in was {'$gen_cast',</div><div> {method,</div><div> {'queue.declare',0,<<"fail.over">>,false,</div><div> false,false,false,false,[]},</div>
<div> none}}</div><div>** When Server state == {ch,running,1,<0.7234.90>,<0.7236.90>,undefined,</div><div> #Fun<rabbit_channel_sup.0.123274458>,none,</div>
<div> {sets,0,16,16,8,80,48,</div><div> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],</div><div> []},</div><div> {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],</div>
<div> [],[]}}},</div><div> 1,</div><div> {[],[]},</div><div> {[],[]},</div><div> {user,<<"guest">>,true,</div>
<div> rabbit_auth_backend_internal,</div><div> {internal_user,<<"guest">>,</div><div> <<1,91,202,31,107,169,107,11,120,174,233,</div>
<div> 122,50,219,120,164,33,32,240,166>>,</div><div> true}},</div><div> <<"/">>,<<>>,</div>
<div> {dict,0,16,16,8,80,48,</div><div> {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],</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> <0.7232.90>,</div><div> {state,none,undefined},</div>
<div> false,1,</div><div> {0,nil},</div><div> []}</div><div>** Reason for termination == </div><div>** {{{bad_return_value,</div><div> {error,</div>
<div> {badarg,</div><div> [{erlang,is_process_alive,[<14486.17603.0>]},</div><div> {rabbit_amqqueue,'-internal_declare/2-fun-3-',2},</div><div> {rabbit_misc,'-execute_mnesia_tx_with_tail/1-fun-0-',1},</div>
<div> {mnesia_tm,apply_fun,3},</div><div> {mnesia_tm,execute_transaction,5},</div><div> {worker_pool_worker,handle_call,3},</div><div> {gen_server2,handle_msg,2},</div>
<div> {proc_lib,wake_up,3}]}}},</div><div> {gen_server2,call,[<0.7238.90>,{init,false}]}},</div><div> [{gen_server2,call,2},</div><div> {rabbit_amqqueue,declare,5},</div><div> {rabbit_channel,handle_method,3},</div>
<div> {rabbit_channel,handle_cast,2},</div><div> {gen_server2,handle_msg,2},</div><div> {proc_lib,init_p,5}]}</div><div><br></div><div>=ERROR REPORT==== 4-Mar-2011::14:55:55 ===</div><div>connection <0.7234.90> (running), channel 1 - error:</div>
<div>{{{bad_return_value,</div><div> {error,</div><div> {badarg,</div><div> [{erlang,is_process_alive,[<14486.17603.0>]},</div><div> {rabbit_amqqueue,'-internal_declare/2-fun-3-',2},</div>
<div> {rabbit_misc,'-execute_mnesia_tx_with_tail/1-fun-0-',1},</div><div> {mnesia_tm,apply_fun,3},</div><div> {mnesia_tm,execute_transaction,5},</div><div> {worker_pool_worker,handle_call,3},</div>
<div> {gen_server2,handle_msg,2},</div><div> {proc_lib,wake_up,3}]}}},</div><div> {gen_server2,call,[<0.7238.90>,{init,false}]}},</div><div> [{gen_server2,call,2},</div><div> {rabbit_amqqueue,declare,5},</div>
<div> {rabbit_channel,handle_method,3},</div><div> {rabbit_channel,handle_cast,2},</div><div> {gen_server2,handle_msg,2},</div><div> {proc_lib,init_p,5}]}</div><div><br></div><div>=WARNING REPORT==== 4-Mar-2011::14:55:55 ===</div>
<div>Non-AMQP exit reason '{{{bad_return_value,</div><div> {error,</div><div> {badarg,</div><div> [{erlang,is_process_alive,[<14486.17603.0>]},</div>
<div> {rabbit_amqqueue,'-internal_declare/2-fun-3-',2},</div><div> {rabbit_misc,</div><div> '-execute_mnesia_tx_with_tail/1-fun-0-',1},</div>
<div> {mnesia_tm,apply_fun,3},</div><div> {mnesia_tm,execute_transaction,5},</div><div> {worker_pool_worker,handle_call,3},</div><div> {gen_server2,handle_msg,2},</div>
<div> {proc_lib,wake_up,3}]}}},</div><div> {gen_server2,call,[<0.7238.90>,{init,false}]}},</div><div> [{gen_server2,call,2},</div><div> {rabbit_amqqueue,declare,5},</div>
<div> {rabbit_channel,handle_method,3},</div><div> {rabbit_channel,handle_cast,2},</div><div> {gen_server2,handle_msg,2},</div><div> {proc_lib,init_p,5}]}'</div>
</div><div><br></div><div><br></div><div>Thanks for reading me !</div><br clear="all">Sylvain<br>