contact_keeper_api icon indicating copy to clipboard operation
contact_keeper_api copied to clipboard

mongoose.connect needs to include useUnifiedTopology: true

Open muzhaqi16 opened this issue 6 years ago • 1 comments

I do get this error when trying to connect

(node:11420) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor. failed to connect to server [cluster0-shard-00-00-43uyf.mongodb.net:27017] on first connect [Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27) { name: 'MongoNetworkError', [Symbol(mongoErrorContextSymbol)]: {} }]

muzhaqi16 avatar Dec 04 '19 05:12 muzhaqi16

hi mr brad in section of Hash password and Register Route when in users.js i write all codes in post man i didn't get any Request . and our mongooose Clusters in collections i don't have any user id https://github.com/samiR2D2/Contact-keeper this is my Github Repos

samiR2D2 avatar Feb 19 '20 10:02 samiR2D2