4
開始龍捲風,並等待一段時間,這個警告出來。我不知道這個錯誤是什麼關於如何解決警告?龍捲風的警告[Errno 104]連接重置由對方
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
也許當你的服務器處理連接,但客戶端丟棄它。這個錯誤的比例是多少? – iMom0
你應該檢查你連接的任何東西,看看發生了什麼。關於「104」(也稱爲「ECONNRESET」)的含義,請參閱[這個老答案](http://stackoverflow.com/a/2979806/440558)。 –
我也在使用url鏈接打開pdf文檔時遇到同樣的問題。請建議,我如何確保連接謝謝 – Rubia