[rabbitmq-discuss] Eralng Client Network Connection Error
Alexis Richardson
alexis.richardson at cohesiveft.com
Sun Mar 9 09:28:33 GMT 2008
Amin
I think Ben Hood answered this - perhaps you did not get his reply
email, so I shall repost it below. Let us know if this helps!
alexis
---
Amin,
This indicates that the common modules that are provided by the server
are not on the load path of the client (for example the
rabbit_framing_channel module).
How are you defining the load path?
BTW, what version of the erlang client are you using? Did you download
it as a snapshot or did you check it out from the mtn repo?
The reason why I am asking is because {amqp_util,decode_method,2} is
a deprecated method and has long been removed from the current version.
HTH,
Ben
On Sun, Mar 9, 2008 at 9:19 AM, Amin Abbaspour <abbaspour_amin at yahoo.com> wrote:
> Hi All,
>
> I try to test rabbitmq erlang client. As the documentations says, I run
> network test modules and try to connect to a running server (which is the
> same version as client recommends). I receive connection error and here is
> the log:
>
> ----
> network_client_test:basic_ack_test...*failed*
> ::error:{badmatch,
> {error,
> {undef,
> [{rabbit_framing_channel,
> finish_reading_method,
> ['connection.start',<<8,0,...>>]},
> {amqp_util,decode_method,2},
> {amqp_network_driver,network_handshake,1},
> {amqp_network_driver,handshake,2},
> {amqp_connection,init,1},
> {gen_server,init_it,...},
> {proc_lib,...}]}}}
> in function amqp_connection:start/3
> in call from network_client_test:basic_ack_test/0
>
> ----
>
> In the server side, I see this log:
>
> ----
> =INFO REPORT==== 7-Mar-2008::19:57:20 ===
> accepted TCP connection on 0.0.0.0:5672 from 127.0.0.1:45480
>
> =INFO REPORT==== 7-Mar-2008::19:57:20 ===
> Connection closed abruptly.
>
> =INFO REPORT==== 7-Mar-2008::19:57:20 ===
> closing TCP connection from 127.0.0.1:45480
> ----
>
> Could you please guide me to fix this problem.
>
> Thanks a lot,
> Amin
>
>
>
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
--
Alexis Richardson
+44 20 7617 7339 (UK)
+44 77 9865 2911 (cell)
+1 650 206 2517 (US)
More information about the rabbitmq-discuss
mailing list