Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  Eralng Client Network Connection Error

Guest
Posted: Fri Mar 07, 2008 4:55 pm Reply with quote
Guest
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@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
0x6e6562
Posted: Fri Mar 07, 2008 5:29 pm Reply with quote
User Joined: 12 Jul 2007 Posts: 250
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@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message
Guest
Posted: Sun Mar 09, 2008 9:19 am Reply with quote
Guest
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@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
alexis
Posted: Sun Mar 09, 2008 9:28 am Reply with quote
User Joined: 06 Sep 2007 Posts: 80 Location: London
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@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@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)

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message Yahoo Messenger

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum