mongodb-js / connect-mongodb-session

Lightweight MongoDB-backed session store for Connect and Express
Apache License 2.0
176 stars 35 forks source link

upgrading to 2.4.0, not master error #85

Open koetaro opened 4 years ago

koetaro commented 4 years ago

Hello everyone

After upgrading to this version am getting, Error: Error creating index: not master at /node_modules/connect-mongodb-session/index.js:92:23 had to rollback to 2.3.3 to make it work

vkarpov15 commented 4 years ago

We upgraded our MongoDB driver version to 3.6, so that is likely the cause. Can you please post what version of MongoDB you're using and whether you're connecting to a standalone, replica set, sharded cluster, or MongoDB Atlas? And also, whether you're getting this error in production or running tests?

koetaro commented 4 years ago

Hello, we are connecting to Mongo Atlas at production environment. version 4.0.19

alexbjorlig commented 3 years ago

Did you find a fix for this issue @koetaro ? We are having this issue connecting to https://github.com/nodkz/mongodb-memory-server