<div dir="ltr">Hi all,<div><br></div><div><span style="color:rgb(0,0,0);font-family:Consolas,&#39;Lucida Console&#39;,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,&#39;Lucida Console&#39;,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 &lt;0.4783.0&gt; (<a href="http://127.0.0.1:42097">127.0.0.1:42097</a> -&gt; <a href="http://127.0.0.1:5672">127.0.0.1:5672</a>):
{handshake_error,starting,0,
                 {amqp_error,access_refused,
                             &quot;AMQPLAIN login refused: user &#39;celeryuser&#39; - invalid credentials&quot;,
                             &#39;connection.start_ok&#39;}}

# set vars
$ rabbitmqctl add_user celeryuser celery
$ rabbitmqctl add_vhost celeryvhost
$ rabbitmqctl set_permissions -p celeryvhost celeryuser &quot;.*&quot; &quot;.*&quot; &quot;.*&quot;
Setting permissions for user &quot;celeryuser&quot; in vhost &quot;celeryvhost&quot; ...
...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 &quot;/&quot; ...
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>