[SERVER-13730] rs.help() link to REST interface is incorrect Created: 24/Apr/14 Updated: 31/Jul/15 Resolved: 23/Jul/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.4 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | William Cross | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng, polish, pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Think I found a bug, though based on past data, I am likely just doing something wrong. Can you please confirm? rs.help() contains the following incorrect line: "see also http://<mongod_host>:28017/_replSet for additional diagnostic info" There are a few issues with this. First, I am running my mongod on 27117, and this is supposed to be the ip address plus 1000, so it should be 28117. Secondly, on neither port 28017, nor on port 28117, do I see anything on localhost in my browser. Here is my rs.status():
And here is what I see on the appropriate ports:
(I got the same result when adding _replSet to the end). Also, since we're calling rs.status() on a mongod via the shell, how about we check the server uri and feed the user exactly the uri they can use. I didn't ask for the REST interface to be turned on. Is it on by default? |
| Comments |
| Comment by Githook User [ 23/Jul/14 ] |
|
Author: {u'username': u'justincase', u'name': u'Justin Case', u'email': u'hello@justincase.cx'}Message: Closes #716 Signed-off-by: Benety Goh <benety@mongodb.com> |
| Comment by Daniel Pasette (Inactive) [ 24/Apr/14 ] |
|
the rest interface is not enabled by default. the help message should remove reference to it. |