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.

MassTransit 6.2.4. RabbitMQ. The regression in UseCluster() with the custom SSL settings or the default port.

See original GitHub issue

The change introduced with the https://github.com/MassTransit/MassTransit/issues/1784 change not only removed the ClustersMembers property from the IRabbitMqClusterConfigurator interface but introduces a regression in the nodes connection configuration.

Before the 6.2.4 (in 6.2.3 at least), the SSL settings (as well as port) were propagated to the instance of AmqpTcpEndpoint from the global settings during the invocation of the ConnectionFactory.CreateConnection. We the replacement of the EndpointResolver we now always using the default SSL settings and have no way to override it in the configuration.

https://github.com/MassTransit/MassTransit/blob/f78178a0ef056c09f55c6efd8fb0ccdc1bc508d2/src/MassTransit.RabbitMqTransport/Configuration/Configurators/RabbitMqHostConfigurator.cs#L89

Also, it’s better to consider bumping the minor version with such a set of changes:

  • Removal of the configuration property without deprecation.
  • Changing of the behavior for the port propagation.
  • Changing the behavior of the SSL settings propagation.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
yzhoholievcommented, Apr 21, 2020

@phatboyg Both issues seem to be resolved with the provided fix. Thanks for so fast response!

2reactions
phatboygcommented, Apr 21, 2020

Once the develop packages are built, you’re welcome to test it out and verify it meets your requirements. I really have no way to test your scenario.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RabbitMQ Configuration
MassTransit can connect to a cluster of RabbitMQ virtual hosts and treat them as a single virtual host. To configure a cluster, call...
Read more >
MassTransit UseCluster causes application to fail
We have a cluster setup for RabbitMQ and we are using MassTransit for managing message types, configuration etc.
Read more >
TLS Support
How to generate self-signed certificates for development and QA environments with tls-gen or manually; TLS configuration in Java and .NET clients; Peer ( ......
Read more >
Re: [masstransit-discuss] Rabbit MQ Ssl Problem
The SSL works while using RabbitMQ client to connect and is able to use the port 5671 without problems. But when using Masstransit...
Read more >
RabbitMQ with ASP.NET Core - Microservices
We will be using MassTransit as an abstraction over RabbitMQ. ... http://localhost:15672/ – This is the default port of RabbitMQ.
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