msbotframework-mongo-middlelayer icon indicating copy to clipboard operation
msbotframework-mongo-middlelayer copied to clipboard

Can't connect to mongo db

Open HelloJyo opened this issue 7 years ago • 1 comments

When I tried to connect, below error message shown. I think need to add an option { useNewUrlParser: true } when connecting.

(node:22595) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. (node:22595) UnhandledPromiseRejectionWarning: Error: Can't connect to db MongoError: Authentication failed.

HelloJyo avatar Dec 14 '18 08:12 HelloJyo

I can't reproduce it. May be issue with Mongo server.

aakashkag avatar Sep 09 '19 19:09 aakashkag