#30878: django catch request error when deploy nameserver to ip
-----------------------------------------+------------------------
Reporter: liumilan | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 2.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
When I deploy the nameserver to the IP host, django will catch the error
request from the nameserver. Maybe the nameserver sent a hearbeat to the
IP host. How can I disable this error log from django?
Exception happened during processing of request from ('127.0.0.1', 51975)
Traceback (most recent call last):
File "/data/home/anaconda3/lib/python3.6/socketserver.py", line 654,
in process_request_thread
self.finish_request(request, client_address)
File "/data/home/anaconda3/lib/python3.6/socketserver.py", line 364,
in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/data/home/anaconda3/lib/python3.6/socketserver.py", line 724,
in __init__
self.handle()
File "/data/home/anaconda3/lib/python3.6/site-
packages/django/core/servers/basehttp.py", line 169, in handle
self.handle_one_request()
File "/data/home/anaconda3/lib/python3.6/site-
packages/django/core/servers/basehttp.py", line 179, in handle_one_request
self.raw_requestline = self.rfile.readline(65537)
File "/data/home/anaconda3/lib/python3.6/socket.py", line 586, in
readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
--
Ticket URL: <https://code.djangoproject.com/ticket/30878>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.