Hey guys, I have two RabbitMQ cluster one running 3.6.1 and another running 3.6.6. I am trying to move the messages from the first to the latter but I keep having the following error no mather what.
Here is how I created the shovel:
rabbitmqctl set_parameter shovel -p "/myvhost" "test-shovel" '{
"src-uri": "amqp://user:pass...@10.1.1.101:5672/myvhost",
"src-queue": "myqueue",
"dest-uri": "amqp://user:pass...@10.1.1.102:5672/myvhost",
"dest-queue": "myqueue"
}'
However, here is the error message I keep getting:
{{badmatch,{error,not_allowed}},
[{rabbit_shovel_worker,make_conn_and_chan,1,
[{file,"src/rabbit_shovel_worker.erl"},{line,236}]},
{rabbit_shovel_worker,handle_cast,2,
[{file,"src/rabbit_shovel_worker.erl"},{line,62}]},
{gen_server2,handle_msg,2,[{file,"src/gen_server2.erl"},{line,1049}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
Some other observations:
BTW, the servers are all EC2 in AWS, t2.large instances running Ubuntu 16.04.
Source server is running Erlan R16B03 and destination server is running Erlang 18.3.
Here is the source server rabbitmq.conf file:
[
{kernel, [
]},
{rabbitmq_management, [
{listener, [{port, 8443},
{ssl, false},
{ssl_opts, [{cacertfile,"/etc/rabbitmq/ssl/cacert.pem"},
{certfile,"/etc/rabbitmq/ssl/cert.pem"},
{keyfile,"/etc/rabbitmq/ssl/key.pem"}
]}
]}
]},
{rabbit, [
{cluster_partition_handling,ignore},
{ssl_listeners, [5671]},
{ssl_options, [{cacertfile,"/etc/rabbitmq/ssl/cacert.pem"},
{certfile,"/etc/rabbitmq/ssl/cert.pem"},
{keyfile,"/etc/rabbitmq/ssl/key.pem"},
{verify,verify_none},
{fail_if_no_peer_cert,false}
]},
{tcp_listen_options, [binary, {packet,raw},
{reuseaddr,true},
{backlog,128},
{nodelay,true},
{exit_on_close,false},
{keepalive,false},
{linger, {true,0}}]},
{log_levels, [{ connection, info }]},
{vm_memory_high_watermark, 0.4},
{default_user, <<"guest">>},
{default_pass, <<"guest">>},
{heartbeat, 580}
]}
].
And here is the rabbitmq.conf file in the destination server:
[
{ kernel, [] },
{ rabbitmq_management, [{
listener, [
{ port, 15672 },
]}
]},
{ rabbit, [
{ cluster_partition_handling, ignore},
{ ssl_listeners, [ 5671 ]},
{ ssl_options, [
{ cacertfile, "/etc/rabbitmq/ssl/ca.pem" },
{ certfile, "/etc/rabbitmq/ssl/cert.pem" },
{ keyfile, "/etc/rabbitmq/ssl/key.pem" }
{ verify, verify_none },
{ fail_if_no_peer_cert, false }
]},
{ tcp_listen_options, [
binary,
{ packet, raw },
{ reuseaddr, true },
{ backlog, 128 },
{ nodelay, true },
{ exit_on_close, false },
{ keepalive, false },
{ linger, { true, 0 } }
]},
{log_levels, [
{ connection, warning }
]},
{ vm_memory_high_watermark, 0.4 },
{ default_user, <<"guest">> },
{ default_pass, <<"guest">> },
{ heartbeat, 580 }
]}
].
It goes without saying but in any case the shovel plugin is enabled in both servers.
Thank you.
--
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.
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.
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.
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.
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.