Re: Error in Replicaset : No such host is Known

From: Chris Cunningham <chris.cunningham@xxxxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Mon, 9 May 2016 17:34:00 -0700 (PDT)
Why ads?


Rutula,


Thank you for sending the error log for review. In order to verify that the 
primary is running and reachable, could you please post the output of 

rs.status() for analysis?


Please review rs.status() 
<https://docs.mongodb.com/manual/reference/method/rs.status/> for more 
information on this command.


You may also find it helpful to review replica set troubleshooting steps 
<https://docs.mongodb.com/manual/tutorial/troubleshoot-replica-sets/> to 
help guide you on resolving common replica set issues.


It might also be useful to check the DNS. It might be a situation where the 
service is unable to resolve the hostname.


Could you send us a snippet of code for your C# app that contains the 
connection string and also the readPreference settings?


Can you please verify the MongoDB C# driver version ?


Regards,


Chris

-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/c24bc41e-fb3e-4255-a051-3f2da6ae1572%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?