开发者社区> 问答> 正文

MongoServerSelectionError: connection to该怎么办?

MongoServerSelectionError: connection to 10.36.107.94:3717 closed at Timeout._onTimeout (/opt/nodejs/node_modules/[4mmongodb[24m/lib/sdam/topology.js:278:38) [90m at listOnTimeout (node:internal/timers:559:17)[39m [90m at processTimers (node:internal/timers:502:7)[39m { reason: TopologyDescription { type: [32m'Unknown'[39m, servers: Map(2) { [32m'dds-2ze612be178825341.mongodb.rds.aliyuncs.com:3717'[39m => [36m[ServerDescription][39m, [32m'dds-2ze612be178825342.mongodb.rds.aliyuncs.com:3717'[39m => [36m[ServerDescription][39m }, stale: [33mfalse[39m, compatible: [33mtrue[39m, heartbeatFrequencyMS: [33m10000[39m, localThresholdMS: [33m15[39m, setName: [1mnull[22m, maxElectionId: [1mnull[22m, maxSetVersion: [1mnull[22m, commonWireVersion: [33m0[39m, logicalSessionTimeoutMinutes: [1mnull[22m }, code: [90mundefined[39m, [[32mSymbol(errorLabels)[39m]: Set(0) {} } [31m[Nest] 1 - [39m07/02/2024, 12:50:53 PM [31m ERROR[39m [38;5;3m[ExceptionH该怎么办?

展开
收起
小南瓜子 2024-08-05 17:17:04 21 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载