[rabbitmq-discuss] access to vhost '/'?

Benjamin Black bb at joyent.com
Fri Aug 8 22:48:15 BST 2008


i'm rather new to rabbitmq, having previously only used activemq.  i'm  
running into a problem with the permissions system and i'm hoping  
someone on the list can point out my obvious error.  i'm using 1.4.0  
with the latest stomp adapter on osx 10.5 and the client is in ruby  
using the stomp gem.

i've created a vhost called /metrics and a realm in /metrics called  
collection.  i've created a user called collector, mapped it to / 
metrics, and granted all permissions on /metrics/collection.  when i  
attempt to send messages i get the following error:

=INFO REPORT==== 8-Aug-2008::14:39:35 ===
starting STOMP connection <0.1195.0> from 127.0.0.1:61605

=ERROR REPORT==== 8-Aug-2008::14:39:35 ===
STOMP error frame sent:
Message: "Processing error"
Detail: "{amqp,access_refused,\n      \"access to vhost '/' refused  
for user 'collector'\",none}\n"

=INFO REPORT==== 8-Aug-2008::14:39:35 ===
ending STOMP connection <0.1195.0> from 127.0.0.1:61605

granting all permissions to collector on / allows the messages to go  
through correctly, but gives this error:

=WARNING REPORT==== 8-Aug-2008::12:25:52 ===
Lax ticket check mode: ignoring cross-realm access for ticket 101

any ideas?



thanks,
bb






More information about the rabbitmq-discuss mailing list