Skip to content

GraphQL Playground not loading #1200

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

Closed
omairvaiyani opened this issue Aug 5, 2019 · 3 comments
Closed

GraphQL Playground not loading #1200

omairvaiyani opened this issue Aug 5, 2019 · 3 comments

Comments

@omairvaiyani
Copy link

omairvaiyani commented Aug 5, 2019

When running the playground locally, I'm able to connect to the GraphQL server. Also when I postman into /graphql, everything work's fine. But if I load the playground through Parse Dashboard, I get net::ERR_FAILED.

I can confirm that the url and headers are all fine. Everything matches when loading playground directly vs. loading in Parse Dashboard.

@davimacedo
Copy link
Member

@omairvaiyani I couldn't reproduce the problem. Do you mind to share the steps that you are using to run both parse server and parse dashboard? Are you using the CLI? Can you please also share the versions of node.js, npm, parse-server and parse-dashboard that you are running? If you use the following sequence, does it work?

$ npm install -g parse-server mongodb-runner
$ mongodb-runner start
$ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test --mountGraphQL --mountPlayground
$ npm install -g parse-dashboard
$ parse-dashboard --dev --appId APPLICATION_ID --masterKey MASTER_KEY --serverURL "http://localhost:1337/parse" --graphQLServerURL "http://localhost:1337/graphql" --appName MyAppName

@omairvaiyani
Copy link
Author

@davimacedo hey so sorry, this was definitely a (very edge-case) setup issue with my architecture!

@davimacedo
Copy link
Member

glad to know it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants