Hi,
We have an issue with AWS lambda functions that write data on mongodb instance.
Sometimes we have the following message errors:
"errorMessage": "no valid replicaset members found",
"errorType": "MongoError",
"stackTrace": ["null.<anonymous> (/var/task/node_modules/mongodb-core/lib/topologies/replset.js:645:33)",
"Timer.listOnTimeout (timers.js:92:15)"
]
"name": "kinesis-router",
"msg": "MongoError: no valid replicaset members found\n at null.<anonymous> (/var/task/node_modules/mongodb-core/lib/topologies/replset.js:645:33)\n at Timer.listOnTimeout (timers.js:92:15) Error stack",
"time": "2016-09-20T16:14:25.065Z",
"v": 0
We are not able to understand the causes of the issue because running the lambda the error is aleatory and we are not able to replicate it for debugging.
Any one can help me on this issues?
Thanks