msbotframework-mongo-middlelayer
msbotframework-mongo-middlelayer copied to clipboard
Can't connect to mongo db
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.
I can't reproduce it. May be issue with Mongo server.