[SERVER-11707] mongos --jsonp is unusable without --rest option Created: 14/Nov/13  Updated: 06/Dec/22  Resolved: 07/Jul/17

Status: Closed
Project: Core Server
Component/s: HTTP Console
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Phillip Quiza Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-12570 Specify allowed pages in various http... Closed
Related
Assigned Teams:
Sharding
Operating System: ALL
Steps To Reproduce:

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.

Participants:

 Description   

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



 Comments   
Comment by Daniel Pasette (Inactive) [ 13/Feb/14 ]

will re-address this in 2.7 timeframe.

Generated at Thu Feb 08 03:26:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.