[rabbitmq-discuss] Erlang RabbitMQ Client hanshake problem on "State = Driver:handshake(InitialState), "

Lynton Grice lynton.grice at logosworld.com
Tue Jun 9 11:24:09 BST 2009


Hi Matthias,

 

Thanks for the help so far, I now have the latest versions for both the
client and server installed BUT now I am getting the following error.....it
is also in the "driver handshake"

 

26> network_client_test:lifecycle_test().

** exception error: no match of right hand side value

                    {error,

                        {undef,

                            [{rabbit_framing_channel,start_link,

                                 [#Fun<amqp_network_driver.0.121542398>,

                                  [<0.213.0>]]},

                             {amqp_network_driver,handshake,1},

                             {amqp_connection,init,1},

                             {gen_server,init_it,6},

                             {proc_lib,init_p_do_apply,3}]}}

     in function  amqp_connection:start/5

     in call from network_client_test:lifecycle_test/0

 

And here is the RabbitMQ log...seems to accept the connection and then
immediately close it....

 

=INFO REPORT==== 9-Jun-2009::11:57:51 ===

Rolling persister log to "c:/Documents and Settings/Lynton/Application
Data/RabbitMQ/db/rabbit-mnesia/rabbit_persister.LOG.previous"

 

=INFO REPORT==== 9-Jun-2009::11:57:51 ===

started TCP listener on 0.0.0.0:5672

 

=INFO REPORT==== 9-Jun-2009::11:58:17 ===

accepted TCP connection on 0.0.0.0:5672 from 127.0.0.1:1359

 

=INFO REPORT==== 9-Jun-2009::11:58:17 ===

starting TCP connection <0.148.0> from 127.0.0.1:1359

 

=ERROR REPORT==== 9-Jun-2009::11:58:17 ===

error on TCP connection <0.148.0> from 127.0.0.1:1359

connection_closed_abruptly

 

=INFO REPORT==== 9-Jun-2009::11:58:17 ===

closing TCP connection <0.148.0> from 127.0.0.1:1359

 

Any ideas what this could be?

 

Thanks 

 

Lynton

  _____  

 

-----Original Message-----
From: Matthias Radestock [mailto:matthias at lshift.net] 
Sent: 09 June 2009 11:44 AM
To: Lynton Grice
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] Erlang RabbitMQ Client hanshake problem on
"State = Driver:handshake(InitialState), "

 

Lynton,

 

Lynton Grice wrote:

> BTW: I am running RabbitMQ 1.5.4 and the latest (just downloaded) Erlang 

> Client code from http://hg.rabbitmq.com (not sure what version that is...)

 

That's a recipe for breakage. If you search the list for the error 

you'll find that you aren't the first person to run into this.

 

> Any idea what the problem could be? Maybe a version thing?

 

Yes. Please follow the instructions at 

http://www.rabbitmq.com/mercurial.html. Specifically make sure that your 

version of the Erlang client is from a 1.5.x-tag/branch.

 

 

Regards,

 

Matthias.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090609/59a5070c/attachment.htm 


More information about the rabbitmq-discuss mailing list