[SERVER-2917] Rest / HTTP interface not working with AUTH and command Created: 08/Apr/11 Updated: 12/Jul/16 Resolved: 19/Oct/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | HTTP Console |
| Affects Version/s: | 1.8.1 |
| Fix Version/s: | 2.0.6, 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gaetan Voyer-Perrault | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux 64-bit |
||
| Issue Links: |
|
||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
This bug happens both remote and localhost. To repro: According to the documentation 3.a. should work and 3.b. should ask for authentication. 4. Use an admin-level command from the HTTP UI In both cases MongoDB is throwing the following exception: In the case of 4.a, no authentication request is made, the http request simply fails. |
| Comments |
| Comment by auto [ 10/May/12 ] |
|
Author: {u'login': u'', u'name': u'Tony Hannan', u'email': u'tony@10gen.com'}Message: Signed-off-by: Eric Milkie <milkie@10gen.com> |
| Comment by auto [ 19/Oct/11 ] |
|
Author: {u'login': u'TonyGen', u'name': u'Tony Hannan', u'email': u'tony@10gen.com'}Message: |
| Comment by Seamus Abshere [ 21/Apr/11 ] |
|
Exact same situation, but through a proxy. 3.a works but 4.a doesn't work. error loading page: unauthorized db:admin lock type:-1 client:(NONE) ... when I proxy 1.8.1 through apache2 (ubuntu 10.10) ... <VirtualHost default:80> ProxyPass / http://localhost:28017/ DocumentRoot /var/www |