[rabbitmq-discuss] Cannot federate exchanges in the default vhost

Duncan McIntyre dmcintyre at gopivotal.com
Tue Dec 3 16:46:55 GMT 2013


Hi Alvaro,

Yes, in fact I created 'freddy' especially in case there was anything
unexpected about using 'guest'.

It's odd that the error message on the upstream says the vhost is called
''. I tried adding an extra slash to the federation-upstream connection
details, but that is rejected as invalid.

Duncan


On Tue, Dec 3, 2013 at 4:29 PM, Alvaro Videla <videlalvaro at gmail.com> wrote:

> Hi,
>
> Have you checked that the user "freddy" has access to the vhost you
> are trying to access?
>
> Regards,
>
> Alvaro
>
> On Tue, Dec 3, 2013 at 5:01 PM, Duncan McIntyre <dmcintyre at gopivotal.com>
> wrote:
> > If I declare an upstream on '/', the downstream cannot connect (see
> below).
> > It works fine if the upstream connects to a named vhost.
> >
> > Any ideas?
> >
> >
> > Using RabbitMQ 3.1.5
> >
> > root at ubuntu-A:/opt/tcserver-2.8.2#  rabbitmqctl set_parameter
> > federation-upstream f1 '{"uri":"amqp://freddy:freddy@ubuntu-C/"}'
> >
> >
> > root at ubuntu-C:/home/mcintyred/netsim/netsim-amqp-node/target# tail -10
> > /var/log/rabbitmq/rabbit\@ubuntu-C.log
> >
> > =ERROR REPORT==== 3-Dec-2013::07:59:34 ===
> > closing AMQP connection <0.11206.0> (172.16.192.100:33242 ->
> > 172.16.192.102:5672):
> > {handshake_error,opening,0,
> >                  {amqp_error,access_refused,
> >                              "access to vhost '' refused for user
> 'freddy'",
> >                              'connection.open'}}
> >
> >
> >
> > ----
> > Duncan McIntyre
> > Senior Consultant
> > dmcintyre at gopivotal.com
> > +44 7917 580 118
> >
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-discuss at lists.rabbitmq.com
> > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> >
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>



-- 
----
Duncan McIntyre
Senior Consultant
dmcintyre at gopivotal.com
+44 7917 580 118
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131203/2f1e7a64/attachment.html>


More information about the rabbitmq-discuss mailing list