Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrading to 2.4.0, not master error #85

Open
koetaro opened this issue Aug 12, 2020 · 3 comments
Open

upgrading to 2.4.0, not master error #85

koetaro opened this issue Aug 12, 2020 · 3 comments

Comments

@koetaro
Copy link

koetaro commented Aug 12, 2020

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
Copy link
Member

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
Copy link
Author

koetaro commented Aug 21, 2020

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

@alexbjorlig
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants