MongoDB not connecting when authenticated
  • Hi,
    In my settings.py I gave the MONGO_URI = env('MONGO_URI','mongodb://user:password@192.168.1.25/superdesk') 
    But I got the below error,
    pymongo.errors.OperationFailure: there are no users authenticated
    But I have created a admin user for that database superdesk but I can't connect to mongo.
    Please help me with this problem,Thank you