Skip to content

Jobs are no longer displaying in Parse Dashboard after latest update #583

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
3 tasks done
richarddwalsh opened this issue Nov 10, 2016 · 8 comments
Closed
3 tasks done

Comments

@richarddwalsh
Copy link

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • You're running version >=1.0.19 of Parse Dashboard.

  • You're running version >=2.2.24 of Parse Server.

  • You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Mac OS X 10.12.1

Steps to reproduce

Start up dashboard from config:
parse-dashboard --config ~/parse-dashboard-config.json
The dashboard is now available at http://0.0.0.0:4040/

Browse to dashboard url http://0.0.0.0:4040/
Click to Jobs,
screen is blank

Dev tools output is:
POST http://localhost:1337/parse/cloud_code/jobs?per_page=50 403 (Forbidden)
POST http://localhost:1337/parse//apps/MITGA/cloud_code/jobs/data 403 (Forbidden)
POST http://localhost:1337/parse/releases/latest 403 (Forbidden)
POST http://localhost:1337/parse/cloud_code/jobs?per_page=50 403 (Forbidden)
POST http://localhost:1337/parse/cloud_code/jobs?per_page=50 403 (Forbidden)

Logs/Trace

Note: If you get a browser JS error please r
screen shot 2016-11-10 at 2 33 18 pm
screen shot 2016-11-10 at 2 33 18 pm 2

un npm run dev. This will provide source maps and a much more useful stack trace.

@richarddwalsh
Copy link
Author

I've also noticed that I can't view config either.

@mario
Copy link

mario commented Nov 14, 2016

Try setting javascriptKey in the dashboard config.

@richarddwalsh
Copy link
Author

richarddwalsh commented Nov 14, 2016

I have set it:
{ "serverURL": "http://localhost:1337/parse", "databaseURI": "mongodb://localhost:27017/mcara-dev", "appName": "MUTFA", "appId": "myAppId", "masterKey": "myMasterKey", "javascriptKey": "myJavascriptKey", "restAPIKey": "myRestApiKey", "clientKey": "myClientKey" }

@anashalb
Copy link

I am facing the same issue.. Were you able to resolve it?

@richarddwalsh
Copy link
Author

richarddwalsh commented Dec 7, 2016

@anashalb Nope I have not been able to resolve it yet. I think it may have something to do with the fact that it is triggering a POST method instead of GET??

I've even updated bother server and dashboard to the latest versions, still no fix.

@dstarke
Copy link

dstarke commented Jan 6, 2017

The request to get the job list is not being issued with the master key. See JobStore.js line 33.

I think adding the {useMasterKey:true} option there should fix it.

Looking at #575, though, that may not ultimately be the correct answer, and I'm not sure why it works in some environments and not in others.

@dstarke
Copy link

dstarke commented Jan 6, 2017

Another way to resolve this is to remove the javascriptKey (and maybe also the clientKey) from your configuration. The job request then gets issued correctly. This is why it was working for me in some environments and not in others.

@natanrolnik
Copy link
Contributor

This was fixed in the latest release.

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

5 participants