I have faced this issue before and it was due to a Firewall issue blocking communication between the mongos and the shard servers. A simple test you can do is from your mongos servers run “telnet hostname mongod port” which based on your logs would probably look like telnet mongodb01 27017. You can also verify you can ping on the host name to make sure there isn’t a DNS issue between your AWS instances.
1 Like