failed_to_connect_using_provided_uris

296 views
Skip to first unread message

VNA

unread,
Nov 29, 2017, 2:29:43 PM11/29/17
to rabbitmq-users
I am trying to setup Shovels in RabbitMQ 3.6.14 with Erlang 20.1

I tried all the combinations of URIs as provided in the RabbitMQ documentation but none of them work. I keep getting this message. Can someone help me with this? Thank you very much

{failed_to_connect_using_provided_uris,
[{rabbit_shovel_worker,make_conn_and_chan,2,
[{file,"src/rabbit_shovel_worker.erl"},{line,246}]},
{rabbit_shovel_worker,handle_cast,2,
[{file,"src/rabbit_shovel_worker.erl"},{line,63}]},
{gen_server2,handle_msg,2,[{file,"src/gen_server2.erl"},{line,1047}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}

Michael Klishin

unread,
Nov 29, 2017, 4:52:27 PM11/29/17
to rabbitm...@googlegroups.com
This means that Shovel tried connecting to all provided URIs and none of them succeeded (possibly due to authentication/permission errors).

See target node's logs for details.

RabbitMQ documentation cannot know what URIs you should use. It only provides examples, you replace them with actual URIs
that contain reachable/correct IP addresses, credentials, encoded virtual host names and so on.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

VNA

unread,
Nov 30, 2017, 11:08:20 AM11/30/17
to rabbitmq-users
Hello MK thanks for the quick reply.

I did check the logs and here is how it is failing

=ERROR REPORT==== 29-Nov-2017::13:11:15 ===
Shovel 'shovel_TEST' in vhost '/' failed to connect (URI: amqp://hostname/AplusAuto): connection to target host was refused (ECONNREFUSED). I think the problem is with the ports, which accept only the ssl port. I am not sure how to add the non-ssl ports. I used to have the port 5672 before upgrading RabbitMQ to 3.6.14, they went away.




On Wednesday, November 29, 2017 at 4:52:27 PM UTC-5, Michael Klishin wrote:
This means that Shovel tried connecting to all provided URIs and none of them succeeded (possibly due to authentication/permission errors).

See target node's logs for details.

RabbitMQ documentation cannot know what URIs you should use. It only provides examples, you replace them with actual URIs
that contain reachable/correct IP addresses, credentials, encoded virtual host names and so on.
On Wed, Nov 29, 2017 at 10:29 PM, VNA <vanu...@gmail.com> wrote:
I am trying to setup Shovels in RabbitMQ 3.6.14 with Erlang 20.1

I tried all the combinations of URIs as provided in the RabbitMQ documentation but none of them work. I keep getting this message. Can someone help me with this? Thank you very much

{failed_to_connect_using_provided_uris,
[{rabbit_shovel_worker,make_conn_and_chan,2,
[{file,"src/rabbit_shovel_worker.erl"},{line,246}]},
{rabbit_shovel_worker,handle_cast,2,
[{file,"src/rabbit_shovel_worker.erl"},{line,63}]},
{gen_server2,handle_msg,2,[{file,"src/gen_server2.erl"},{line,1047}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michael Klishin

unread,
Nov 30, 2017, 8:46:13 PM11/30/17
to rabbitm...@googlegroups.com

VNA

unread,
Dec 1, 2017, 9:10:39 AM12/1/17
to rabbitmq-users
Thank you very much MK
Reply all
Reply to author
Forward
0 new messages