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

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

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.12.0
    • Component/s: Cluster Management
    • None

      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

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

              Created:
              Updated:
              Resolved: