AWS DocumentDB 错误:在建立安全 TLS 连接之前客户端网络套接字已断开连接

时间:2021-07-15 10:09:56

标签: node.js aws-documentdb

我的 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 控制台端对环境进行任何更改。我无法理解这一点。

有人可以推荐吗。

0 个答案:

没有答案
相关问题