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

Retryable writes are not supported #351

Closed
diegoleme opened this issue Oct 7, 2021 · 10 comments
Closed

Retryable writes are not supported #351

diegoleme opened this issue Oct 7, 2021 · 10 comments

Comments

@diegoleme
Copy link
Contributor

Feature Request

I want to configure the retryWrites

Detailed Description

Today I get the following error: Retryable writes are not supported. And the parameter retryWrites=false solves this problem

@addaleax
Copy link
Contributor

addaleax commented Oct 8, 2021

@diegoleme Can you share exact steps to reproduce? 🙂

@diegoleme
Copy link
Contributor Author

I can't actually configure retryWrites via the interface.
And I can't use Connect with connection string because I need to insert a .pem certificate.

@addaleax
Copy link
Contributor

addaleax commented Oct 8, 2021

@diegoleme I see – I’ve opened https://jira.mongodb.org/browse/VSCODE-301 to track this feature request on our side 👍

That being said, I think you generally should also be able to use Connect with connection string. Can you connect using the regular connection method, copy the connection string, and then add &retryWrites=false manually, then connect with that?

Screenshot from 2021-10-08 16-42-40

Can you maybe also share what specifically brings up the Retryable writes are not supported, if you happen to know, so that we have more information about how to prioritize this?

@diegoleme
Copy link
Contributor Author

That being said, I think you generally should also be able to use Connect with connection string. Can you connect using the regular connection method, copy the connection string, and then add &retryWrites=false manually, then connect with that?

And how do I make Connect with connection string configure ssl/tsl with a .pem file with CA?

@addaleax
Copy link
Contributor

addaleax commented Oct 8, 2021

@diegoleme You can add &tlsCAFile=filename (although you may need to percent-escape the filename, just like other connection string parameters).

@diegoleme
Copy link
Contributor Author

diegoleme commented Oct 8, 2021

@addaleax I add &tlsCAFile=filename and percent-escape the filename.

Using mongosh I can connect via command line with this URL, but it gives an error using the Connect with connection string.

Can I debug somehow?

@addaleax
Copy link
Contributor

@diegoleme What error are you getting in that case?

@diegoleme
Copy link
Contributor Author

@addaleax The Failed to connect error appears on the output panel.

@alenakhineika
Copy link
Contributor

Hey, @diegoleme could you please try the latest version of the extension and let us know if the issue is gone or remains?

@alenakhineika
Copy link
Contributor

Closing the issue because of lack of activity. Feel free to reopen if the problem persists.

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