[Django] #30878: django catch request error when deploy nameserver to ip

4 views
Skip to first unread message

Django

unread,
Oct 14, 2019, 2:59:58 AM10/14/19
to django-...@googlegroups.com
#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.

Django

unread,
Oct 14, 2019, 3:00:32 AM10/14/19
to django-...@googlegroups.com
#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 | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by liumilan:

Old description:

New description:

--

--
Ticket URL: <https://code.djangoproject.com/ticket/30878#comment:1>

Django

unread,
Oct 14, 2019, 7:15:03 AM10/14/19
to django-...@googlegroups.com
#30878: django catch request error when deploy nameserver to ip
---------------------------+--------------------------------------
Reporter: liumilan | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: master
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------+--------------------------------------
Changes (by felixxm):

* status: new => closed
* component: Uncategorized => Utilities
* version: 2.2 => master
* type: Uncategorized => Bug
* resolution: => invalid


Comment:

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/30878#comment:2>

Django

unread,
Oct 14, 2019, 7:15:45 AM10/14/19
to django-...@googlegroups.com
#30878: Django catched a request error when deploy nameserver to IP.
---------------------------+--------------------------------------
Reporter: liumilan | Owner: nobody

Type: Bug | Status: closed
Component: Utilities | Version: master
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------+--------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/30878#comment:3>

Reply all
Reply to author
Forward
0 new messages