-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
GraphQL playground throws "Server cannot be reached" error #6897
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
Comments
Thanks for reporting. Do you have the same result if you run it in your local machine? |
I had not tested it locally, so thanks for that suggestion. As it turns out, doing so led to what appears to be the main issue for me and its resolution. I use Additionally, deploying to heroku with the yarn lock file as part of the deploy resolved the issue there too. The graphql playground now works both locally and on heroku. I also tested this scenario using parse-dashboard and it resolved my issue there with the GraphQL API Console (same error earlier). Next, I removed the Lastly, I used To sum up, it does not appear that parse-server itself is causing the issue, nor is heroku. The culprit appears to be that the npm installs are mishandling something (related to graphql dependencies or versions, maybe?) while yarn is handling things better. For my part, this issue can be closed since the error is no longer throwing, but if my experience is not unique, maybe a mention in the docs of this problem or solution would be helpful to others. Thanks for your help. |
Thanks for the detailed reporting. I will keep an eye on that. |
FWIW I am having this exact issue running
I have a EDIT: For anyone else coming here from Google, here's the related issue with |
New Issue Checklist
Issue Description
When deploying a minimal parse-server project to heroku utilizing graphql, the playground throws a "Server cannot be reached" error. The parse server itself is functional using the rest api, but not the graphql playground.
Steps to reproduce
Actual Outcome
Expected Outcome
The playground should not throw an error.
Environment
Server
4.3.0
Windows 10
Heroku
Database
MongoDB
4.2.8
MongoDB Atlas
Client
N/A
N/A
Logs
Additional Info
If I deploy the parse-dashboard in combination with parse-server, I get the same results.
If I deploy using PostGres instead of MongoDB, I get the same results.
The text was updated successfully, but these errors were encountered: