Skip to content

parse-dashboard doesn't show any data in parse-server #855

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
okaris opened this issue Mar 5, 2016 · 4 comments
Closed

parse-dashboard doesn't show any data in parse-server #855

okaris opened this issue Mar 5, 2016 · 4 comments

Comments

@okaris
Copy link

okaris commented Mar 5, 2016

Environment Setup

parse-server-example running on Heroku
parse-dashboard running on localhost
database running on mLab

Steps to reproduce

When I connect to api.parse.com from the dashboard I can see everything. When I connect to my parse-server on Heroku I can only see Class names in the left pane with no counts and no objects inside. JavaScript console shows Error 500. Below is a sample CURL

Logs/Trace

ApplicationId and MasterKey is hidden.

curl 'https://coralline.herokuapp.com/classes/_User' -H 'Origin: http://localhost:4040' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.8,tr;q=0.6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36' -H 'Content-Type: text/plain' -H 'Accept: /' -H 'Referer: http://localhost:4040/apps/Coralline/browser/_User' -H 'Connection: keep-alive' --data-binary '{"where":{},"limit":200,"order":"-createdAt,-createdAt","_method":"GET","_ApplicationId":"application-id","_ClientVersion":"js1.6.14","_MasterKey":"masterkey","_InstallationId":"290164bf-60f5-9499-d8cf-7a38c3b10344"}' --compressed

@okaris
Copy link
Author

okaris commented Mar 5, 2016

Debugging further showed parse-server throwing:

Uncaught internal server error. [Error: double colon in host identifier] Error: double colon in host identifier

The problem was with the node-mongo-native package. There is a commit to fix the broken code in the repo but it hasn't been published as a version yet.

mongodb/node-mongodb-native@7859a38

So I guess we need to wait for the author to release a new version with the fixed code.

@gfosco
Copy link
Contributor

gfosco commented Mar 6, 2016

Interesting bug there on the native driver, but why is it being triggered in this scenario? So far no one else has reported experiencing this, and we've been playing with the dashboard on various deployments.

From the curl example, you're missing the parse mount, the url should be /parse/classes/_User

I'm going to preemptively close this, but it can be re-opened if you have more details. Thanks.

@gfosco gfosco closed this as completed Mar 6, 2016
@okaris
Copy link
Author

okaris commented Mar 6, 2016

Hi @gfosco. I am using parse at "/" defined with a global variable on Heroku. And I am using the mongo connection string supplied by the mongoLab. Since it has the semi-column for distinguishing username and password and also the port number and since the driver has the typo I have mentioned the connection to my db doesn't work.

However I know this is not about you guys, I just wanted to open an issue here so anyone else having a similar 500 error issue could check and see if they have the same problem.

Keep up the good work!

@nicksarafa
Copy link

I'm running into the same issue via a very similar setup. @okaris did you happen to find a solution to this?

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

3 participants