#30503: ConnectionResetError: [WinError 10054] An existing connection was 
forcibly
closed by the remote host.
-------------------------------------+-------------------------------------
     Reporter:  Rajkumar Srinivasan  |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  HTTP handling        |                  Version:  master
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  paytm payments       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson):

 Is this not just the browser shutting the connection, after some time
 perhaps? (What’s the keep-alive timeout?)

 I see this kind of thing on macOS all the time:


 {{{
 [12/May/2020 10:29:46] "GET /admin/jsi18n/ HTTP/1.1" 200 5739
 [12/May/2020 10:29:46] "GET /static/admin/css/widgets.css HTTP/1.1" 200
 4096
 ----------------------------------------
 Exception happened during processing of request from ('127.0.0.1', 56275)
 Traceback (most recent call last):
   File
 "/Users/carlton/.pyenv/versions/3.6.0/lib/python3.6/socketserver.py", line
 639, in process_request_thread
     self.finish_request(request, client_address)
   File
 "/Users/carlton/.pyenv/versions/3.6.0/lib/python3.6/socketserver.py", line
 361, in finish_request
     self.RequestHandlerClass(request, client_address, self)
   File
 "/Users/carlton/.pyenv/versions/3.6.0/lib/python3.6/socketserver.py", line
 696, in __init__
     self.handle()
   File "/Users/carlton/Documents/Django-
 Stack/django/django/core/servers/basehttp.py", line 174, in handle
     self.handle_one_request()
   File "/Users/carlton/Documents/Django-
 Stack/django/django/core/servers/basehttp.py", line 182, in
 handle_one_request
     self.raw_requestline = self.rfile.readline(65537)
   File "/Users/carlton/.pyenv/versions/3.6.0/lib/python3.6/socket.py",
 line 586, in readinto
     return self._sock.recv_into(b)
 ConnectionResetError: [Errno 54] Connection reset by peer
 ----------------------------------------
 [12/May/2020 10:29:46] "GET /favicon.ico HTTP/1.1" 404 1972
 ----------------------------------------
 Exception happened during processing of request from ('127.0.0.1', 56276)
 Traceback (most recent call last):
   File
 "/Users/carlton/.pyenv/versions/3.6.0/lib/python3.6/socketserver.py", line
 639, in process_request_thread
     self.finish_request(request, client_address)
   File
 "/Users/carlton/.pyenv/versions/3.6.0/lib/python3.6/socketserver.py", line
 361, in finish_request
     self.RequestHandlerClass(request, client_address, self)
   File
 "/Users/carlton/.pyenv/versions/3.6.0/lib/python3.6/socketserver.py", line
 696, in __init__
     self.handle()
   File "/Users/carlton/Documents/Django-
 Stack/django/django/core/servers/basehttp.py", line 174, in handle
     self.handle_one_request()
   File "/Users/carlton/Documents/Django-
 Stack/django/django/core/servers/basehttp.py", line 182, in
 handle_one_request
     self.raw_requestline = self.rfile.readline(65537)
   File "/Users/carlton/.pyenv/versions/3.6.0/lib/python3.6/socket.py",
 line 586, in readinto
     return self._sock.recv_into(b)
 ConnectionResetError: [Errno 54] Connection reset by peer
 }}}

 It’s expected behaviour.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30503#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.d92df4fdf040996b25d4a8d724c6258d%40djangoproject.com.

Reply via email to