Opened 6 years ago
Last modified 6 years ago
#30799 closed Bug
Unknown call done to "GET /graphql HTTP/1.1" with brand new project django 2.2.5 — at Initial Version
| Reported by: | Roberto Fernandez Diaz | Owned by: | nobody |
|---|---|---|---|
| Component: | Uncategorized | Version: | 2.2 |
| Severity: | Release blocker | Keywords: | graphql, http |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I created a new project from 0 using python 3.7.3 and the Django version is 2.2.5.
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
----------------------------------------
Note:
See TracTickets
for help on using tickets.