Hello,
I am new to Solace and have started practicing using some sample workshops from codelabs. I am currently facing an issue while trying to connect RabbitMQ with the Solace Software Broker (both running on Docker). RabbitMQ is configured to run on port 5672, while Solace AMQP is mapped to port 5673. Despite this, I am unable to connect and publish messages through RabbitMQ’s shovel.
Interestingly, when I connect RabbitMQ with the Cloud PubSub+ service, it works fine, and I am able to publish messages without any issues. However, the same configuration does not seem to work when using the Solace broker.
I would appreciate any guidance or suggestions on how to resolve this issue.
2025-04-07 10:21:40.498948+00:00 [info] <0.1502.0> Shovel 'shovel-to-solace' in virtual host 'shovel_vhost' will now try to connect...
2025-04-07 10:21:40.502665+00:00 [info] <0.1511.0> accepting AMQP connection <0.1511.0> (127.0.0.1:33612 -> 127.0.0.1:5672)
2025-04-07 10:21:40.507010+00:00 [info] <0.1511.0> connection <0.1511.0> (127.0.0.1:33612 -> 127.0.0.1:5672) has a client-provided name: Shovel shovel-to-solace
2025-04-07 10:21:40.509711+00:00 [info] <0.1511.0> connection <0.1511.0> (127.0.0.1:33612 -> 127.0.0.1:5672 - Shovel shovel-to-solace): user 'admin' authenticated and granted access to vhost 'shovel_vhost'
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> crasher:
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> initial call: amqp10_client_frame_reader:init/1
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> pid: <0.1531.0>
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> registered_name: []
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> exception exit: econnrefused
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> in function gen_statem:init_result/8 (gen_statem.erl, line 1023)
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> ancestors: [<0.1529.0>,amqp10_client_sup,<0.708.0>]
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> message_queue_len: 0
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> messages: []
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> links: [<0.1529.0>]
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> dictionary: []
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> trap_exit: false
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> status: running
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> heap_size: 610
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> stack_size: 28
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> reductions: 1632
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0> neighbours:
2025-04-07 10:21:40.513499+00:00 [error] <0.1531.0>
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> supervisor: {<0.1529.0>,amqp10_client_connection_sup}
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> errorContext: start_error
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> reason: econnrefused
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> offender: [{pid,undefined},
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> {id,reader},
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> {mfargs,
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> {amqp10_client_frame_reader,start_link,
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> [<0.1529.0>,
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> #{notify => <0.1502.0>,port => 56722,
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> address => "localhost",
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> sasl =>
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> {encrypted,
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> <<"R0Z9yiJxNOxPGHNdVShqlNmbj9H8obvlWZuhy2/2YEr1r5ARUOixCof9iUIPT4lfAaQwWdkhzwV8nz/pXWJe3jmEQFlAS4u3J3wIoWyuL+zSS/HsqlBwEI4SzH9JeWxA">>},
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> hostname => <<"localhost">>,
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> notify_when_opened => <0.1502.0>,
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> notify_when_closed => <0.1502.0>}]}},
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> {restart_type,transient},
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> {significant,false},
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> {shutdown,5000},
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0> {child_type,worker}]
2025-04-07 10:21:40.514100+00:00 [error] <0.1529.0>
2025-04-07 10:21:40.514858+00:00 [error] <0.1502.0> Shovel 'shovel-to-solace' could not connect to destination: error {badmatch,
2025-04-07 10:21:40.514858+00:00 [error] <0.1502.0> {error,
2025-04-07 10:21:40.514858+00:00 [error] <0.1502.0> {shutdown,
2025-04-07 10:21:40.514858+00:00 [error] <0.1502.0> {failed_to_start_child,
2025-04-07 10:21:40.514858+00:00 [error] <0.1502.0> reader,
2025-04-07 10:21:40.514858+00:00 [error] <0.1502.0> econnrefused}}}}
2025-04-07 10:21:40.516355+00:00 [info] <0.1511.0> closing AMQP connection <0.1511.0> (127.0.0.1:33612 -> 127.0.0.1:5672 - Shovel shovel-to-solace, vhost: 'shovel_vhost', user: 'admin')
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> supervisor: {<0.721.0>,rabbit_shovel_dyn_worker_sup}
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> errorContext: child_terminated
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> reason: {shutdown,normal}
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> offender: [{pid,<0.1502.0>},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {id,{<<"shovel_vhost">>,<<"shovel-to-solace">>}},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {mfargs,
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {rabbit_shovel_worker,start_link,
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> [dynamic,
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"shovel_vhost">>,<<"shovel-to-solace">>},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> [{<<"dest-uri">>,
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> [{encrypted,
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> <<"mta0f/0rLwd29ujnpTnBo3sN2h3I1rOi9KSjCyPN1Py4OwlEnNN79UDWEYpzbQhgDu8C7eApO0+dJJEtL3wBpehJ5eQhJaGSuGg9zVQ4uKOzzGBhkLfo++vhFgO+pOGGBc6/W3DZJjdwd5bwGEfXdEjr5GDPjuWlSGEsIIltQlQ=">>}]},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"src-uri">>,
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> [{encrypted,
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> <<"QBaYiTQyHnzIBXAUJKX5d5a2zYpaAdhLOEI0C7nS0ZIXJwyBOg4CqTkBJLy1KVx67olVO7JfpdZZDI35kuigjIF4zEEHFUhSsh6zw6Ikj6QHRocuc3xDioCav7+diDxLcutnJvDr0z8BECpu65Yp9Q==">>}]},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"ack-mode">>,<<"on-confirm">>},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"dest-add-forward-headers">>,true},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"dest-address">>,<<"to/solace/topic">>},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"dest-protocol">>,<<"amqp10">>},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"reconnect-delay">>,5},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"src-delete-after">>,<<"never">>},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"src-protocol">>,<<"amqp091">>},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {<<"src-queue">>,<<"source-queue">>}]]}},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {restart_type,{permanent,5}},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {shutdown,4294967295},
2025-04-07 10:21:40.516082+00:00 [error] <0.721.0> {child_type,worker}]