Cannot connect to my cluster

Anybody else having issues connecting to their clusters. It was working fine till a couple of minutes ago. All I am getting now is Marking host cluster0-shard... as failed .... caused by :: SocketException: can't authenticate against replica set node cluster0-shard Error: can't authenticate against replica ..... caused by :: bad auth Authentication failed.

Hi Ayub_64513,

“Authentication Failed” error means you have entered wrong username/password. Please cross-check. Sometimes, when we copy/paste a space character comes as a bonus :stuck_out_tongue:

If you are trying to connect to our Atlas cluster, here are the credentials:

username: m001-student
password: m001-mongodb-basics
hostname: cluster0-shard-00-00-jxeqq.mongodb.net
port: 27017

Kanika

2 Likes