[rabbitmq-discuss] Auth failure: Bad CONNECT

Lionel Cons lionel.cons at cern.ch
Tue Jan 10 06:47:16 GMT 2012


dnsplus <developer at dnsplus.net> writes:
> wgmq201:/home/mq-admin/scripts # perl connect.pl
> *** unexpected ERROR frame received: Bad CONNECT
> [...]
> $stomp->connect(login=>"guest", passcode=>"guest");

Try to add the virtual host you want to use in the CONNECT frame:

  $stomp->connect(login=>"guest", passcode=>"guest", host=>"your-virtual-host");

This should hopefully work.

Cheers,

Lionel


More information about the rabbitmq-discuss mailing list