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.
satish said:
Hi
I have enabled rabbit_auth_backend_http. and I have configured in rabbitmq.conf also then i restarted the rabbitmq . Now i tried to login usingthe credentials what i have given in backend now i am getting 401 unauthorized. and i checked in f12. here it is calling /api/whoami api not what i have configured api. But in logs It is showing error
HTTP access denied: rabbit_auth_backend_http failed. i didn’t get it where i did mistake please help here
LikeLike
Hayku said:
Thanks very usefull.
LikeLike