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

mongos --jsonp is unusable without --rest option

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: HTTP Console
    • Labels:
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-sharding Backlog - Sharding Team
              Reporter:
              phillip.quiza Phillip Quiza
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: