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

3.2.10 js client prints trace messages in output of js script

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      None
    • ALL
    • Platforms 2017-01-23

      On 3.2.10 when running a script from the JS

      E.g. If I run db.printReplicationInfo() in test.js
      mongo --ssl --sslAllowInvalidCertificates --port 27017 --quiet admin -u admin -p <> test.js
      2016-12-07T06:06:45.892+0000 W NETWORK [thread1] The server certificate does not match the host name 127.0.0.1
      configured oplog size: 990MB
      log length start to end: 75783secs (21.05hrs)
      oplog first event time: Mon Dec 05 2016 12:03:29 GMT+0000 (UTC)
      oplog last event time: Tue Dec 06 2016 09:06:32 GMT+0000 (UTC)
      now: Wed Dec 07 2016 06:06:45 GMT+0000 (UTC)

      Looks like when you have a self signed certificate it prints this to standard output as the first line.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            dharshanr@scalegrid.net Dharshan Rangegowda
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: