mongos --jsonp is unusable without --rest option

XMLWordPrintableJSON

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

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

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Phillip Quiza (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: