社区。我很难用Reactive Mongo客户端连接到Cosmos Db。我可以使用Shell和NoSqlBooster客户端连接到它,但是无法使用Reactive Mongo。
Authentication Mechanism |-------| Result
**scram-sha1** Authentication failed, SaslFailed
**mongocr** Authentication failed
尝试了URI:
mongodb://****:*****@******.documents.azure.com:10255/c360?ssl=true&authenticationMechanism=scram-sha1&sslAllowsInvalidCert=true
mongodb://****:*****@******.documents.azure.com:10255/c360?ssl=true
任何帮助将不胜感激。 谢谢。
答案 0 :(得分:0)
最后,我可以使用以下配置使其工作:
mongodb://****:*****@****.documents.azure.com:10255/c360?ssl=true&authenticationMechanism=mongocr&sslAllowsInvalidCert=true&authenticationDatabase=admin
?ssl=true
&authenticationMechanism=mongocr
&sslAllowsInvalidCert=true
&authenticationDatabase=admin
我也早些时候尝试过此配置组,但是,我想我可能在用户名和密码上撒了些额外的东西。