On Sat, Feb 23, 2013 at 2:07 PM, Marco Mistroni <span dir="ltr"><<a href="mailto:mmistroni@gmail.com" target="_blank">mmistroni@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
�i followed the sender/receiver tutorial for connecting to a rabbitmq server running on localhost<br><br>i have then installed rabbitmq on my VPS (Ubuntu server) and tried to run sender.py but got hte following error<br>
<br>=INFO REPORT==== 23-Feb-2013::22:05:28 ===<br>accepted TCP connection on <a href="http://0.0.0.0:5672" target="_blank">0.0.0.0:5672</a> from <a href="http://127.0.0.1:44821" target="_blank">127.0.0.1:44821</a><br><br>
=INFO REPORT==== 23-Feb-2013::22:05:28 ===<br>
starting TCP connection <0.797.8> from <a href="http://127.0.0.1:44821" target="_blank">127.0.0.1:44821</a><br><br>=ERROR REPORT==== 23-Feb-2013::22:05:28 ===<br>exception on TCP connection <0.797.8> from <a href="http://127.0.0.1:44821" target="_blank">127.0.0.1:44821</a><br>
{bad_header,<<65,77,81,80,0,0,9,1>>}<br><br><br>that sounds bizzarre because the rabbitmq server is running, as i can see from the output of the command rabbitmqctl status<br><br>Status of node rabbit@worldcorpservices ...<br>
[{running_applications,[{rabbit,"RabbitMQ","1.6.0"},<br>����������������������� {mnesia,"MNESIA� CXC 138 12","4.4.10"},<br>����������������������� {os_mon,"CPO� CXC 138 46","2.2.2"},<br>
����������������������� {sasl,"SASL� CXC 138 11","2.1.6"},<br>����������������������� {stdlib,"ERTS� CXC 138 10","1.16.2"},<br>����������������������� {kernel,"ERTS� CXC 138 10","2.13.2"}]},<br>
�{nodes,[rabbit@worldcorpservices]},<br>�{running_nodes,[rabbit@worldcorpservices]}]<br>...done.<br></blockquote><div><br></div><div>That RabbitMQ version of 1.6.0 is really quite ancient... several years... Current is 3.0.2.</div>
<div><br></div><div>The error is because the AMQP version your client is trying to negotiate doesn't agree with that old Rabbit. �You're best off updating for a whole host of reasons...</div><div><br></div><div>Best regards,</div>
<div>Jerry</div><div><br></div></div>