[rabbitmq-discuss] Auth failure: Bad CONNECT

dnsplus developer at dnsplus.net
Tue Jan 10 16:48:12 GMT 2012




dnsplus wrote:
> 
> 
> 
> Lionel Cons wrote:
>> 
>> 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
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> 
>> 
> 
> Sadly, no. I still get the Bad CONNECT response. 
> 
> What can I check as for dependencies for Net::STOMP ? I can't tell based
> on the CPAN pages whether there are, or are not, any dependencies. 
> 
> Thanks !
> 


I installed the Net::Stomp module via CPAN, and the perl examples at:

http://hg.rabbitmq.com/rabbitmq-stomp/file/f763412c0ee7/examples/perl

all work properly. 

I wonder what it is about the 'Net::STOMP::Client' provider that rabbitmq
does not like ?

-- 
View this message in context: http://old.nabble.com/Auth-failure%3A-Bad-CONNECT-tp33107784p33112968.html
Sent from the RabbitMQ mailing list archive at Nabble.com.



More information about the rabbitmq-discuss mailing list