我的 AWS DocumentDB 工作正常,但突然开始抛出以下错误。
MongoServerSelectionError: Client network socket disconnected before secure TLS connection was established
at Timeout._onTimeout (app-path\node_modules\mongodb\lib\core\sdam\topology.js:438:30)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7) {
reason: TopologyDescription {
type: 'ReplicaSetNoPrimary',
setName: null,
maxSetVersion: null,
maxElectionId: null,
servers: Map {
'ServerEndpoint' => [ServerDescription]
},
stale: false,
compatible: true,
compatibilityError: null,
logicalSessionTimeoutMinutes: null,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
commonWireVersion: null
}
}
我没有在客户端或 AWS 控制台端对环境进行任何更改。我无法理解这一点。
有人可以推荐吗。