[rabbitmq-discuss] Rabbitmq authentication failure

Alexander Kuleshov kuleshovmail at gmail.com
Tue Jul 24 08:06:00 BST 2012


I try to connect with erlang amqp client to rabbitmq server.

I made connection params:

AMQP_Param = #amqp_params_network{
                                               host = <<"localhost">>,
                                               username = <<"guest">>
                                               password = <<"123456">>,
                                               port = 5672
                                               virtual_host = 
test_virtual_host
                                               heartbeat = 5
},

Now i run rabbitmq server and try to connect to it:

amqp_connection:start(AMQP_Param) 

But i got error:

{error,auth_failure}

How can i fix it and connect to rabbitmq?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120724/3eb033ba/attachment.htm>


More information about the rabbitmq-discuss mailing list