Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在windows 10本地计算机中使用django 3.1时在控制台中收到奇怪的警告_Python_Django_Windows_Sqlite_Django Rest Framework - Fatal编程技术网

Python 在windows 10本地计算机中使用django 3.1时在控制台中收到奇怪的警告

Python 在windows 10本地计算机中使用django 3.1时在控制台中收到奇怪的警告,python,django,windows,sqlite,django-rest-framework,Python,Django,Windows,Sqlite,Django Rest Framework,我正在Windows10机器上使用Django3.1。我也在使用虚拟环境。在启动服务器时,它不会显示任何错误或警告,但在导航时,它有时会显示这种奇怪的警告,或者我们可以说是错误。那么,这一错误的原因是什么呢 Exception happened during processing of request from ('127.0.0.1', 8931) Traceback (most recent call last): File "c:\python 3.8.2\Lib\socke

我正在Windows10机器上使用Django3.1。我也在使用虚拟环境。在启动服务器时,它不会显示任何错误或警告,但在导航时,它有时会显示这种奇怪的警告,或者我们可以说是错误。那么,这一错误的原因是什么呢

Exception happened during processing of request from ('127.0.0.1', 8931)
Traceback (most recent call last):
  File "c:\python 3.8.2\Lib\socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "c:\python 3.8.2\Lib\socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "c:\python 3.8.2\Lib\socketserver.py", line 720, in __init__
    self.handle()
  File "C:\Users\NAMANT~1\Desktop\MIRROS~1\MIRROR~2\venv\lib\site-packages\django\core\servers\basehttp.py", line 174, in handle
    self.handle_one_request()
  File "C:\Users\NAMANT~1\Desktop\MIRROS~1\MIRROR~2\venv\lib\site-packages\django\core\servers\basehttp.py", line 182, in handle_one_request
    self.raw_requestline = self.rfile.readline(65537)
  File "c:\python 3.8.2\Lib\socket.py", line 669, in readinto
    return self._sock.recv_into(b)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

每当我运行我的测试环境并跳转到管理后端表时,就会出现这个错误。但它从来没有影响过任何事情,所以在谷歌搜索了一两个小时后,我放弃了尝试解决它。你使用的是哪种浏览器?我同时使用chrome和firefox,这两种情况都在发生。它不会影响正在运行的服务器,但有时加载页面会花费很多时间。