Problems writing objects to an half full bucket

Jeremy Bornstein jeremy at
Tue Mar 6 10:43:16 EST 2012

 I get this error on a seemingly random basis, with a one-node cluster
accessed locally over the default HTTP port (via riak-js).

It was so persistent that I have been taking the (probably needed
anyway) step of adding retry logic to every single call, which seems to
have solved the issues for me at any rate.


On 3/6/12 7:26 AM, Alexander Sicular wrote:
> On Mar 6, 2012, at 10:19 AM, David Smith wrote:
>> On Mon, Mar 5, 2012 at 9:55 PM, Marco Monteiro <marco at> wrote:
>>> I'm using riak-js and the error I get is:
>>> { [Error: socket hang up] code: 'ECONNRESET' }
>> That is a strange error -- are there any corresponding errors in
>> server logs? I would have expected a timeout or some such...
> That is a standard network error in nodejs that bubbles up the stack. Same sort of error you get in the redis nodejs library when you cant connect to redis. It's a connection thing. Riak-js library is set to connect to the default riak port on localhost. If that has changed or the service is down you'll get that sort of error.
> -alexander

More information about the riak-users mailing list