Unable to access GraphQL server and GraphiQL
See original GitHub issue@PatriciaSauer has reported she is not able to access http://localhost:8080/graphql/schema.json and http://localhost:8080/graphiql (404 not found status).
The application doesn’t throw any errors at startup.
When a POST request is sent using Postman, a response like the following is sent:
{
"timestamp": 1542268461797,
"status": 405,
"error": "Method Not Allowed",
"exception": "org.springframework.web.HttpRequestMethodNotSupportedException",
"message": "Request method 'POST' not supported",
"path": "/graphql"
}
Does anyone have the same error or have any idea what might be happening? I cannot reproduce it. Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:16 (7 by maintainers)
Top Results From Across the Web
GraphQL Playground Server Cannot Be Reached Running ...
Playground opens up and can access database GraphQL API but app GraphQL API says "Server cannot be reached" and "error": "Failed to fetch ......
Read more >GraphQL Playground - Apollo GraphQL Docs
Visually explore Apollo Server. ... GraphQL Playground is a graphical, interactive, in-browser GraphQL IDE, created by Prisma and based on GraphiQL.
Read more >Solved: Cannot serve request to /content/graphiql/ in org....
I want to use GraphQL for a poc. I am reffereing to this documentation. I don't see GraphQL persistent Queries option in my...
Read more >Unable to get graphql response from server that's running on ...
I was able to resolve the main issue by adding the query block inside photos resolver. Query: { photo: photosContext, },.
Read more >Building a GraphQL Server with Spring Boot - hack.guides()
This starter will add and autoconfigure a GraphQL Servlet at /graphql and use a GraphQL schema library (like GraphQL Java Tools) to parse...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great, thanks a lot @themanojshukla 👍
Hi @themanojshukla ,
thanks for your reply. Yes, I am now able to access http://localhost:8080/graphiql and http://localhost:8080/graphql 😃
Regards, Patricia