[rabbitmq-discuss] Erlang client problem

Colin Z theczintheroc2007 at gmail.com
Thu Apr 23 21:44:01 BST 2009


Trying to get the erlang client to be able to connect to a local rabbit node
and am having some issues.

I start rabbit normally via rabbitmqctl, nothing special here.

I then start a separate erl shell (with paths to the erlang rabbit client
specified) and try this command:
amqp_connection:start("guest", "guest", "localhost").

This hangs forever.

The rabbit log looks like this:

=INFO REPORT==== 23-Apr-2009::16:40:07 ===
started TCP listener on 0.0.0.0:5672

=INFO REPORT==== 23-Apr-2009::16:40:19 ===
accepted TCP connection on 0.0.0.0:5672 from 127.0.0.1:1649

=INFO REPORT==== 23-Apr-2009::16:40:19 ===
starting TCP connection <0.138.0> from 127.0.0.1:1649

=ERROR REPORT==== 23-Apr-2009::16:40:29 ===
error on TCP connection <0.138.0> from 127.0.0.1:1649
{handshake_timeout,frame_header}

=INFO REPORT==== 23-Apr-2009::16:40:29 ===
closing TCP connection <0.138.0> from 127.0.0.1:1649


Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090423/7f7c3960/attachment.htm 


More information about the rabbitmq-discuss mailing list