List buckets results in error: bad_utf8_character_code

Toby Corkindale toby.corkindale at strategicdata.com.au
Wed Oct 16 20:54:57 EDT 2013


If I run curl -i "http://bld-riak/buckets?buckets=true" I receive this 
error about a bad utf8 character code, and nothing else.

This is Riak version 1.4.2-1 (from the official apt repo)


HTTP/1.1 500 Internal Server Error
Vary: Accept-Encoding
Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
Date: Thu, 17 Oct 2013 00:51:03 GMT
Content-Type: text/html
Content-Length: 1103

<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,186}]},
               {mochijson2,'-json_encode_array/2-fun-0-',3,
                           [{file,"src/mochijson2.erl"},{line,157}]},
               {lists,foldl,3,[{file,"lists.erl"},{line,1197}]},
               {mochijson2,json_encode_array,2,
                           [{file,"src/mochijson2.erl"},{line,159}]},
               {mochijson2,'-json_encode_proplist/2-fun-0-',3,
                           [{file,"src/mochijson2.erl"},{line,167}]},
               {lists,foldl,3,[{file,"lists.erl"},{line,1197}]},
               {mochijson2,json_encode_proplist,2,
 
[{file,"src/mochijson2.erl"},{line,170}]}]}}</pre><P><HR><ADDRESS>mochiweb+webmachine 
web server</ADDRESS></body></html>




More information about the riak-users mailing list