Hi,
i am trying to install riak-cs according to your cookbook but i am now
stuck at the admin user creation. I checked all config files, all ips do
match against each other. All services responding to ping requests. I have
no idea at the moment, maybe someone is able to assist me.
cat /etc/riak-cs/app.config | grep anonymous
%% specifically dictates letting anonymous users to
{anonymous_user_creation, true},
riak ping
pong
riak-cs ping
pong
stanchion ping
pong
curl -v -H 'Content-Type: application/json' -X POST
http://***.22.***.70:8080/riak-cs/user
--data '{"email":"[email protected]“, "name":"admin"}'
* About to connect() to ***.22.***.70 port 8080 (#0)
* Trying ***.22.***.70...
* connected
* Connected to ***.22.***.70 (***.22.***.70) port 8080 (#0)
> POST /riak-cs/user HTTP/1.1
> User-Agent: curl/7.26.0
> Host: ***.22.***.70:8080
> Accept: */*
> Content-Type: application/json
> Content-Length: 58
>
* upload completely sent off: 58 out of 58 bytes
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 500 Internal Server Error
< Vary: Accept
< Server: Riak CS
< Location: http://***.22.***.70:8080/riak-cs/user
< Date: Tue, 17 Dec 2013 11:04:54 GMT
< Content-Type: text/html
< Content-Length: 170
<
* Connection #0 to host ***.22.***.70 left intact
<html><head><title>500 Internal Server
Error</title></head><body><h1>Internal Server Error</h1>The server
encountered an error while processing this request</body></html>* Closing
connection #0
Error.log:
2013-12-17 12:12:02.160 [error] <0.123.0> Lager event handler
error_logger_lager_h exited with reason
{'EXIT',{{badmatch,["/riak-cs/user",{error,{error,function_clause,[{riak_cs_json,get,[{error,decode_failed},[{<<"name">>,<<"email">>}]],[{file,"src/riak_cs_json.erl"},{line,62}]},{riak_cs_wm_user,accept_json,2,[{file,"src/riak_cs_wm_user.erl"},{line,117}]},{webmachine_resource,resource_call,3,[{file,"src/webmachine_resource.erl"},{line,186}]},{webmachine_resource,do,3,[{file,"src/webmachine_resource.erl"},{line,142}]},{webmachine_decision_core,resource_call,1,[{file,"src/webmachine_decisio..."},...]},...]}},...]},…}}
Thank you very much!
--
Holger
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com