4

开始龙卷风,稍等片刻,这个警告出来了。我不知道这个错误是什么。如何解决这个警告?

WARNING:root:Read error on 12: [Errno 104] Connection reset by peer
WARNING:root:error on read
Traceback (most recent call last):
  File "/usr/local/lib/python3.2/site-packages/tornado-2.4-py3.2.egg/tornado/iostream.py", line 355, in _handle_read
    if self._read_to_buffer() == 0:
  File "/usr/local/lib/python3.2/site-packages/tornado-2.4-py3.2.egg/tornado/iostream.py", line 422, in _read_to_buffer
    chunk = self._read_from_socket()
  File "/usr/local/lib/python3.2/site-packages/tornado-2.4-py3.2.egg/tornado/iostream.py", line 403, in _read_from_socket
    chunk = self.socket.recv(self.read_chunk_size)
socket.error: [Errno 104] Connection reset by peer
4

1 回答 1

0

可能有两个方面:

一:使用旧的tornado版本,bugfix是:https ://github.com/facebook/tornado/commit/3258726fea5bcd1b401907653bc953ce63d5aeb2

二:发送此请求的客户端有问题,RST 没有 ACK(可以按照 RFC 定义)

于 2013-09-04T07:49:59.070 回答