Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35370

network error while attempting to run command 'isMaster' on host mongo.example.com

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 3.6.3
    • Fix Version/s: None
    • Component/s: Security
    • Labels:
      None

      Description

      I have enabled `SSL` on my `mongoDB` server. I have set `preferred` as I don't want to make SSL a requirement yet. I can connect to mongo shell easily by typing `mongo` in shell. The problem is that when I use `mongo --ssl --host mongo.example.com` command it gives the following error:

      2018-06-02T08:38:02.551+0000 E QUERY [thread1] Error: network error while attempting to run command 'isMaster' on host 'mongo.example.com:27017' :
      connect@src/mongo/shell/mongo.js:251:13
      @(connect):1:6
      exception: connect failed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nick.brewer Nick Brewer
              Reporter:
              alireza_stack Ali
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: