You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
Activity
adamontherun commentedon Feb 5, 2016
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 commentedon Feb 5, 2016
This error is caused by this commit: parse-community/parse-server#148
If you switch to an earlier version it should work.
themichael123 commentedon Feb 5, 2016
confirmed parse-server@2.0.4 is working with replica sets.
thewizster commentedon Feb 5, 2016
Confirm it works in parse-server@2.0.4 for me now.
parse-server@2.0.7 it is broken