question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
eh3rreracommented, Mar 17, 2019

Great, thanks a lot @themanojshukla 👍

1reaction
PatriciaSauercommented, Mar 17, 2019

Hi @themanojshukla ,

thanks for your reply. Yes, I am now able to access http://localhost:8080/graphiql and http://localhost:8080/graphql 😃

Regards, Patricia

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found