Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#30878 closed Bug (invalid)

Django catched a request error when deploy nameserver to IP.

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 (last modified by liumilan)

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 (3)

comment:1 by liumilan, 5 years ago

Description: modified (diff)

comment:2 by Mariusz Felisiak, 5 years ago

Component: UncategorizedUtilities
Resolution: invalid
Status: newclosed
Type: UncategorizedBug
Version: 2.2master

It is an issue related with sockets maybe antivirus or firewall blocks connections, it is hard to tell. Please don't use trac as a support channel.

Closing per TicketClosingReasons/UseSupportChannels.

comment:3 by Mariusz Felisiak, 5 years ago

Summary: django catch request error when deploy nameserver to ipDjango catched a request error when deploy nameserver to IP.
Note: See TracTickets for help on using tickets.
Back to Top