[rabbitmq-discuss] Can't connect to STOMP

Michael Justin michael.justin at gmx.net
Thu Jul 4 09:03:49 BST 2013


Am 04.07.2013 02:56, Jeff Anderson wrote:
> I'm trying to access RabbitMQ Stomp with the latest 3.1.3 release. I'm
> using the default guest/guest and trying to connect to localhost. I've
> verified guest has all rights on the default virtual host ("/") in
> rabbitmq. I'm getting this error:
>
> CONNECT
> accept-version:1.0,1.1
> passcode:guest
> heart-beat:10000,30000
> client-id:ID:CJANDERSON-LT-11309-635084707237720849-0:0
> login:guest
> host:localhost
>
> .ERROR
> message:Bad CONNECT
> content-type:text/plain
> version:1.0,1.1,1.2
> content-length:39
>
> Virtual host 'localhost' access denied.
>

With RabbitMQ default installation there is a virtual host "/" defined 
so this should work:

CONNECT
accept-version:1.0,1.1
passcode:guest
heart-beat:10000,30000
client-id:ID:CJANDERSON-LT-11309-635084707237720849-0:0
login:guest
host:/

iirc a vhost "localhost" first has to be configured in RabbitMQ to be 
available

Hope this helps
-- 
Michael Justin



More information about the rabbitmq-discuss mailing list