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

"This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string. #2108

Open
Vturnus opened this issue Feb 28, 2023 · 0 comments
Labels
investigate The issue's root cause is unknown. Someone needs to find that out. mongo

Comments

@Vturnus
Copy link

Vturnus commented Feb 28, 2023

Hi,
I have a standalone db (local),
and my mongoDB version is 6.0.4 (I had the same problem with 4.2.5)
I have added the retryWrites=false in the query string and even in my connection options but I still get this error.
IT'S SO FRUSTRATING HELP PLEASE!

connection string: 'mongodb://127.0.0.1:27017/mydbName?retryWrites=false'

connection options: {
useCreateIndex: true,
useNewUrlParser: true,
useUnifiedTopology: true,
retryWrites: false,
autoIndex: true, // Don't build indexes
poolSize: 10, // Maintain up to 10 socket connections
bufferMaxEntries: 0,
}

Thanks
-V

@JasonYeMSFT JasonYeMSFT added the investigate The issue's root cause is unknown. Someone needs to find that out. label Feb 14, 2024
@sevoku sevoku added the mongo label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate The issue's root cause is unknown. Someone needs to find that out. mongo
Projects
None yet
Development

No branches or pull requests

3 participants