Tags

, , , , , ,

If you have installed the latest RabbitMQ server and when you try to login, if you get this error:

=ERROR REPORT==== 10-Jun-2014::10:27:17 ===
webmachine error: path="/api/whoami"
"Unauthorized"

Follow the following steps

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

rabbitmqctl add_user test test

2.  Give administrative access to the new access

rabbitmqctl set_user_tags test administrator

3.  Set permission to newly created user

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

Woo hoo! Now you can login to the  RabbitMQ web management( http://myurl.com:15672/). Enjoy Now.