riak-cs

Gustav Spellauge Gustav.Spellauge at Softing.com
Fri Feb 26 10:00:00 EST 2016


did some investigation

- this problem seems to be the same as described in 
https://github.com/basho/riak/issues/415 (and others)
- using the erlang interface i retrieved the bucket list as:

[<<"moss.buckets">>,<<"moss.access">>,<<"moss.users">>,
<<48,111,58,16,121,107,99,149,64,231,6,8,234,204,240,88,62,111,225>>,
      <<"riak-cs-gc">>,
<<48,98,58,16,121,107,99,149,64,231,6,8,234,204,240,88,62,111,225>>]

so i guess, it was not the best idea to retrieve data using the http 
interface and rather use other interfaces erlang for instance.

sorry for any noise.

On 02/26/2016 01:49 PM, Gustav Spellauge wrote:
> hello,
>
> i'm kind of new to the world of riak but i succeeded to install and 
> configure riak_2.1.3 (5 instances on 5 machines running debian 
> jessie), riak-cs_2.1.1, riak-cs-control_1.0.2 and stanchion_2.1.1.
>
> everything works fine but i'm observing a strange behavior:
>
> when i had finished installation and configuration, i was able to 
> obtain a bucket list from riak
>
> the command curl -s http://localhost:8098/buckets?buckets=true|json_pp
>
> returned
> {
>    "buckets" : [
>       "moss.users",
>       "moss.buckets",
>       "moss.access"
>    ]
> }
>
> after i copied (using s3cmd) some files into riak-cs this was no 
> longer possible
>
> the command curl -s http://svc.softing.com:8098/buckets?buckets=true
>
> now returnes
>
> <html><head><title>500 Internal Server 
> Error</title></head><body><h1>Internal Server Error</h1>The server 
> encountered an error while processing this 
> request:<br><pre>{error,{exit,{ucs,{bad_utf8_character_code}},
> [{xmerl_ucs,from_utf8,1,[{file,"xmerl_ucs.erl"},{line,185}]},
>               {mochijson2,json_encode_string,2,
> [{file,"src/mochijson2.erl"},{line,200}]},
>               {mochijson2,'-json_encode_array/2-fun-0-',3,
> [{file,"src/mochijson2.erl"},{line,171}]},
>               {lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
>               {mochijson2,json_encode_array,2,
> [{file,"src/mochijson2.erl"},{line,173}]},
>               {mochijson2,'-json_encode_proplist/2-fun-0-',3,
> [{file,"src/mochijson2.erl"},{line,181}]},
>               {lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
>               {mochijson2,json_encode_proplist,2,
> [{file,"src/mochijson2.erl"},{line,184}]}]}}</pre><P><HR><ADDRESS>mochiweb+webmachine 
> web server</ADDRESS></body></html>
>
> might i have done some kind  misconfiguration? what can i do to get a 
> bucket list from riak? should i be worried?
>
> thanks in advance for your answer, gustav
>
>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160226/732e0d79/attachment-0002.html>


More information about the riak-users mailing list