[rabbitmq-discuss] Shovel can't establish connection

Parker Conrad parkerconrad at gmail.com
Thu Jul 12 03:42:27 BST 2012


Hi - I'm having trouble getting Shovel to work. I have two machines, both
on Amazon EC2, one running Amazon Linux and the other running windows 2008
server. I am trying to shovel from the linux instance to the windows
instance. Ports 5672 and 5673 are open and accepting connections on both
machines. Running "rabbitmqctl status" on both machines shows that each
broker is up and running fine. However, Shovel is unable to establish a
connection from one to the other.

Here's the error I get when I check on Shovel's status:

sudo rabbitmqctl eval 'rabbit_shovel_status:status().'
[{scrape_request_shovel,
     {terminated,
         {{badmatch,{error,access_refused}},
          [{rabbit_shovel_worker,make_conn_and_chan,1},
           {rabbit_shovel_worker,handle_cast,2},
           {gen_server2,handle_msg,2},
           {proc_lib,init_p_do_apply,3}]}},
     {{2012,7,12},{2,7,30}}}]
...done.

Here's my rabbitmq.config file (with some numbers in the remote host
blotted out):

[{rabbitmq_shovel,
  [{shovels,
    [{scrape_request_shovel,
      [{sources,      [{broker,"amqp://test_user:test_password@localhost
"}]},
       {destinations, [{broker, "amqp://
test_user:test_password at ec2-XXX-XX-XXX-224.compute-1.amazonaws.com"}]},
       {queue, <<"scrape_request">>},
       {ack_mode, on_confirm},
       {publish_properties, [{delivery_mode, 2}]},
       {publish_fields, [{exchange, <<"">>},
                         {routing_key, <<"scrape_request">>}]},
       {reconnect_delay, 0}
      ]}
     ]
   }]
}].

Any ideas what could be causing this or what I could do to try to fix it?
Many thanks, in advance, for any help you guys can provide...

/prc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120711/303d6e83/attachment.htm>


More information about the rabbitmq-discuss mailing list