Federation rabbitMQ ACCESS_REFUSED (guest login completed)

I set up rabbitMQ federation between two machines A and B, in two directions,

but have a mistake

{auth_failure, "ACCESS_REFUSED - Login was rejected using the PLAIN authentication mechanism. For more details, see the broker's log file." }

in the log file, it seems that amqp federation should be able to access through the guest / guest credentials, the question arises here:

Failed to log into rabbitMQ guest account

with existing test / test setup solution:

Unable to access RabbitMQ web management interface after a new installation

I tried to get the guest / guest to work from another computer by running: rabbitmqctl set_permissions -p / guest "." "" * "

but still cannot log in through the guest / guest on another machine,

in the rabbitMQ web management interface, the user test and guest appearance look the same:

Name Tags Access to virtual hosts with a password

guest admin / ●

admin test / ●

but why am I still unable to connect to the guest / guest on another machine? (test / test works fine)

+6
source share
1 answer

You do not indicate which version you are using, but expect from your time, I would say that the problem is probably due to the fact that in version 3.3.0 (released in early April 2014) they disabled the user's guest login remotely (see release notes here ), And it seems that at some point at that time there were changes either in the way the federation is supposed to be set up, or simply in the way it behaves differently.

In any case, to solve this problem, make sure you create your upstream with a URI in the following form:

amqp://your_user: your_users_password@rabbit-node-FQDN.your.domain.com /your_vhost 

the key is in the line your_user: your_users_password , which was not required before 3.3 (and it can still work without it if you enable the guest user ... but I still try this)

Hth

+8
source

Source: https://habr.com/ru/post/969655/


All Articles