[rabbitmq-discuss] Shovel authentication question (possible bug)

john.hayden at nokia.com john.hayden at nokia.com
Fri May 31 16:29:38 BST 2013

I am very new to rabbitmq and shovel but I may have found a bug:

My setup:

I am running Rabbit 3.1.1 and have shovel plugin enabled.
I have sense clients that communicate with this rabbit broker successfully to vhost /sensu with sensu and mypass as username and password.

The shovel plugin (loaded on the first Rabbit) with talk to a 2nd Rabbit which is also serving sense clients using the same vhost, username and password.

Here is my shovel config file:

      [{shovels, [ {test_shovel,
        [ {sources, [{broker, "amqp://sensu:mypass@/sensu"}]}
        , {destinations, [{broker, "amqp://sensu:mypass@ec2-54-245-126-50.us-west-2.compute.amazonaws.com/sensu"}]}
        , {queue, <<"rabbitmq-us-west-2">>}

As you can see, my source (which is Rabbit1) is being connected to by the shovel by the non network method and has the username, password and vhost
The destination is set up as a network connection

Here is the error is get after a restart of Rabbit1 server:

=INFO REPORT==== 31-May-2013::15:13:10 ===
accepting AMQP connection <0.387.0> ( ->

=ERROR REPORT==== 31-May-2013::15:13:24 ===
** Generic server <0.400.0> terminating
** Last message in was {'$gen_cast',init}
** When Server state == {state,undefined,undefined,undefined,undefined,
                             'rabbit at ip-10-40-215-251',none,[]}],
** Reason for termination ==
** {{badmatch,{error,access_refused}},

Notice this line:
                             'rabbit at ip-10-40-215-251',none,[]}],

If I read this correctly, the password is not being passed and THUS authentication is being denied.

Is this a bug?

John Hayden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130531/a2022eb3/attachment.htm>

More information about the rabbitmq-discuss mailing list