vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Retryable writes are not supported

Open diegoleme opened this issue 4 years ago • 8 comments

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

diegoleme avatar Oct 07 '21 22:10 diegoleme

@diegoleme Can you share exact steps to reproduce? :slightly_smiling_face:

addaleax avatar Oct 08 '21 14:10 addaleax

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.

diegoleme avatar Oct 08 '21 14:10 diegoleme

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

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?

addaleax avatar Oct 08 '21 14:10 addaleax

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?

diegoleme avatar Oct 08 '21 14:10 diegoleme

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

addaleax avatar Oct 08 '21 15:10 addaleax

@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?

diegoleme avatar Oct 08 '21 17:10 diegoleme

@diegoleme What error are you getting in that case?

addaleax avatar Oct 11 '21 12:10 addaleax

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

diegoleme avatar Oct 14 '21 13:10 diegoleme

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

alenakhineika avatar Feb 06 '23 16:02 alenakhineika

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

alenakhineika avatar Feb 05 '24 13:02 alenakhineika