Rabbitmq Server Socket Close Problem

2,518 views
Skip to first unread message

morn sophanna

unread,
Feb 13, 2017, 5:26:04 AM2/13/17
to rabbitmq-users
Dear sir,all

Now,I have problem with rabbitmq connect from android to local server. Problem is that It alway time out and socket closed

How can I deal this problem?

Arnaud Cogoluègnes

unread,
Feb 13, 2017, 5:38:21 AM2/13/17
to rabbitm...@googlegroups.com
We need more information to diagnose the problem (version of broker/Erlang/client, logs, settings).

What do you mean by "it always times out"? The client never connects to the server or it does but times out after 1 hour? If the later, try to lower the AMQP heartbeat (5-10 seconds) and to use automatic recovery. 

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arnaud Cogoluègnes

unread,
Feb 13, 2017, 8:11:44 AM2/13/17
to morn sophanna, rabbitm...@googlegroups.com
+RabbitMQ Users (for such cases, please send to the mailing list, not to personal email addresses).

Have a look at the server logs as well. This could be due an unstable network, some equipment in the middle (e.g. load balancer) that drops the connection, or many other things. With the current level of information, we can't do better than speculations. 

On Mon, Feb 13, 2017 at 11:51 AM, morn sophanna <mornsop...@gmail.com> wrote:

Yes sir, thank your reply to my problem. Now, screen shot about my message error.

This is the error message:

W/System.err: [AMQP Connection 172.16.150.85:15672] WARN com.rabbitmq.client.impl.ForgivingExceptionHandler - An unexpected connection driver error occured (Exception message: Socket closed)



On Monday, February 13, 2017 at 5:38:21 PM UTC+7, Arnaud Cogoluègnes wrote:
We need more information to diagnose the problem (version of broker/Erlang/client, logs, settings).

What do you mean by "it always times out"? The client never connects to the server or it does but times out after 1 hour? If the later, try to lower the AMQP heartbeat (5-10 seconds) and to use automatic recovery. 
On Mon, Feb 13, 2017 at 11:26 AM, morn sophanna <mornsop...@gmail.com> wrote:
Dear sir,all

Now,I have problem with rabbitmq connect from android to local server. Problem is that It alway time out and socket closed

How can I deal this problem?

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages