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

Version 6.3.0 does not work with Azure CosmosDB #33

Closed
petrepopescu21 opened this issue Dec 4, 2019 · 2 comments
Closed

Version 6.3.0 does not work with Azure CosmosDB #33

petrepopescu21 opened this issue Dec 4, 2019 · 2 comments

Comments

@petrepopescu21
Copy link

Using Azure CosmosDB with the MongoDB API and running Get-MdbcData -Count -Filter {...} throws an error:
Get-MdbcData : Sessions are not supported by this version of the server.

6.2.0 works fine with the same piece of code.
For Connect-Mdbc, the TLS-enabled connection string was used.

@nightroman
Copy link
Owner

Thank you for the report and sorry for the inconvenience. I do not have a good solution right away but I am working on this.

Mdbc should use implicit sessions like the driver does internally. This API is not public though. I'll ask C# driver developers for the options.

@nightroman
Copy link
Owner

Please try v6.3.1 and let me know if the workaround works.

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

2 participants