question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rebus RabbitMq on AWS amqps

See original GitHub issue

Hi,

I would like to ask a little help.

I am setting up multinode hosting in our devserver (plan to do it also in production later). I am trying to use Rebus with RabbitMq on AWS Amazon MQ but I am running into connectivity issues.

AWS provides an endpoint for RabbitMq with amqps protocol. In the Elsa tutorial for Multinode hosting one can see the setting which contains only a querystring. If I set that querystring as an amqps URI then I get the below error on startup:

Unhandled exception. Rebus.Injection.ResolutionException: Could not resolve Rebus.Bus.IBus with decorator depth 0 - registrations: Rebus.Injection.Injectionist+Handler
---> RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable
---> System.IO.IOException: connection.start was never received, likely due to a network timeout

All works well on my local machine with docker-compose and amqp protocol.

I found some information while googling this error and all seemed to suggest enabling SSL mode. I found options for that in Rebus code, but I don’t know how I could do that in Elsa. Could you please help me with this issue?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sfmskywalkercommented, May 18, 2022

Good to know, thanks for sharing!

1reaction
vargaendrecommented, May 17, 2022

HI @sfmskywalker Thank you so much for the quick response! That’s exactly what I was looking for, but I couldn’t figure out the interfaces by myself. I am now trying it out and will let you know how it goes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating and connecting to a RabbitMQ broker
Step 1: create a RabbitMQ broker. The first and most common Amazon MQ task is creating a broker. The following example shows how...
Read more >
bus: RabbitMQ transport for Rebus
Rebus.RabbitMq. install from nuget. Provides a RabbitMQ transport implementation for Rebus. For RabbitMQ, running on a Docker for Windows instance.
Read more >
RabbitMQ URI Specification
This specification defines an "amqp" URI scheme. Conforming URIs represent the information needed by AMQP 0-9-1 clients as well as some RabbitMQ plugins...
Read more >
Amazon MQ for RabbitMQ best practices
RabbitMQ implements the channel pre-fetch mechanism provided by AMQP 0-9-1 by applying the pre-fetch count to consumers as opposed to channels. The pre-fetch ......
Read more >
Detecting Dead TCP Connections with Heartbeats and ...
AMQP 0-9-1 offers a heartbeat feature to ensure that the application layer promptly finds out about disrupted connections (and also completely unresponsive ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found