From last few days, I am facing connectivity issues with MongoDB Replica Sets deployed in google cloud. Interesting fact is these issues are appeared at Development machines and not on the production. Most common issues are:
- Cannot connect to replica set "xxx"[xxx:27017]. Set's primary is unreachable.
- A primary with different host name [:27017] found in server side. Different members found under same replica set name "XXX"
These error are appeared frequently. How to resolve this?