[rabbitmq-discuss] Connecting to a remote rabbitmq server

Jerry Kuch jerryk at rbcon.com
Sun Feb 24 01:48:15 GMT 2013


On Sat, Feb 23, 2013 at 2:07 PM, Marco Mistroni <mmistroni at gmail.com> wrote:

>  i followed the sender/receiver tutorial for connecting to a rabbitmq
> server running on localhost
>
> i have then installed rabbitmq on my VPS (Ubuntu server) and tried to run
> sender.py but got hte following error
>
> =INFO REPORT==== 23-Feb-2013::22:05:28 ===
> accepted TCP connection on 0.0.0.0:5672 from 127.0.0.1:44821
>
> =INFO REPORT==== 23-Feb-2013::22:05:28 ===
> starting TCP connection <0.797.8> from 127.0.0.1:44821
>
> =ERROR REPORT==== 23-Feb-2013::22:05:28 ===
> exception on TCP connection <0.797.8> from 127.0.0.1:44821
> {bad_header,<<65,77,81,80,0,0,9,1>>}
>
>
> that sounds bizzarre because the rabbitmq server is running, as i can see
> from the output of the command rabbitmqctl status
>
> Status of node rabbit at worldcorpservices ...
> [{running_applications,[{rabbit,"RabbitMQ","1.6.0"},
>                         {mnesia,"MNESIA  CXC 138 12","4.4.10"},
>                         {os_mon,"CPO  CXC 138 46","2.2.2"},
>                         {sasl,"SASL  CXC 138 11","2.1.6"},
>                         {stdlib,"ERTS  CXC 138 10","1.16.2"},
>                         {kernel,"ERTS  CXC 138 10","2.13.2"}]},
>  {nodes,[rabbit at worldcorpservices]},
>  {running_nodes,[rabbit at worldcorpservices]}]
> ...done.
>

That RabbitMQ version of 1.6.0 is really quite ancient... several years...
Current is 3.0.2.

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...

Best regards,
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130223/70d03593/attachment.htm>


More information about the rabbitmq-discuss mailing list