[rabbitmq-discuss] confused about permissions.

Matthias Radestock matthias at lshift.net
Sun Jan 13 22:50:57 GMT 2008


Steve Jenson wrote:

> When I connect (as user example with a vhost of example.com) to
> rabbitmq using the Java API (via Scala), I run into an error:
> [...]
> rabbit.log shows:
> =INFO REPORT==== 11-Jan-2008::19:11:00 ===
> accepted TCP connection on from
> =INFO REPORT==== 11-Jan-2008::19:11:00 ===
> Realm access refused: bad path; User <<"example">>, VHost
> <<"example.com">>, Realm <<"/mail">>

The AMQP 0-8 spec says
     The realm name MUST start with either "/data" (for application
     resources) or "/admin" (for server administration resources).
     If the realm starts with any other path, the server MUST raise
     a connection exception with reply code 403 (access refused).

So the error you are seeing is because your realm doesn't start with 
/data or /admin.


More information about the rabbitmq-discuss mailing list