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

mongos --jsonp is unusable without --rest option

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: HTTP Console
    • Labels:
    • 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.

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

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

              Created:
              Updated:
              Resolved: