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

mongos --jsonp is unusable without --rest option

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Gone away
    • None
    • None
    • HTTP Console
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: