riak-cs

Gustav Spellauge Gustav.Spellauge at Softing.com
Fri Feb 26 07:49:25 EST 2016


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


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


More information about the riak-users mailing list