<div>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.</div>
<div><br></div><div>Here's the error I get when I check on Shovel's status:</div><div><br></div><div>sudo rabbitmqctl eval 'rabbit_shovel_status:status().'</div><div>[{scrape_request_shovel,</div><div> {terminated,</div>
<div> {{badmatch,{error,access_refused}},</div><div> [{rabbit_shovel_worker,make_conn_and_chan,1},</div><div> {rabbit_shovel_worker,handle_cast,2},</div><div> {gen_server2,handle_msg,2},</div>
<div> {proc_lib,init_p_do_apply,3}]}},</div><div> {{2012,7,12},{2,7,30}}}]</div><div>...done.</div><div><br></div><div>Here's my rabbitmq.config file (with some numbers in the remote host blotted out):</div>
<div><br></div><div><div>[{rabbitmq_shovel,</div><div> [{shovels,</div><div> [{scrape_request_shovel,</div><div> [{sources, [{broker,"amqp://test_user:test_password@localhost"}]},</div><div> {destinations, [{broker, "amqp://<a href="mailto:test_user%3Atest_password@ec2-XXX-XX-XXX-224.compute-1.amazonaws.com">test_user:test_password@ec2-XXX-XX-XXX-224.compute-1.amazonaws.com</a>"}]},</div>
<div> {queue, <<"scrape_request">>},</div><div> {ack_mode, on_confirm},</div><div> {publish_properties, [{delivery_mode, 2}]},</div><div> {publish_fields, [{exchange, <<"">>},</div>
<div> {routing_key, <<"scrape_request">>}]},</div><div> {reconnect_delay, 0}</div><div> ]}</div><div> ]</div><div> }]</div><div>}].</div></div><div><br></div>
<div>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...</div><div><br></div><div>/prc</div>