<font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I want the default user guest to work
from remote host.</font>
<br>
<br><font size=2 face="sans-serif">My rabbitmq config file looks like :</font>
<br><font size=1 face="Courier New">[{rabbit, [{tcp_listeners,
[5672]},{ssl_listeners, [5671]}, </font>
<br><font size=1 face="Courier New">
{ssl_options,
[{cacertfile,"/etc/rabbitmq/testca/cacert.pem"},</font>
<br><font size=1 face="Courier New">
{certfile,"/etc/rabbitmq/server/cert.pem"},</font>
<br><font size=1 face="Courier New">
{keyfile,"/etc/rabbitmq/server/key.pem"},</font>
<br><font size=1 face="Courier New">
{verify,verify_peer},</font>
<br><font size=1 face="Courier New">
{fail_if_no_peer_cert,false}]}]},</font>
<br><font size=1 face="Courier New"> {rabbitmq_mqtt, [{default_user,
<<"guest">>},</font>
<br><font size=1 face="Courier New">
{default_pass, <<"guest">>},</font>
<br><font size=1 face="Courier New">
</font><font size=3 face="Courier New"><b>{loopback_users,
[]},</b></font>
<br><font size=1 face="Courier New">
{allow_anonymous, true},</font>
<br><font size=1 face="Courier New">
{vhost,
<<"/">>},</font>
<br><font size=1 face="Courier New">
{subscription_ttl, 1800000},</font>
<br><font size=1 face="Courier New">
{prefetch, 10},</font>
<br><font size=1 face="Courier New">
{ssl_listeners, [8883]},</font>
<br><font size=1 face="Courier New">
{tcp_listeners, [1883]},</font>
<br><font size=1 face="Courier New">
{tcp_listen_options, [binary,</font>
<br><font size=1 face="Courier New">
{packet, raw},</font>
<br><font size=1 face="Courier New">
{reuseaddr, true},</font>
<br><font size=1 face="Courier New">
{backlog, 128},</font>
<br><font size=1 face="Courier New">
{nodelay, true}]}]}</font>
<br><font size=1 face="Courier New">].</font>
<br>
<br>
<br><font size=2 face="sans-serif">I have mentioned the </font><font size=3 face="Courier New"><b>{loopback_users,
[]} , and even after restarting the rabbitmq server my mqtt client is saying
</b></font><font size=2 color=red face="Consolas">Not authorized to connect</font><font size=3 face="Courier New"><b>
and the logs reveal , MQTT login failed for "guest" access_refused
(access must be from localhost).</b></font>
<br>
<br><font size=3 face="Courier New"><b>Please suggest.</b></font>
<br>
<br><font size=3 face="Courier New"><b>From,local host all is well.</b></font>
<br>
<br><font size=2 face="sans-serif"><br>
Thanks and Regards,<br>
Ankur Chakraborty<br>
</font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>
<p></p>