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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Critical - P2
    • None
    • Affects Version/s: 3.1.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              J Rassi (Inactive)
              Reporter:
              Alex Overchenko
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: