Hi all<br> sorry i realized i have sent this message with an incorrect subject i followed the sender/receiver tutorial for connecting to a rabbitmq server running on localhost<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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><br><br>what am i doing wrong? i am just using exactly the same sender.py as in the tutorials<br><br>w/kindest regards<span class="HOEnZb"><font color="#888888"><br>
marco<br><br><br>
</font></span></blockquote></div><br>