3

尝试通过 mongolite 包连接到 mongodb atlas 后,我随机收到此错误。

library(mongolite)

url = "myurl"
data = mongo(collection = "mycollection", db = "mydb", url = url)
Error: No suitable servers found (`serverSelectionTryOnce` set): [TLS handshake failed: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed calling ismaster on 'cluster0-shard-00-00.skqv5.mongodb.net:27017'] [TLS handshake failed: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed calling ismaster on 'cluster0-shard-00-01.skqv5.mongodb.net:27017'] [TLS handshake failed: error:1416F086:SSL routines:tls_process_server_certificate:certificate

在过去的几周里,我每天都能连接。当我在其他 PC 上运行它时,它可以工作。我也尝试在 RStudio 云上运行它并且它可以工作。当地似乎发生了一些我不明白的事情。我看过其他有此错误的帖子,但我不明白如何在 R 中执行此操作。

4

0 回答 0