[rabbitmq-discuss] erlang client blowing chunks

Jon Brisbin jon.brisbin at npcinternational.com
Tue Aug 31 22:01:44 BST 2010


When I'm using the erlang client I have checked out with the server, using the direct connection works okay. Now I'm writing a standalone client against 2.0 (release) and getting a funky error (more below):

{error,
            {{writer_died,<0.64.0>,
                 {badarg,
                     [{rabbit_framing_amqp_0_9_1,encode_method_fields,1},
                      {rabbit_binary_generator,build_simple_method_frame,3},
                      {rabbit_writer,internal_send_command_async,4},
                      {rabbit_writer,handle_message,2},
                      {rabbit_writer,mainloop,1}]}},
             {gen_server,call,
                 [<0.62.0>,
                  {call,
                      {'queue.bind',0,<<"amq.gen-YL0TlFxCix5C0ddBrXzKNg==">>,
                          {'exchange.declare',0,<<"pgload.test">>,
                              <<"topic">>,false,true,false,false,false,[]},
                          <<"pgload.sql">>,false,[]},
                      none},
                  infinity]}}}

Is there a rev I need to check out explicitly to get a 2.0-release-friendly erlang client?

Jon Brisbin
Portal Webmaster
NPC International, Inc.



=ERROR REPORT==== 31-Aug-2010::15:55:48 ===
Channel 1 closing: received exit signal from writer. Reason: {badarg,
                                                              [{rabbit_framing_amqp_0_9_1,
                                                                encode_method_fields,
                                                                1},
                                                               {rabbit_binary_generator,
                                                                build_simple_method_frame,
                                                                3},
                                                               {rabbit_writer,
                                                                internal_send_command_async,
                                                                4},
                                                               {rabbit_writer,
                                                                handle_message,
                                                                2},
                                                               {rabbit_writer,
                                                                mainloop,1}]}

=ERROR REPORT==== 31-Aug-2010::15:55:48 ===
** Generic server <0.62.0> terminating 
** Last message in was {'EXIT',<0.64.0>,
                           {badarg,
                               [{rabbit_framing_amqp_0_9_1,
                                    encode_method_fields,1},
                                {rabbit_binary_generator,
                                    build_simple_method_frame,3},
                                {rabbit_writer,internal_send_command_async,4},
                                {rabbit_writer,handle_message,2},
                                {rabbit_writer,mainloop,1}]}}
** When Server state == {c_state,1,<0.55.0>,<0.63.0>,<0.64.0>,network,
                            {[{{<0.54.0>,#Ref<0.0.0.78>},
                               {'queue.bind',0,
                                   <<"amq.gen-YL0TlFxCix5C0ddBrXzKNg==">>,
                                   {'exchange.declare',0,<<"pgload.test">>,
                                       <<"topic">>,false,true,false,false,
                                       false,[]},
                                   <<"pgload.sql">>,false,[]},
                               none}],
                             []},
                            {[],[]},
                            {dict,0,16,16,8,80,48,
                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}},
                            false,none,false,none,
                            {dict,0,16,16,8,80,48,
                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}},
                            unknown}
** Reason for termination == 
** {writer_died,<0.64.0>,
                {badarg,[{rabbit_framing_amqp_0_9_1,encode_method_fields,1},
                         {rabbit_binary_generator,build_simple_method_frame,3},
                         {rabbit_writer,internal_send_command_async,4},
                         {rabbit_writer,handle_message,2},
                         {rabbit_writer,mainloop,1}]}}




More information about the rabbitmq-discuss mailing list