Hi Mahesh,

To make this process easier, you may want to consider using s3curl
[0]. It calculates the proper signature, then calls `curl` with the
appropriate arguments.

In addition, during initial testing, you may need to flush the access
and storage statistics to get recent data out of Riak CS. Parts of
this gist may aid you in that process [1].

--
Hector

[0] https://github.com/rtdp/s3curl
[1] https://gist.github.com/hectcastro/126b5657f228096775c6

On Tue, Jun 25, 2013 at 3:55 AM, mahesh shitole <maheshs...@gmail.com> wrote:
> Hello,
>
> I have created buckets using s3cmd, and I am able to create, put and see
> usage of the buckets.
>
> I want it to be get without using s3cmd commands.
>
> I try to use riak-cs http API using curl
>
> I am executing following command (format)
>
> curl http://instance:8080/riak-cs/usage/user_access_key -H
> ''Authorization:AWS admin_access_key:admin_secret_key'
>
> it is showing Internal server error (The server encountered an error while
> processing this request)
>
> What could be the reason? is it just related with my configurations? or my
> command is wrong ?
>
> I am referring following link
>
> http://docs.basho.com/riakcs/latest/cookbooks/Querying-Storage-Statistics/
>
>
>
>
>
> --
>
> Thanks & Regards,
>
> Mahesh Shitole
>
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to