<div dir="ltr">Hi all,<div><br></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:13px;background-color:rgb(240,247,255)">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</span> below.<span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:13px;background-color:rgb(240,247,255)"> Any help to fix this error?</span></div>
<div><div style><font color="#000000" face="Consolas, Lucida Console, monospace"><br></font></div><div style><font color="#000000" face="Consolas, Lucida Console, monospace"># logging</font></div><div style><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;line-height:13px;text-indent:0px;white-space:pre">closing AMQP connection <0.4783.0> (<a href="http://127.0.0.1:42097">127.0.0.1:42097</a> -> <a href="http://127.0.0.1:5672">127.0.0.1:5672</a>):
{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.</span><font color="#000000" face="Consolas, Lucida Console, monospace"><br></font></div><div><div><br></div>-- <br>Best regards,<br>
</div></div></div>