Chapter 2: The MongoDB Query Language + Atlas

I am trying to connect to the cluster in the terminal using:

mongo “mongodb://cluster0-shard-00-00-fp72t.mongodb.net:27017,cluster0-shard-00-01-fp72t.mongodb.net:27017,cluster0-shard-00-02-fp72t.mongodb.net:27017/test?replicaSet=Cluster0-shard-0” --ssl --authenticationDatabase admin --username m001-student --password m001-mongodb-basics

But getting the following output:
MongoDB shell version: 3.2.17
connecting to: mongodb://cluster0-shard-00-00-fp72t.mongodb.net:27017,cluster0-shard-00-01-fp72t.mongodb.net:27017,cluster0-shard-00-02-fp72t.mongodb.net:27017/test?replicaSet=Cluster0-shard-0
2018-10-21T19:05:46.730+0100 I NETWORK [thread1] Starting new replica set monitor for Cluster0-shard-0/cluster0-shard-00-00-fp72t.mongodb.net:27017,cluster0-shard-00-01-fp72t.mongodb.net:27017,cluster0-shard-00-02-fp72t.mongodb.net:27017
2018-10-21T19:05:46.730+0100 I NETWORK [ReplicaSetMonitorWatcher] starting
2018-10-21T19:05:48.049+0100 W NETWORK [thread1] No primary detected for set Cluster0-shard-0
2018-10-21T19:05:49.715+0100 W NETWORK [thread1] No primary detected for set Cluster0-shard-0
2018-10-21T19:05:51.429+0100 W NETWORK [thread1] No primary detected for set Cluster0-shard-0
2018-10-21T19:05:53.130+0100 W NETWORK [thread1] No primary detected for set Cluster0-shard-0
2018-10-21T19:05:54.803+0100 W NETWORK [thread1] No primary detected for set Cluster0-shard-0
2018-10-21T19:05:56.466+0100 W NETWORK [thread1] No primary detected for set Cluster0-shard-0
2018-10-21T19:05:57.519+0100 W NETWORK [ReplicaSetMonitorWatcher] No primary detected for set Cluster0-shard-0
2018-10-21T19:05:59.181+0100 W NETWORK [thread1] No primary detected for set Cluster0-shard-0
2018-10-21T19:06:00.850+0100 W NETWORK [thread1] No primary detected for set Cluster0-shard-0
2018-10-21T19:06:02.619+0100 W NETWORK [thread1] No primary detected for set Cluster0-shard-0
2018-10-21T19:06:02.620+0100 E QUERY [thread1] Error: connect failed to replica set Cluster0-shard-0/cluster0-shard-00-00-fp72t.mongodb.net:27017,cluster0-shard-00-01-fp72t.mongodb.net:27017,cluster0-shard-00-02-fp72t.mongodb.net:27017 :
connect@src/mongo/shell/mongo.js:223:14
@(connect):1:6

exception: connect failed

can anyone help??