How to fix SSL Tunnel Failure when using Robo 3T to connect to MongoDB Atlas

11,160

Solution 1

After chatting with the MongoDB tech support folks, I was able to finally determine how to solve this problem. They have a page of documentation on connecting to Atlas using MongoDB here:

https://intercom.help/mongodb-atlas/en/articles/934375-connecting-to-atlas-using-robo-3t-formerly-robomongo

However, it was missing some crucial details which were provided to me by tech support. I've documented the process more completely in this page:

http://courses.ics.hawaii.edu/ics314f19/morea/deployment/reading-atlas-robo3t.html

Solution 2

I've taken an example from @phillps answer and write down steps for Studio 3T

few steps are different but almost all are the same

For more details refer to this link.

https://link.medium.com/aB51KetjD9

Share:
11,160
Philip Johnson
Author by

Philip Johnson

I am a Professor of Computer Science at the University of Hawaii with research interests in software engineering, renewable energy, gamification, and human-computer interaction. I direct the Collaborative Software Development Laboratory and participate in a startup developing open source technology for power quality. See http://philipmjohnson.org for additional details on my background.

Updated on June 29, 2022

Comments

  • Philip Johnson
    Philip Johnson almost 2 years

    I am trying to connect to a MongoDB Atlas database using Robo 3T following the directions at:

    https://mrvautin.com/connecting-to-mongodb-atlas-with-robo-3t/

    I get an SSL Tunnel Failure message as shown below:

    Robo 3T error

    I have verified that I can connect to this database from the command line using the Mongo shell:

    Mongo shell connection

    So it does not appear to be an issue with my firewall or whitelist settings. (for this database, the whitelist allows incoming connections from any IP address.)

    I have tried using both "Direct Connection" and "Replica Set" as the "Type" in Robo 3T, but get the same error each time.

    I am quite confident that I am supplying a correct username and password.

    How do I diagnose and fix this problem?