Opened 5 years ago

Last modified 5 years ago

#30878 closed Bug

django catch request error when deploy nameserver to ip — at Initial Version

Reported by: liumilan Owned by: nobody
Component: Utilities Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top