[rabbitmq-discuss] Auth failure: Bad CONNECT
lionel.cons at cern.ch
Thu Jan 12 08:04:44 GMT 2012
dnsplus <developer at dnsplus.net> writes:
> Sadly, no. I still get the Bad CONNECT response.
Which version of RabbitMQ are you using?
Here, with RabbitMQ 2.7.1 and Net-STOMP-Client 1.2, the following code
$stomp = Net::STOMP::Client->new(host=>'localhost', port=>61223);
$stomp->connect(login=>"guest", passcode=>"guest", host=>"rabbitmq");
(note: our virtual host is called "rabbitmq" and not "default")
As a side note, the RabbitMQ logs should contain more information
so that broker admins can more quickly unedrstand what's wrong.
More information about the rabbitmq-discuss