Skip to content

RabbitMQ: BrokerUnreachableException when setting UseExternalAuthMechanism=false #5417

Description

@danielmarbach

Symptoms

ServiceControl fails to connect to RabbitMQ and throws a BrokerUnreachableException when starting up or attempting to communicate with the broker.

Who's affected

You are affected if:

Root cause

This is a regression that was introduced by #5383.

During the changes, we did not consider that the pure existence of the key could lead to the external authentication mechanism being set.

Confirmed workarounds

Remove UseExternalAuthMechanism=false from the connection string

Original bug report

Describe the bug

Description

This is a regression that was introduced by #5383.

During the changes, we did not consider that the pure existence of the key could lead to the external authentication mechanism being set.

Expected behavior

UseExternalAuthMechanism=false should not lead to BrokerUnreachableExceptions

Actual behavior

UseExternalAuthMechanism=false leads to BrokerUnreachableException

Image

Versions

Please list the version of the relevant packages or applications in which the bug exists.

Affects 6.14 only, which contains the transport upgrade

Steps to reproduce

UseExternalAuthMechanism=false in the connection string

Relevant log output

Additional Information

Workarounds

Remove UseExternalAuthMechanism=false from the connection string

Possible solutions

Additional information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions