[rabbitmq-discuss] Eralng Client Network Connection Error
Ben Hood
0x6e6562 at gmail.com
Fri Mar 7 17:29:43 GMT 2008
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 7 Mar 2008, at 16:55, Amin Abbaspour 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
>
>
>
> ____________________________________________________________________________________
> Never miss a thing. Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list