[rabbitmq-discuss] MQTT login failed for "guest" access_refused even after mentioning loopback_users

Michael Klishin mklishin at gopivotal.com
Fri Jul 18 14:03:44 BST 2014

 On 18 July 2014 at 14:33:02, Ankur5 C (ankur5.c at tcs.com) wrote:
> > Please let me know where should I provide the loopback_users  
> ?

This is documented with an example in http://www.rabbitmq.com/access-control.html:
[{rabbit, [{loopback_users, []}]}].

So, in your case it becomes

{rabbit,        [{loopback_users, []}
                 {tcp_listeners,  [5672]},
                 {ssl_listeners,  [5671]},    
                 {ssl_options, [{cacertfile,"/etc/rabbitmq/testca/cacert.pem"},

Staff Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list