[rabbitmq-discuss] Erlang RabbitMQ Client hanshake problem on "State = Driver:handshake(InitialState), "
Lynton Grice
lynton.grice at logosworld.com
Tue Jun 9 19:32:58 BST 2009
Hi Matthias,
One more thing that may be causing an issue on my side is the way I compile
the client into BEAM files...
Because I am (unfortunately) using Windows I obviously cannot use the MAKE
file to compile the files, so I am literally going in MANUALLY and compiling
them one by one.
I have tried the following in the command line to compile everything but it
doesn't work....
for %i in (src/*.erl) do erlc -o ebin src/%i
Then it complains about that it cannot find the "amqp_client.hrl" file....
So I go change the files to see the file correctly...
And then I ASSUME it would work with the following command again
for %i in (src/*.erl) do erlc -o ebin src/%i
But it still has compilation errors....it seems to have an error writing the
BEAM files for some reason
BUT if I compile them individually they work fine......very weird...
So I compile them all and them move the BEAM files into an "ebin"
folder...and that is it......
Now I test again with this new erlang client....
And it hangs ;-(
And here is the latest LOG....
=INFO REPORT==== 9-Jun-2009::20:30:20 ===
accepted TCP connection on 0.0.0.0:5672 from 127.0.0.1:2364
=INFO REPORT==== 9-Jun-2009::20:30:20 ===
starting TCP connection <0.172.0> from 127.0.0.1:2364
=ERROR REPORT==== 9-Jun-2009::20:30:30 ===
error on TCP connection <0.172.0> from 127.0.0.1:2364
{handshake_timeout,frame_header}
=INFO REPORT==== 9-Jun-2009::20:30:30 ===
closing TCP connection <0.172.0> from 127.0.0.1:2364
So I seriously have not idea what to do now.....both the server and the
client are the LATEST I can find...am I compiling things wrong?
Any ideas? Thanks again
Lynton
-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com
[mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Matthias
Radestock
Sent: 09 June 2009 08:00 PM
To: Grice, Lynton (L)
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] Erlang RabbitMQ Client hanshake problem on
"State = Driver:handshake(InitialState), "
Lynton,
Grice, Lynton (L) wrote:
> I have tried to do what you asked for in order for you to understand the
> problem better, forgive me if I misinterpreted one or two things, just
> let me know and I will try again ;-)
That all looks fine, BUT ...
the reason I asked for this info is so that I could figure out why you
were getting the {undef, [{rabbit_framing_channel,start_link,...}]}
error. It looks like you are no longer getting that error. Is that correct?
What's the problem now? Does network_client_test:lifecycle_test() not
return, and you get an {handshake_timeout,frame_header} error in the
server logs?
If so, that does look like a version incompatibility problem again,
specifically it appears that you are running a 1.5.5 server, but a
non-1.5.x Erlang client. As I said before, if you are running with a
1.5.5 server, make sure that your version of the Erlang client is from a
1.5.x tag/branch. If that doesn't work for you, please send me a
transcript of the commands you are using to get hold of your copies of
the client and server code.
Regards,
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090609/0129140f/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 13142 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090609/0129140f/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4436 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090609/0129140f/attachment-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 21167 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090609/0129140f/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 8427 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090609/0129140f/attachment-0003.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5478 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090609/0129140f/attachment-0004.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2653 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090609/0129140f/attachment-0005.png
More information about the rabbitmq-discuss
mailing list