Pervasive replication

Alex Wolfe alex at activeprospect.com
Tue Oct 5 12:43:19 EDT 2010


I've run into a problem with Riak on my development machine, and I can't quite sort out what's happening.  I've tried stopping the riak processes and restarting it back up again, but it will not service any requests.

Has anyone seen this before?


$ curl -v -X POST http://riak:8098/riak/test -d'{"foo":"bar"}' -H 'Content-Type:application/json'
* About to connect() to riak port 8098 (#0)
*   Trying ::1... Connection refused
*   Trying fe80::1... Connection refused
*   Trying 127.0.0.1... connected
* Connected to riak (127.0.0.1) port 8098 (#0)
> POST /riak/test HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: riak:8098
> Accept: */*
> Content-Type:application/json
> Content-Length: 13
> 
< HTTP/1.1 500 Internal Server Error
< Vary: Accept-Encoding
< Server: MochiWeb/1.1 WebMachine/1.7.1 (participate in the frantic)
< Location: /riak/test/RmfYZCM8LtBPRu4gqZivu8pfVoh
< Date: Tue, 05 Oct 2010 16:36:57 GMT
< Content-Type: text/html
< Content-Length: 713
< 
<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,{error,{case_clause,{error,timeout}},
              [{riak_kv_wm_raw,accept_doc_body,2},
               {webmachine_resource,resource_call,3},
               {webmachine_resource,do,3},
               {webmachine_decision_core,resource_call,1},
               {webmachine_decision_core,accept_helper,0},
               {webmachine_decision_core,decision,1},
               {webmachine_decision_core,handle_request,2},
* Connection #0 to host riak left intact
* Closing connection #0
               {webmachine_mochiweb,loop,1}]}}</pre><P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></body></html>






More information about the riak-users mailing list