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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical - P2 Critical - P2
    • None
    • 3.1.1
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: