Hi,<div><br></div><div>I have also created a new user and given them full access with�</div><div><br></div><div><span style="border-collapse:separate;font-family:Tahoma;font-size:medium">rabbitmqctl add_user lead l3ads</span></div>

<div><span style="border-collapse:separate;font-family:Tahoma;font-size:medium"><span style="border-collapse:separate">rabbitmqctl set_permissions -p / lead &quot;.\*&quot; &quot;.\*&quot; &quot;.\*&quot;</span></span></div>

<div><span style="border-collapse:separate;font-family:Tahoma;font-size:medium"><span style="border-collapse:separate"><br>
</span></span></div><div><span style="border-collapse:separate;font-family:Tahoma;font-size:medium"><span style="border-collapse:separate">and then tried</span></span></div>
<div><span style="border-collapse:separate;font-family:Tahoma;font-size:medium"><span style="border-collapse:separate"><br>AMQP.start(:host =&gt; &quot;localhost&quot;, :user =&gt; &quot;lead&quot;, :password =&gt; &quot;Passw0rd&quot;, :vhost =&gt; &quot;/&quot;, :logging =&gt; true) do |connection|</span></span></div>
<div><span style="border-collapse:separate;font-family:Tahoma;font-size:medium"><br>
</span></div><div><span style="border-collapse:separate;font-family:Tahoma;font-size:medium">But I still get the PossibleAuthenticationError.</span></div><div><span style="border-collapse:separate;font-family:Tahoma;font-size:medium"><br>
</span></div><div><span style="border-collapse:separate;font-family:Tahoma;font-size:medium">I don&#39;t know what else I can try.</span></div><div><br clear="all">Cheers<br><br>Paul Cowan<br><br>Cutting-Edge Solutions (Scotland)<br>
<br><a href="http://thesoftwaresimpleton.com/" target="_blank">http://thesoftwaresimpleton.com/</a><br><br>
<br><br><div class="gmail_quote">On 1 November 2011 04:12, Paul Cowan <span dir="ltr">&lt;<a href="mailto:dagda1@scotalt.net" target="_blank">dagda1@scotalt.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<div><br></div><div><div>&gt;&gt;�<span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Possibly for whatever reason your RabbitMQ installation does not have guest user, you can check it or add it using rabbitmqctl.</span><br>


<div><br></div></div><div>When I run rabbitmqctl list_users it shows the guest user appears.</div><div><br></div><div>Is there anything else it could be?</div><div><div><br clear="all">Cheers<br><br>Paul Cowan<br>
<br>Cutting-Edge Solutions (Scotland)<br>
<br><a href="http://thesoftwaresimpleton.com/" target="_blank">http://thesoftwaresimpleton.com/</a><br><br>
<br><br></div><div><div></div><div><div class="gmail_quote">On 31 October 2011 23:35, Michael Klishin <span dir="ltr">&lt;<a href="mailto:michael.s.klishin@gmail.com" target="_blank">michael.s.klishin@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br><br><div class="gmail_quote">2011/11/1 Paul Cowan <span dir="ltr">&lt;<a href="mailto:dagda1@scotalt.net" target="_blank">dagda1@scotalt.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




Do I need to add this guest account to the local rabbitmq-server?</blockquote></div><br></div>RabbitMQ should have guest:guest user after installation. That exception is raised when broker closes TCP connection before AMQP connection is negotiated and open.<div>




Per AMQP 0.9.1 spec, if authentication fails broker should close connection immediately and not send any more data. This is why the &quot;Possible&quot; part.<br clear="all"><div><br></div><div>Possibly for whatever reason your RabbitMQ installation does not have guest user, you can check it or add it using rabbitmqctl.</div>




<div><br></div><div>The exception for unsuccessful TCP connection is different so it must be the missing user.</div>-- <br><font color="#888888">MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>




<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br><br>
</font></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>