Server selection timed out after 30000 ms

Estou com dificuldades no acesso.
Alguém consegue me direcionar um topico para que eu consiga fazer os laboratórios offline

Please share the screen shot
For which cluster you are getting this error?
What connection string/connection parameters you used?
It could be due to firewall/network issues
Meanwhile you can check this link for offline access

Import MongoDB DataSet for M001 [For Offline Access]

1 Like

Hi @Lucas_71273,

Please provide the information requested by @Ramachandra_37567 if you are still stuck.

Thanks,
Shubham Ranjan
Curriculum Services Engineer

Ola,
Segue informações. Ainda estou com dificuldades

Para qual cluster você está recebendo esse erro?
cluster0-shard-00-00-jxeqq.mongodb.net

Que cadeia de conexão / parâmetros de conexão você usou?
Nome do host: cluster0-shard-00-00-jxeqq.mongodb.net

Nome de usuário: m001-student

Senha: m001-mongodb-basics

Nome do conjunto de réplicas: Cluster0-shard-0

Preferência de leitura: Preferencial principal

Pode ser devido a problemas de firewall / rede.
Enquanto isso, você pode verificar este link para acesso offline

Are you able to connect by shell?

Please try paste connect string method

Getting the error in screenshot

1 Like

Hi @Lucas_71273,

Please run the following command in your terminal and share the output :

ping cluster0-shard-00-00-jxeqq.mongodb.net

In addition to this, were you able to connect to the class atlas cluster using the connection string specified in this lecture Chapter 0: Setup - Connecting to Our Class Atlas Cluster from the mongo Shell ?

mongodb+srv://m001-student:m001-mongodb-basics@cluster0-jxeqq.mongodb.net/test

Thanks,
Shubham Ranjan
Curriculum Services Engineer

Olá,

Segue print com as informações, ainda não conseguir a conexão

Le message d’erreur indique que le ‘schema’ est invalide. Il doit être ‘mongodb’ ou ‘mongodb+srv’. L’image indique que vous avez indiqué ‘mongodb + srv’. Il semble y avoir des espaces en trop.

Retirei os espaços, ainda continuo sem acesso.
Segue imagem

C’est du progrès.

Il faudrait essayer avec le shell mongo et la même connection pour voir si c’est spécifique à Compass?

1 Like

Hi @Lucas_71273,

The connection string that you have used in the second screenshot looks to be correct but still it would be great if you can just copy-paste this connection string into the connection string field and see if it works.

mongodb+srv://m001-student:m001-mongodb-basics@cluster0-jxeqq.mongodb.net/test

And as @steevej-1495 mentioned, if the issue still persists then please follow the instructions mentioned in this lecture Chapter 0: Connecting to Our Class Atlas Cluster from the mongo Shell and try to connect to the class atlas cluster using the mongo shell.

Thanks,
Shubham Ranjan
Curriculum Services Engineer

Ola, Boa noite
conseguir fazer a conexão atraves da string.
Obrigado pelo suporte.

Closing this thread as the issue has been resolved.