How to solve MongoError: pool destroyed while connecting to CosmosDB

后端 未结 1 1444
别跟我提以往
别跟我提以往 2020-12-17 17:54

I have Node.js service in which I am using mongo-API to communicate with Document/Cosmos DB. My service run\'s fine and performs all the crud operation but after 1 min some

相关标签:
1条回答
  • 2020-12-17 18:21

    I run into the same problem, removed the replica set parameter in the connection string mongodb: ........./?ssl=true**&replicaSet=globaldb** then it worked fine

    0 讨论(0)
提交回复
热议问题