dagda1 at scotalt.net
Tue Nov 1 06:01:12 GMT 2011
I have also created a new user and given them full access with
rabbitmqctl add_user lead l3ads
rabbitmqctl set_permissions -p / lead ".\*" ".\*" ".\*"
and then tried
AMQP.start(:host => "localhost", :user => "lead", :password => "Passw0rd",
:vhost => "/", :logging => true) do |connection|
But I still get the PossibleAuthenticationError.
I don't know what else I can try.
Cutting-Edge Solutions (Scotland)
On 1 November 2011 04:12, Paul Cowan <dagda1 at scotalt.net> wrote:
> >> Possibly for whatever reason your RabbitMQ installation does not have
> guest user, you can check it or add it using rabbitmqctl.
> When I run rabbitmqctl list_users it shows the guest user appears.
> Is there anything else it could be?
> Paul Cowan
> Cutting-Edge Solutions (Scotland)
> On 31 October 2011 23:35, Michael Klishin <michael.s.klishin at gmail.com>wrote:
>> 2011/11/1 Paul Cowan <dagda1 at scotalt.net>
>>> Do I need to add this guest account to the local rabbitmq-server?
>> RabbitMQ should have guest:guest user after installation. That exception
>> is raised when broker closes TCP connection before AMQP connection is
>> negotiated and open.
>> Per AMQP 0.9.1 spec, if authentication fails broker should close
>> connection immediately and not send any more data. This is why the
>> "Possible" part.
>> Possibly for whatever reason your RabbitMQ installation does not have
>> guest user, you can check it or add it using rabbitmqctl.
>> The exception for unsuccessful TCP connection is different so it must be
>> the missing user.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss