Error connecting to Atlas Data Lake using SSH Tunneling

I’m trying to use MongoDB Compass (and the command line clients mongosh and mongo) to connect to an Atlas Data Lake. I could successfully connect to the databases in Atlas but I have trouble connecting to the Data Lake. Here is the error I am getting:
connection <monitor> to 127.0.0.1:41481 closed. I am using an ssh tunnel and that is why it shows 127.0.0.1:41481 in the error. The ssh tunnel works when I try to connect to other dbs in Atlas. When I temporarily allow my IP, I can also connect to the data lake without ssh tunneling. The ssh bastion server does not limit the IPs that I can connect. So what can be the problem here?

1 Like