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

mongos --jsonp is unusable without --rest option

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • HTTP Console
    • Sharding
    • ALL
    • Hide

      Start up a configdb on localhost:30000 then run:

      mongos --jsonp --configdb localhost:30000 --port 28000

      Navigate your browser to: http://localhost:29000?jsonp=func

      mongos outputs:

      REST is not enabled.  use --rest to turn on.
      check that port 29000 is secured for the network too.

      Show
      Start up a configdb on localhost:30000 then run: mongos --jsonp --configdb localhost:30000 --port 28000 Navigate your browser to: http://localhost:29000?jsonp=func mongos outputs: REST is not enabled. use --rest to turn on. check that port 29000 is secured for the network too.

    Description

      --jsonp requires a rest interface to function, but mongos does not have a --rest option.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            phillip.quiza Phillip Quiza
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: