You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Speculative authentication always uses "admin" as the source.
In certain circumstances this can lead to a Attempt to switch database target during SASL authentication error when using > a non admin auth source and duplicated usernames.
We may upgrade the mongo driver version greater or equals than 4.3.2 to solve this problem.
Are you willing to submit a PR?
I'm willing to submit a PR!
The text was updated successfully, but these errors were encountered:
* [mongodb][hotfix] Fix authentication failed when using a non admin auth source and duplicated usernames apache#1934 (apache#1935)
* [hotfix][mongodb] Fix resume token not found apache#1879 (apache#1938)
---------
Co-authored-by: Jiabao Sun <[email protected]>
rawlinxx
pushed a commit
to rawlinxx/flink-cdc-connectors
that referenced
this issue
May 29, 2023
Search before asking
Flink version
Flink 1.13.6
Flink CDC version
2.3.0
Database and its version
MongoDB 4.4.1
Minimal reproduce step
What did you expect to see?
Correctly connected mongodb.
What did you see instead?
Command failed with error 17 (ProtocolError): 'Attempt to switch database target during SASL authentication.
Anything else?
https://jira.mongodb.org/browse/JAVA-4290
We may upgrade the mongo driver version greater or equals than 4.3.2 to solve this problem.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: