title: How to fix SSL Tunnel Failure when using Robo 3T to connect to MongoDB Atlas
body: <p>I am trying to connect to a MongoDB Atlas database using Robo 3T following the directions at:</p>
  
  <p><a href="https://mrvautin.com/connecting-to-mongodb-atlas-with-robo-3t/" rel="nofollow noreferrer">https://mrvautin.com/connecting-to-mongodb-atlas-with-robo-3t/</a></p>
  
  <p>I get an SSL Tunnel Failure message as shown below:</p>
  
  <p><a href="https://i.stack.imgur.com/vohnQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vohnQ.png" alt="Robo 3T error"></a></p>
  
  <p>I have verified that I can connect to this database from the command line using the Mongo shell:</p>
  
  <p><a href="https://i.stack.imgur.com/cGA0t.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cGA0t.jpg" alt="Mongo shell connection"></a></p>
  
  <p>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.)</p>
  
  <p>I have tried using both "Direct Connection" and "Replica Set" as the "Type" in Robo 3T, but get the same error each time. </p>
  
  <p>I am quite confident that I am supplying a correct username and password.</p>
  
  <p>How do I diagnose and fix this problem? </p>