Hi Dan,
Apologizes for the delayed response.
I reproduced the HTTP 403 when `admin_auth_enabled` is set to `false`,
but successfully retrieved stats with it set to `true`:
$ riak-cs version
1.4.2
$ grep "admin_auth_enabled" /etc/riak-cs/app.config
{admin_auth_enabled, true},
$ ./s3curl.pl --id admin --contentType application/json -- -s
--proxy1.0 localhost:8080 http://s3.amazonaws.com/riak-cs/stats
{"legend":["meter_count","meter_rate","latency_mean","latency_median","latency_95","latency_99"],"block_get":[0,0.0,0.0,0.0,0.0,0.0],"block_get_retry":[0,0.0,0.0,0.0,0.0,0.0],"block_put":[0,0.0,0.0,0.0,0.0,0.0],"block_delete":[0,0.0,0.0,0.0,0.0,0.0],"service_get_buckets":[0,0.0,0.0,0.0,0.0,0.0],"bucket_list_keys":[0,0.0,0.0,0.0,0.0,0.0],"bucket_create":[0,0.0,0.0,0.0,0.0,0.0],"bucket_delete":[0,0.0,0.0,0.0,0.0,0.0],"bucket_get_acl":[0,0.0,0.0,0.0,0.0,0.0],"bucket_put_acl":[0,0.0,0.0,0.0,0.0,0.0],"object_get":[0,0.0,0.0,0.0,0.0,0.0],"object_put":[0,0.0,0.0,0.0,0.0,0.0],"object_head":[0,0.0,0.0,0.0,0.0,0.0],"object_delete":[0,0.0,0.0,0.0,0.0,0.0],"object_get_acl":[0,0.0,0.0,0.0,0.0,0.0],"object_put_acl":[0,0.0,0.0,0.0,0.0,0.0],"legend":["workers","overflow","size"],"request_pool":[127,0,1],"bucket_list_pool":[5,0,0]}%
The following issue can be used to track the scenario where
`admin_auth_enabled` returns a 403 when set to `false`:
https://github.com/basho/riak_cs/issues/719
--
Hector
On Thu, Dec 12, 2013 at 12:30 PM, Sajner, Daniel G <[email protected]> wrote:
> Hi.
>
>
>
> Running riak-cs-1.4.2 here and the /riak-cs/stats endpoint appears to be
> broken. I get 403 error regardless of the configuration settings.
>
>
>
> Here’s a snippet from app.config:
>
>
>
> %% Port and IP address to listen on for system
>
> %% administration tasks. Uncomment the following lines
>
> %% to use a separate IP and port for administrative
>
> %% API calls.
>
> {admin_ip, "127.0.0.1"},
>
> {admin_port, 8000 } ,
>
> {admin_auth_enabled, false }, ß This should let me access the
> /riak-cs/stats endpoint without an authorization
>
>
>
>
>
> I’ve changed admin_auth_enabled to true, but get the same results passing an
> authorization header.
>
>
>
> Anyone else run into this issue?
>
>
>
> Thanks,
>
> Dan
>
>
>
> Confidentiality Notice: This electronic message transmission, including any
> attachment(s), may contain confidential, proprietary, or privileged
> information from Chemical Abstracts Service (“CAS”), a division of the
> American Chemical Society (“ACS”). If you have received this transmission in
> error, be advised that any disclosure, copying, distribution, or use of the
> contents of this information is strictly prohibited. Please destroy all
> copies of the message and contact the sender immediately by either replying
> to this message or calling 614-447-3600.
>
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com