#30799: Unknown call done to "GET /graphql HTTP/1.1" with brand new project
django
2.2.5
-------------------------------------+-------------------------------------
Reporter: Roberto Fernandez | Owner: nobody
Diaz |
Type: Bug | Status: new
Component: Uncategorized | Version: 2.2
Severity: Release blocker | Resolution:
Keywords: graphql, http | 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 Roberto Fernandez Diaz:
Old description:
> I created a new project from 0 using python 3.7.3 and the Django version
> is 2.2.5, macOS High Sierra 10.13.2
>
> I just added a view for testing ( I discover this problem working in
> another project and in order to isolate it I started a brand new project
> call "untitled1")
>
> urls.py
>
> {{{
> from untitled1.views import test
>
> urlpatterns = [
> path('admin/', admin.site.urls),
> path('home/', test, name='home'),
> ]
> }}}
>
> views.py
>
> {{{
> from django.http import HttpResponse
>
> def test(request):
> return HttpResponse("hello")
> }}}
>
> Every 60 s since I go to "localhost:8000/home" I see this error in the
> terminal:
>
> {{{
> [24/Sep/2019 15:02:32] "GET /graphql HTTP/1.1" 404 2081
> Not Found: /graphql
> }}}
>
> After some time from time to time I also have this error:
>
> {{{
> [24/Sep/2019 15:02:32] "GET /graphql HTTP/1.1" 404 2081
> Not Found: /graphql
> [24/Sep/2019 15:03:04] "GET /graphql HTTP/1.1" 404 2081
> ----------------------------------------
> Exception happened during processing of request from ('127.0.0.1', 55219)
> Traceback (most recent call last):
> File
> "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
> line 650, in process_request_thread
> self.finish_request(request, client_address)
> File
> "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
> line 360, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File
> "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
> line 720, in __init__
> self.handle()
> File
> "/Users/robertofernandez/KMH/flowlemon_backend/untitled1/lib/python3.7
> /site-packages/django/core/servers/basehttp.py", line 171, in handle
> self.handle_one_request()
> File
> "/Users/robertofernandez/KMH/flowlemon_backend/untitled1/lib/python3.7
> /site-packages/django/core/servers/basehttp.py", line 179, in
> handle_one_request
> self.raw_requestline = self.rfile.readline(65537)
> File
> "/Library/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
> ----------------------------------------
> Not Found: /graphql
> [24/Sep/2019 15:03:45] "GET /graphql HTTP/1.1" 404 2081
> Not Found: /graphql
> [24/Sep/2019 15:04:26] "GET /graphql HTTP/1.1" 404 2081
> Not Found: /graphql
> [24/Sep/2019 15:05:08] "GET /graphql HTTP/1.1" 404 2081
> ----------------------------------------
> Exception happened during processing of request from ('127.0.0.1', 55233)
> Traceback (most recent call last):
> File
> "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
> line 650, in process_request_thread
> self.finish_request(request, client_address)
> File
> "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
> line 360, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File
> "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
> line 720, in __init__
> self.handle()
> File
> "/Users/robertofernandez/KMH/flowlemon_backend/untitled1/lib/python3.7
> /site-packages/django/core/servers/basehttp.py", line 171, in handle
> self.handle_one_request()
> File
> "/Users/robertofernandez/KMH/flowlemon_backend/untitled1/lib/python3.7
> /site-packages/django/core/servers/basehttp.py", line 179, in
> handle_one_request
> self.raw_requestline = self.rfile.readline(65537)
> File
> "/Library/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
> ----------------------------------------
> }}}
New description:
I created a new project from 0 using python 3.7.3 and the Django version
is 2.2.5, macOS High Sierra 10.13.2
I just added a view for testing ( I discover this problem working in
another project and in order to isolate it I started a brand new project
call "untitled1")
urls.py
{{{
from untitled1.views import test
urlpatterns = [
path('admin/', admin.site.urls),
path('home/', test, name='home'),
]
}}}
views.py
{{{
from django.http import HttpResponse
def test(request):
return HttpResponse("hello")
}}}
Every 60 s since I go to "localhost:8000/home" I see this error in the
terminal:
{{{
[24/Sep/2019 15:02:32] "GET /graphql HTTP/1.1" 404 2081
Not Found: /graphql
}}}
After some time and without any additional navigation the error keeps
appearing periodically and at some point in throws Exceptions :
{{{
[24/Sep/2019 15:02:32] "GET /graphql HTTP/1.1" 404 2081
Not Found: /graphql
[24/Sep/2019 15:03:04] "GET /graphql HTTP/1.1" 404 2081
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 55219)
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
line 650, in process_request_thread
self.finish_request(request, client_address)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
line 720, in __init__
self.handle()
File
"/Users/robertofernandez/KMH/flowlemon_backend/untitled1/lib/python3.7
/site-packages/django/core/servers/basehttp.py", line 171, in handle
self.handle_one_request()
File
"/Users/robertofernandez/KMH/flowlemon_backend/untitled1/lib/python3.7
/site-packages/django/core/servers/basehttp.py", line 179, in
handle_one_request
self.raw_requestline = self.rfile.readline(65537)
File
"/Library/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
----------------------------------------
Not Found: /graphql
[24/Sep/2019 15:03:45] "GET /graphql HTTP/1.1" 404 2081
Not Found: /graphql
[24/Sep/2019 15:04:26] "GET /graphql HTTP/1.1" 404 2081
Not Found: /graphql
[24/Sep/2019 15:05:08] "GET /graphql HTTP/1.1" 404 2081
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 55233)
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
line 650, in process_request_thread
self.finish_request(request, client_address)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",
line 720, in __init__
self.handle()
File
"/Users/robertofernandez/KMH/flowlemon_backend/untitled1/lib/python3.7
/site-packages/django/core/servers/basehttp.py", line 171, in handle
self.handle_one_request()
File
"/Users/robertofernandez/KMH/flowlemon_backend/untitled1/lib/python3.7
/site-packages/django/core/servers/basehttp.py", line 179, in
handle_one_request
self.raw_requestline = self.rfile.readline(65537)
File
"/Library/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
----------------------------------------
}}}
--
--
Ticket URL: <https://code.djangoproject.com/ticket/30799#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates/071.f79a82b2750d6aa8e51d246280295753%40djangoproject.com.