Opened 5 years ago

Closed 5 years ago

#30909 closed Uncategorized (invalid)

ConnectionResetError: [Errno 54] Connection reset by peer

Reported by: Michael J. Roberts Owned by: nobody
Component: HTTP handling Version: 2.2
Severity: Normal Keywords: ConnectionResetError, Socket, BaseHttp
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Django seems to be displaying the following in the runserver output:

Exception happened during processing of request from ('127.0.0.1', 49342)
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py", line 720, in __init__
    self.handle()
  File "/Users/michaelroberts/Dropbox/HUG/hug/hug/env/lib/python3.7/site-packages/django/core/servers/basehttp.py", line 171, in handle
    self.handle_one_request()
  File "/Users/michaelroberts/Dropbox/HUG/hug/hug/env/lib/python3.7/site-packages/django/core/servers/basehttp.py", line 179, in handle_one_request
    self.raw_requestline = self.rfile.readline(65537)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [Errno 54] Connection reset by peer

I have left this as uncategorized because I am not sure if I have caused this with my customisations or if it is a bug with the latest version?

Change History (1)

comment:1 by Michael J. Roberts, 5 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top