Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1332

Mongo-CXX-Driver failed to connect to mongoDB Atlas cluster

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 3.1.1
    • Component/s: None
    • None

      Hello

      When I try to connect to my cluster by app that written on mongo-cxx-driver, I have such error:
      "No suitable servers found: `serverSelectionTimeoutMS` expired: [connection closed calling ismaster on 'librarycluster-shard-00-00-rlx9u.mongodb.net:27017'] [connection closed calling ismaster on 'librarycluster-shard-00-01-rlx9u.mongodb.net:27017'] [connection closed calling ismaster on 'librarycluster-shard-00-02-rlx9u.mongodb.net:27017']: generic server error"
      My app connects normally for localhost.
      How can I fix it?

      With regards,
      Alex

            Assignee:
            rassi J Rassi
            Reporter:
            aleksandr9809@gmail.com Alex Overchenko
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: