upgrading to 2.4.0, not master error
koetaro opened this issue · 3 comments
koetaro commented
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
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
Hello, we are connecting to Mongo Atlas at production environment. version 4.0.19
alexbjorlig commented
Did you find a fix for this issue @koetaro ? We are having this issue connecting to https://github.com/nodkz/mongodb-memory-server