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

Unable to connect to DB on mLab #286

Open
go-green opened this issue Jul 9, 2017 · 2 comments
Open

Unable to connect to DB on mLab #286

go-green opened this issue Jul 9, 2017 · 2 comments

Comments

@go-green
Copy link

go-green commented Jul 9, 2017

I want to deploy this locally and followed the instructions. I got stuck where I have to create a DB on mLab and connect to it. I got the API key, but unable to find the URL similar to "dbUrl: 'https://api.mongolab.com/api/1" from mLab. They have two ways to connect apparently, using mongo shell and Mongo DB URI. nothing starts with HTTPS://..... Secondly, what is a user collection and how can I create a one from mLab?

mongo: {
dbUrl: 'https://api.mongolab.com/api/1', // The base url of the MongoLab DB server
apiKey: 'YOUR_API_KEY_HERE', // Our MongoLab API key
},
security: {
dbName: 'YOUR_DB_NAME_HERE', // The name of database that contains the security information
usersCollection: 'users' // The name of the collection contains user information
},

@jordanburnam
Copy link

I too am having this issue...have you been able to figure this out?

@jwest80
Copy link

jwest80 commented Feb 14, 2018

You should change the URL to... https://api.mlab.com/api/1

It did not help me, but I think I am having proxy issues.

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