Exception During Testing on Windows, Python 3.8

69 views
Skip to first unread message

Matthew Pava

unread,
Jun 11, 2020, 10:06:05 PM6/11/20
to Django users
I continue to receive the following exception error at every single one of my tests. I'm running Python 3.8.2 on Windows 10.

----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 54962)
Traceback (most recent call last):
 
File "c:\program files\python38\lib\socketserver.py", line 650, in process_request_thread
   
self.finish_request(request, client_address)
 
File "c:\program files\python38\lib\socketserver.py", line 360, in finish_request
   
self.RequestHandlerClass(request, client_address, self)
 
File "c:\program files\python38\lib\socketserver.py", line 720, in __init__
   
self.handle()
 
File "C:\...\.virtualenvs\HWohXs6h\lib\site-packages\django\core\servers\basehttp.py", line 174, in handle
   
self.handle_one_request()
 
File "C:\...\.virtualenvs\HWohXs6h\lib\site-packages\django\core\servers\basehttp.py", line 182, in handle_one_request
   
self.raw_requestline = self.rfile.readline(65537)
 
File "c:\program files\python38\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
----------------------------------------


I've reviewed a few possible solutions found on the web, but they don't seem to help. Besides these exceptions, the tests actually do pass.
Thank you so much!
Reply all
Reply to author
Forward
0 new messages