[rabbitmq-discuss] rabbitmq erlang client

Orion Henry orion.henry at gmail.com
Fri Nov 7 07:09:23 GMT 2008

Hey Ben,

Thanks so much for talking the time to help me work through this...

I decided to start over and wrote a shell script that did the whole
install and test....  here it is.


tar xzvf rabbitmq-server-1.4.0.tar.gz
cd rabbitmq-server-1.4.0 ; make ; cd ..
sudo mv rabbitmq-server-1.4.0 /opt/local/lib/erlang/lib/rabbitmq_server-1.4.0
RABBIT_ARGS="-detached -pa ./ebin" NODENAME=rabbit_test_direct

tar xzvf rabbitmq-erlang-client-3a9ce636e283.tar.gz
cd rabbitmq-erlang-client-3a9ce636e283; make; cd ..
sudo mv rabbitmq-erlang-client-3a9ce636e283

erl -noshell -eval 'network_client_test:test(),halt().'

I've attached its output to this email (its very long as a text file).
 It contains the 6 failed tests from network_client_test:test/0

Also I started doing a binary search of old releases of the client
software.  I found that very old versions worked and very new versions
didn't.  My search lead 16194802fe02 being the newest version of the
client to pass the tests as per my install script.  I'm working off
this build now.

On Thu, Nov 6, 2008 at 6:13 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
> [Orion|Henry],
> On Thu, Nov 6, 2008 at 9:19 PM, Orion Henry <orion.henry at gmail.com> wrote:
>> My test code looks like this:
>> test_client() ->
>>    io:format("--- begin~n"),
>>    Connection =
>> amqp_connection:start_link("mylogin","mypass","",<<"/myvhost">>),
>>    io:format("--- got Connection = ~p.~n",[Connection]),
>>    Channel = amqp_connection:open_channel(Connection),
>>    io:format("--- got Channel = ~p.~n",[Channel]).
>> this seems to work ok but I get a "Have a look into this one: closed"
>> message a split second later.   If I add anymore code, such as a
>>    X2 = lib_amqp:declare_exchange(Channel, <<"abc">>),
> I've run your test code with the client version you specified and it
> seems fine :-(
> The error log you are seeing "Have a look into this one: closed"
> indicates that the TCP connection between the client and the broker
> has been closed for some reason.
> Maybe you can elaborate on your setup, like how you installed Rabbit,
> the client and look into the server logs.
>> I'm currently using erlang client 3a9ce636e283 and rabbitmq_server
>> 200803291005.  That said I have not been able to get the erlang make
>> all_tests work against the rabbitmq server.
> What do you get when you run network_client_test:test/0 ?
> Ben
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: erlang_client_output.txt
Url: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20081107/3a50eaa1/attachment.txt 

More information about the rabbitmq-discuss mailing list