<div dir="ltr"><div><div>Robert,<br><br></div>Curious. The connection_closed_abruptly log messages typically indicate that the client has done something strange; they are just (relatively innocuous) warnings from RabbitMQ's perspective. Can you connect from another server?<br>
<br></div>Brett<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 12, 2013 at 9:07 PM, Rubo Liang <span dir="ltr"><<a href="mailto:liangrubo@bytedance.com" target="_blank">liangrubo@bytedance.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Brett,<div><br></div><div>message from rabbit log file:</div><div><div>=INFO REPORT==== 12-Jul-2013::17:00:34 ===</div>
<div>accepting AMQP connection <0.4818.7> (<a href="http://10.4.16.221:61833" target="_blank">10.4.16.221:61833</a> -> <a href="http://10.4.16.221:5672" target="_blank">10.4.16.221:5672</a>)</div>
<div><br></div><div>=WARNING REPORT==== 12-Jul-2013::17:00:34 ===</div><div>closing AMQP connection <0.4818.7> (<a href="http://10.4.16.221:61833" target="_blank">10.4.16.221:61833</a> -> <a href="http://10.4.16.221:5672" target="_blank">10.4.16.221:5672</a>):</div>
<div>connection_closed_abruptly</div><div><br></div><div>It seems to be a socket problem, but I can immediately connect to the server with telnet.</div><div><br></div><div>Thanks.</div></div><div><div class="h5"><div><div class="gmail_extra">
<br><div class="gmail_quote">On Fri, Jul 12, 2013 at 4:16 PM, Brett Cameron <span dir="ltr"><<a href="mailto:brett.r.cameron@gmail.com" target="_blank">brett.r.cameron@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div>Robert,<br><br></div>For what it is worth "Socket Error on fd 3: 104" equates to "Connection reset by peer". Chances are there will be something in RabbitMQ's log files that will provide more information about what is going on - could be a timeout or something like that.<br>
<br></div>Brett<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Fri, Jul 12, 2013 at 7:19 PM, Rubo Liang <span dir="ltr"><<a href="mailto:liangrubo@bytedance.com" target="_blank">liangrubo@bytedance.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br>
</div><div>I have a rabbit cluster with 3 servers. I got error message like following when trying to connect to it (the cluster has worked well for 2 days): </div>
<div><br></div><div>Socket Error on fd 3: 104<br clear="all">
<div><br></div><div>Details:</div><div><br></div><div>The cluster has 3 servers: A, B, C. Clients connect to server A. I run <span style="font-family:arial,sans-serif;font-size:12.727272033691406px">'rabbitmqctl stop_app; rabbitmqctl reset; rabbitmqctl start_app' on Server A to bring the service back. Then I try to connect to server B but get the same error.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div><div>I can telnet rabbit port on server B.</div><div><br></div><div><div>~$ rabbitmqctl list_queues</div>
<div>Listing queues ...</div><div>ha.snssdk.log 0</div><div>ha.snssdk.log.dispatch 0</div><div>ha.snssdk.log.output 0</div><div>...done.</div></div><div><br></div><div>'rabbitmqctl report' output:</div>
<div><br></div><div><a href="https://gist.github.com/liangrubo/5982515" target="_blank">https://gist.github.com/liangrubo/5982515</a><br></div><div><br></div><div>pika stacktrace:</div><div><div> File "/usr/local/lib/python2.7/dist-packages/pika/adapters/base_connection.py", line 61, in __init__</div>
<div> super(BaseConnection, self).__init__(parameters, on_open_callback)</div><div> File "/usr/local/lib/python2.7/dist-packages/pika/connection.py", line 513, in __init__</div><div> self._connect()</div>
<div> File "/usr/local/lib/python2.7/dist-packages/pika/connection.py", line 804, in _connect</div><div> self._adapter_connect()</div><div> File "/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py", line 146, in _adapter_connect</div>
<div> self.process_data_events()</div><div> File "/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py", line 88, in process_data_events</div><div> if self._handle_read():</div><div>
File "/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py", line 184, in _handle_read</div><div> super(BlockingConnection, self)._handle_read()</div><div> File "/usr/local/lib/python2.7/dist-packages/pika/adapters/base_connection.py", line 300, in _handle_read</div>
<div> return self._handle_error(error)</div><div> File "/usr/local/lib/python2.7/dist-packages/pika/adapters/base_connection.py", line 264, in _handle_error</div><div> self._handle_disconnect()</div><div>
File "/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py", line 181, in _handle_disconnect</div><div> self._on_connection_closed(None, True)</div><div> File "/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py", line 235, in _on_connection_closed</div>
<div> raise exceptions.AMQPConnectionError(*self.closing)</div><div>pika.exceptions.AMQPConnectionError: (0, '')</div></div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>
Thanks.</div><div>Robert<br></div><div dir="ltr"><div><font face="Arial, Helvetica, FreeSans, sans-serif"><span style="line-height:17px"><br></span></font></div></div>
</div></div>
<br></div></div>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br><div dir="ltr"><br><div><font face="Arial, Helvetica, FreeSans, sans-serif"><span style="line-height:17px"><br></span></font></div></div>
</div></div></div></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>