no valid replicaset members found

202 views
Skip to first unread message

roberto...@mondora.com

unread,
Sep 21, 2016, 9:52:23 AM9/21/16
to node-mongodb-native
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


selva kumar smartmask

unread,
Nov 14, 2016, 11:53:18 PM11/14/16
to node-mongodb-native
Hi Roberto,
  
     May I know how your define the mongodb URI in  lambda function.

Regards,
Selva Kumar M

Roberto Dell'Oro

unread,
Nov 15, 2016, 3:45:10 AM11/15/16
to node-mong...@googlegroups.com
Hi,
Thanks for your reply , but we have already solve the issue.

Regards
Roberto


--
You received this message because you are subscribed to a topic in the Google Groups "node-mongodb-native" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-mongodb-native/2u_H91IdM6I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-mongodb-na...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages