Hello, I have created a 3 node Atlas cluster and am able to connect from my laptop using compass so i know its operational, however when connecting from a 3.4.2 command shell on linux i get errors that no primary is detected. The linux server and my laptop are whitelisted , but why do i get 2 different results ?
/opt/mongodb/mongodb-linux-x86_64-3.4.2/bin/mongo "mongodb://tmx-mongolog-test-shard-00-00.tqcbm.mongodb.net:27017,tmx-mongolog-test-shard-00-01.tqcbm.mongodb.net:27017,tmx-mongolog-test-shard-00-02.tqcbm.mongodb.net:27017/test?replicaSet=atlas-o7jz9u-shard-0" --authenticationDatabase admin --username xxxxxxxxxx --password yyyyyyyyyy
MongoDB shell version v3.4.2
connecting to: mongodb://tmx-mongolog-test-shard-00-00.tqcbm.mongodb.net:27017,tmx-mongolog-test-shard-00-01.tqcbm.mongodb.net:27017,tmx-mongolog-test-shard-00-02.tqcbm.mongodb.net:27017/test?replicaSet=atlas-o7jz9u-shard-0
2020-05-01T14:15:13.969-0500 I NETWORK [thread1] Starting new replica set monitor for atlas-o7jz9u-shard-0/tmx-mongolog-test-shard-00-00.tqcbm.mongodb.net:27017,tmx-mongolog-test-shard-00-01.tqcbm.mongodb.net:27017,tmx-mongolog-test-shard-00-02.tqcbm.mongodb.net:27017
2020-05-01T14:15:14.126-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:14.126-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 1 checks in a row.
2020-05-01T14:15:14.790-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:14.790-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 2 checks in a row.
2020-05-01T14:15:15.461-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:15.461-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 3 checks in a row.
2020-05-01T14:15:16.129-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:16.129-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 4 checks in a row.
2020-05-01T14:15:16.803-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:16.803-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 5 checks in a row.
2020-05-01T14:15:17.476-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:17.476-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 6 checks in a row.
2020-05-01T14:15:18.147-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:18.147-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 7 checks in a row.
2020-05-01T14:15:18.809-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:18.809-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 8 checks in a row.
2020-05-01T14:15:19.478-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:19.479-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 9 checks in a row.
2020-05-01T14:15:20.147-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:20.147-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 10 checks in a row.
2020-05-01T14:15:20.816-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:20.816-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 11 checks in a row.
2020-05-01T14:15:21.480-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:22.151-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:22.819-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:23.487-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:24.156-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:24.823-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:25.485-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:26.154-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:26.817-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:27.487-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:27.487-0500 I NETWORK [thread1] All nodes for set atlas-o7jz9u-shard-0 are down. This has happened for 21 checks in a row.
2020-05-01T14:15:28.154-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0
2020-05-01T14:15:28.823-0500 W NETWORK [thread1] No primary detected for set atlas-o7jz9u-shard-0