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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.12.0
    • Fix Version/s: None
    • Component/s: Cluster Management
    • Security Level: Public
    • Labels:
      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

        1. MongoAtlas.log
          11 kB
          Vadzim Lauresh

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: