Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1298

Mongo DB Connection Issue - " MongoDB.Driver.MongoConnectionException: Unable to connect in the specified timeframe of '00:00:30' "

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.10
    • Component/s: Connectivity
    • Labels:
    • Environment:
      Visual Studio on Windows7

      Can Any body help me how to make connection string for MongoDB if conditional are as follows-
      Database Name - ABC
      Server Name - DEF1,DEF2
      UserName - ankur
      Password - ankur123
      I have Created at My End below
      "mongodb://ankur:ankur123@DEF1:27017,DEF2:27017/ABC?maxpoolsize=250;authSource=$external;authMechanism=PLAIN;safe=true"
      and Error Occur - Exception: MongoDB.Driver.MongoConnectionException: Unable to connect in the specified timeframe of '00:00:30'.
      Thanks.

            Assignee:
            craig.wilson@mongodb.com Craig Wilson
            Reporter:
            ankurjasoriya@gmail.com Ankur Jasoria
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: