Skip to content
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

Invalid mongoURI using MongoLab #40

Closed
thewizster opened this issue Feb 4, 2016 · 4 comments
Closed

Invalid mongoURI using MongoLab #40

thewizster opened this issue Feb 4, 2016 · 4 comments

Comments

@thewizster
Copy link

I have a db setup with MongoLab and am using the mongoDB URI provided by MongoLab but I am getting the following error when I test using the example hello function:

Uncaught internal server error. [Error: Invalid mongoURI: <myMongoURI> at ExportAdapter.connect (D:\home\site\wwwroot\node_modules\parse-server\ExportAdapter.js:39:11)

Running on Azure.


Update: I switched to a non-cluster MongoLab URI (Sandbox) this error has gone away.

Are MongoLab clusters supported?

@adamontherun
Copy link

I setup on AWS and Heroku and had the same problem. Everything worked fine with the free MongoLab DB, but as soon as I added a Mongolab DB with a replica set I got an error.

[Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.12.0)
2016-02-04 15:17:38.694 Remark[7209:4404833] [Error]: Failed to run command eventually with error: Error Domain=Parse Code=1 "{"code":1,"message":"Internal server error."}" UserInfo={error={"code":1,"message":"Internal server error."}, NSLocalizedDescription={"code":1,"message":"Internal server error."}, code=1}
cc @mattcreager (its not a heroku thing).

@themichael123
Copy link

This error is caused by this commit: parse-community/parse-server#148

If you switch to an earlier version it should work.

@themichael123
Copy link

confirmed [email protected] is working with replica sets.

@thewizster
Copy link
Author

Confirm it works in [email protected] for me now.

[email protected] it is broken

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

4 participants