This is happen to me with django 3 and python 3.7, I just need to update
python to version 3.8 and works well
Em quinta-feira, 31 de janeiro de 2019 13:52:38 UTC-2, Jon bae escreveu:
>
> Hello,
> I'm running here *django 2.1.5* with *python 3.7.2* (installed with
> homebrew) on a macOS (mojave).
>
> On a regular basis I get this error message:
>
> Exception happened during processing of request from ('127.0.0.1', 54882)
> Traceback (most recent call last):
> File
> "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py"
> , line 650, in process_request_thread
> self.finish_request(request, client_address)
> File
> "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py"
> , line 360, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File
> "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py"
> , line 720, in __init__
> self.handle()
> File "/Users/User
> /DEV/gogs/TV-Webpage/venv/lib/python3.7/site-packages/django/core/servers/basehttp.py"
> , line 171, in handle
> self.handle_one_request()
> File
> "/Users/User/DEV/gogs/TV-Webpage/venv/lib/python3.7/site-packages/django/core/servers/basehttp.py"
> , line 179, in handle_one_request
> self.raw_requestline = self.rfile.readline(65537)
> File
> "/usr/local/Cellar/python/3.7.2_1/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
> ----------------------------------------
>
> It comes for example when I open the admin page, but not always.
>
>
> Have you any idea how I can fix that?
>
> Have a nice day!
>
> Jonathan
>
--
You received this message because you are subscribed to the Google Groups
"Django users" 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-users/e6231849-8a0a-4e3b-bc80-1fbec54fed59%40googlegroups.com.