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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: