[rabbitmq-discuss] "AMQPLAIN login refused: user 'celeryuser' - invalid credentials"

Pedro Sá da Costa psdc1978 at gmail.com
Tue May 7 07:35:58 BST 2013

Hi all,

I am trying to run the my example with celery, but I get problems with the
configuration of rabbitmq. I added user, vhost and permissions, but I have
invalid credentials. The error is below. Any help to fix this error?

# logging
closing AMQP connection <0.4783.0> ( ->
{handshake_error,starting,0, {amqp_error,access_refused, "AMQPLAIN login
refused: user 'celeryuser' - invalid credentials", 'connection.start_ok'}}
# set vars $ rabbitmqctl add_user celeryuser celery $ rabbitmqctl add_vhost
celeryvhost $ rabbitmqctl set_permissions -p celeryvhost celeryuser ".*"
".*" ".*" Setting permissions for user "celeryuser" in vhost "celeryvhost"
... ...done. # list vars $ rabbitmqctl list_users Listing users ...
celeryuser [] guest [administrator] $ rabbitmqctl list_vhosts Listing
vhosts ... / celeryvhost ...done. $ rabbitmqctl list_permissions Listing
permissions in vhost "/" ... guest .* .* .* ...done.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130507/0d38466c/attachment.htm>

More information about the rabbitmq-discuss mailing list