[rabbitmq-discuss] erlang client blowing chunks

Jon Brisbin jon.brisbin at npcinternational.com
Tue Aug 31 22:32:25 BST 2010


Tried checking out the 2.0 tag and I'm getting a different error this time:

worker: {error,
            {bad_return_value,
                {error,
                    {auth_failure_likely,
                        {error,
                            {undef,
                                [{rabbit_writer,start_link,
                                     [#Port<0.704>,0,4096,
                                      rabbit_framing_amqp_0_9_1]},
                                 {amqp_channel_util,
                                     start_channel_infrastructure,3},
                                 {amqp_network_connection,do_handshake,1},
                                 {amqp_network_connection,init,1},
                                 {gen_server,init_it,6},
                                 {proc_lib,init_p_do_apply,3}]}}}}}}


But I know guest can access the server:

+-( ~ ):> sudo rabbitmqctl list_permissions
Listing permissions in vhost "/" ...
guest	.*	.*	.*	client
...done.

Is there something else I need to do in 2.0 to permit guest to create anonymous queues, etc...? There's a brief mention of something like that on the website. Something about allowing amq.gen ,etc... Does that apply here?

Jon Brisbin
Portal Webmaster
NPC International, Inc.



On Aug 31, 2010, at 4:01 PM, Jon Brisbin wrote:

> 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}]}}
> 
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



More information about the rabbitmq-discuss mailing list