Skip to content

Anonymous access to stats endpoints returns 500 [JIRA: RCS-154] #1098

@shino

Description

@shino

I guess this should be 403.

% curl -v -s -H 'Accept: text/plain' http://127.0.0.1:15018/riak-cs/stats
* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 15018 (#0)
> GET /riak-cs/stats HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 127.0.0.1:15018
> Accept: text/plain
>
< HTTP/1.1 500 Internal Server Error
* Server Riak CS is not blacklisted
< Server: Riak CS
< Date: Thu, 19 Mar 2015 08:29:47 GMT
< Content-Type: text/html
< Content-Length: 170
<
* Connection #0 to host 127.0.0.1 left intact
<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request</body></html>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions