0





9

Advertisement

I successfully deployed my app to Heroku, Added mLab as my add-on I also set

heroku config:set MONGOLAB_URI=mongodb://[myusername]:[mypassword]@ds119508.mlab.com:19508/heroku_l1q51vhd

but still I get:

enter image description here enter image description here

Question author Kavoos | Source

Advertisement


0


I got the answer. The problem was with authentication. I made new user/pass and it works. You can use Mongochef to check if your connection and authentication with db is correct.

Answer author Kavoos