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

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

      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

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

              Created:
              Updated:
              Resolved: