-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.1.1, 2.5
-
Component/s: Connectivity
-
None
-
(copied to CRM)
MongoDB csharp driver is throwing an exception sporadically with authentication errors during scramsha1 authentication handshake due to a wrong nonce returned by the server. ScramSha1Authenticator.cs.
The credentials are good since connections from the application are succeeding most of the time.
Upgrading from 2.1.1.158 to 2.5.0.0 didn't fix the issue.
I would like to understand why is the server retrieving a bad nonce and how to fix this issue.
- related to
-
CSHARP-3196 Mongodb 4.4: Got MongoAuthenticationException : Server sent an invalid nonce.
- Closed
-
CSHARP-2928 Use Ordinal string comparison in ScramShaAuthenticator
- Closed