Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1575

Cannot connect to Atlas via VPC / standard connection on GKE.

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connections
    • Labels:
      None

      I am unable to connect to my MongoDB Atlas cluster via VPC / standard connection. I have correctly configured the VPC and whitelisted both 0.0.0.0/0 and my CIDR from when I peered with GCP. When connecting the same URL in NodeJS in the same GKE cluster it works fine however when I connect in Go using mongo-driver it doesnt error on connection but errors on when I ping mongo as it just times out. I also have configured dnsPolicy: Default in my kubernetes deployment.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            liam@liamseskis.com Liam Seskis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: