Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3581

Problem with Canonical Service Name while connecting to Atlas with Private Link

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.12.0
    • Cluster Management
    • None

    Description

      Can I kindly ask someone to check  Monglo Atlas behavior for VPC Endpoint (Private link connection). Looks like Java mongo driver 3.12 isn't prepared for resolving mongo cluster with VPC Endpoint (Private endpoint).
      Java mongo driver states that
      "Canonical address cluster0-shard-00-00-v7y4t.mongodb.net:27017 does not match server address. Removing pl-0-eu-west-1-v7y4t.mongodb.net:1 from client view of cluster" (please see logs attached), which seems to be wrong assumption for Private Endpoint.
      My connection string is:
      mongodb+srv://vlauresh:<pass>@cluster0-pl-0-v7y4t.mongodb.net/test?ssl=true&authSource=admin&retryWrites=true&w=majority

      Attachments

        Activity

          People

            Unassigned Unassigned
            vadzim.lauresh@suredatum.com Vadzim Lauresh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: