为什么在运行服务器时出现ConnectionResetError:[WinError 10054]?

时间:2019-06-05 02:09:24

标签: python django

我正在使用Django开发网站。运行服务器时出现错误“ ConnectionResetError:[WinError 10054]” 。尽管如此,一切仍将继续工作,好像根本没有错误。那么这个错误是问题吗?我的项目投产前是否应该解决此问题?

Traceback (most recent call last):
  File "C:\Users\Igor\AppData\Local\Programs\Python\Python37-32\lib\socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Users\Igor\AppData\Local\Programs\Python\Python37-32\lib\socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Users\Igor\AppData\Local\Programs\Python\Python37-32\lib\socketserver.py", line 720, in __init__
    self.handle()
  File "C:\Users\Igor\Desktop\django\berdyansk\venv\lib\site-packages\django\core\servers\basehttp.py", line 169, in handle
    self.handle_one_request()
  File "C:\Users\Igor\Desktop\django\berdyansk\venv\lib\site-packages\django\core\servers\basehttp.py", line 179, in handle_one_request
    self.raw_requestline = self.rfile.readline(65537)
  File "C:\Users\Igor\AppData\Local\Programs\Python\Python37-32\lib\socket.py", line 589, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host```

0 个答案:

没有答案