问题描述
我正在尝试不同的方式来连接到 Mongo Atlas,但一直没有成功。我可能忘记了一些东西,但文档不是很详细。也许我需要付费才能拥有该功能? 目前这是我的 mongosqld.conf 文件:
systemLog:
path: '/logs/mongosqld.log'
verbosity: 10
mongodb:
net:
uri: 'cluster0-shard-00-02.abcde.mongodb.net:27017/?replicaset=atlas-24535-shard-0&ssl=true&w=majority&retryWrites=true'
auth:
username: "user"
password: "password"
mechanism: "SCRAM-SHA-1"
source: "dbname"
net:
bindIp: localhost
port: 3307
security:
enabled: true
而且我不断收到此错误:
SCHEMA [manager] error initializing schema: unable to execute command: server selection error: context deadline exceeded,current topology: { Type: replicasetnoprimary,Servers: [{ Addr: cluster0-shard-00-02.abcde.mongodb.net:27017,Type: UnkNown,Average RTT: 0,Last error: connection() error occured during connection handshake: OCSP verification Failed: no OCSP cache provided },] }
有什么线索或者你能指出我正确的方向吗?
我的 BI 连接器版本是 2.14.3 并且是 dockerized。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)