Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Getting Started" instructions resulting in a "Not Found" when accessing GraphiQL #3362

Closed
zeantsoi opened this issue Jan 26, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@zeantsoi
Copy link

zeantsoi commented Jan 26, 2024

Following the rudimentary instructions on a clean build, I'm unable to access GraphiQL at http://0.0.0.0:8000/graphql and instead get a "Not Found" message.

System Information

  • OSX 11.6.8
  • Strawberry version (if applicable): 0.219.0

Additional Context

No errors manifest are surfaced to the log when running log-level on debug.

Raw response body:

{"detail":"Not Found"}

Response headers:

content-length	22
content-type	application/json
date	Fri, 26 Jan 2024 23:11:45 GMT
server	uvicorn

Request headers:

Accept	text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Encoding	gzip, deflate
Accept-Language	en-US,en;q=0.5
Connection	keep-alive
Host	0.0.0.0:8000
Upgrade-Insecure-Requests	1
User-Agent	Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0

When accessing https://0.0.0.0:8000, the raw response body is:

{"Hello":"World"}
@zeantsoi zeantsoi added the bug Something isn't working label Jan 26, 2024
@patrick91
Copy link
Member

@zeantsoi did you try with http://0.0.0.0:8000/graphql?

@zeantsoi
Copy link
Author

@patrick91 apologies, I mistyped the URL that’s erroring; I’ve corrected it above.

To answer your question: yes, I encounter the error specifically when attempting to access https://0.0.0.0:8000/graphql.

@zeantsoi
Copy link
Author

Quick update here: an OS restart resolved the issue and I can now access GraphiQL. My guess is that I had some environment variables in my previous session that were throwing off lookups.

@patrick91
Copy link
Member

@zeantsoi thanks for letting us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants