Skip to content

Invalid mongoURI using MongoLab #40

Closed

Description

@thewizster

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?

Activity

  1. adamontherun commented on Feb 5, 2016

    @adamontherun

    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).

  2. themichael123 commented on Feb 5, 2016

    @themichael123

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

    If you switch to an earlier version it should work.

  3. themichael123 commented on Feb 5, 2016

    @themichael123

    confirmed parse-server@2.0.4 is working with replica sets.

  4. thewizster commented on Feb 5, 2016

    @thewizster
    Author

    Confirm it works in parse-server@2.0.4 for me now.

    parse-server@2.0.7 it is broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions