Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2796

SSH tunnel to Atlas cluster SECONDARY fails

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 1.13.0
    • Compass, Connectivity, Security
    • None

    Description

      Attempting to use the SSH tunnel option in Compass to connect to an Atlas cluster secondary member fails. Even if the user identifies a secondary member for the connection and specifies a read preference of "Secondary", the following error is displayed.

      An error occurred while loading navigation: 'not master and slaveOk=false': It is recommended to change your read preference in the connection dialog to Primary Preferred or Secondary Preferred or provide a replica set name for a full topology connection.
      

      Note that while there are special restrictions on M0 (free tier) clusters, the example in the screenshots is an M30 cluster.

      Attachments

        Activity

          People

            lucas.hrabovsky Lucas Hrabovsky (Inactive)
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: