Closed
Description
I am trying to set mongoDBURI. When I do
$ heroku config:set DATABASE_URI='mongodb://user:pass@server1.mongolab.com:53745,server2:53745/dbname?replicaSet=rs-xxx&ssl=true'
the app gets internal server error. Log shows
$ heroku logs
2016-02-06T05:12:28.806681+00:00 app[web.1]: Uncaught internal server error. [Error: Invalid mongoURI: mongodb://user:pass@server1.mongolab.com:53745,server2:53745/dbname?replicaSet=rs-xxx&ssl=true]
But when I do
$ heroku config:set DATABASE_URI='mongodb://user:pass@server1.mongolab.com:53745/dbname'
everything works fine. Any thoughts ?
Metadata
Metadata
Assignees
Labels
No labels