RabbitMQ 3.3.1 can not login with guest/guest

I have installed the latest version of RabbitMQ on a VPS Debian Linux box. Tried to get login through guest/guest but returned with the message login failed. I did a little research and found that for security reason its prohibited to get login via guest/guest remotely.

I also have tried enabling guest uses on this version to get logged in remotely by creating a rabbitmq.config file manually (because the installation didn't create one) and placing the following entry only

[{rabbit, [{loopback_users, []}]}].

after restart the rabbitmq with the following command.

invoke-rc.d rabbitmq-server stop -- to stop
invoke-rc.d rabbitmq-server start -- to start

It still doesn't logged me in with guest/guest. I also have tried installing RabbitMQ on Windows VPS and tried to get log in via guest/guest through localhost but again i get the same message login failed.

Also provide me a source where I could try installing the old version of RabbitMQ that does support logging remotely via guest/guest.


I had the same Problem..

I installed RabbitMQ and Enabled Web Interface also but still couldn't sign in with any user i newly created, this is because you need to be administrator to access this.

Do not create any config file and mess with it..

This is what i did then,

  1. Add a new/fresh user, say user test and password test:

    rabbitmqctl add_user test test
    
  2. Give administrative access to the new user:

    rabbitmqctl set_user_tags test administrator
    
  3. Set permission to newly created user:

    rabbitmqctl set_permissions -p / test ".*" ".*" ".*"
    

That's it, enjoy :)


I tried on Debian the same configuration with the following steps:

  1. Installed RabbitMQ.
  2. Enabled the web-management plug-in (not necessary).

When I tried to login I had the same error:

enter image description here

So I created a rabbitmq.config file (classic configuration file) inside the /etc/rabbitmq directory with the following content (notice the final dot):

[{rabbit, [{loopback_users, []}]}].

Alternatively, one can create instead a rabbitmq.conf file (new configuration file) inside the same directory with the following content:

loopback_users = none

Then I executed the invoke-rc.d rabbitmq-server start command and both the console and the Java client were able to connect using the guest/guest credentials:

enter image description here

So I think you have some other problem if this procedure doesn't work. For example your RabbitMQ might be unable to read the configuration file if for some reason you have changed the RABBITMQ_CONFIG_FILE environment variable.