Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: martok on June 08, 2011, 09:29:01 PM



Title: reservekeyfromkeypool: read failed
Post by: martok on June 08, 2011, 09:29:01 PM
Hello all,

I am getting the error in the subject quite often when I attempt to send BTC. It isn't exact but is approximately every other send. For the test, I am using vanilla bitcoind from git. Though I have tried using JGarzik's minkeypool patch with the same results.

Here is the RPC session:
POST / HTTP/1.1
TE: deflate,gzip;q=0.3
Connection: TE, close
Accept: application/json
Authorization: Basic c2hhbmU6c2hpdGhlYWQ=
Host: localhost:8331
User-Agent: JSON::RPC::Client/0.93 beta libwww-perl/6.01
Content-Length: 114
Content-Type: application/json

{"params":["",{"16d1jmkPHy26aCTA9TzCD5LbByMVHb4Wu1":4.06738544},0,""],"version":"1.1","method":"sendmany"}

HTTP/1.1 500 Internal Server Error
Date: Tue, 07 Jun 2011 17:49:26 +0000
Connection: close
Content-Length: 96
Content-Type: application/json
Server: bitcoin-json-rpc/0.3.23-beta

{"result":null,"error":{"code":-1,"message":"ReserveKeyFromKeyPool() : read failed"},"id":null}

Anything I can do about this one?


Title: Re: reservekeyfromkeypool: read failed
Post by: martok on June 09, 2011, 04:30:33 AM
I've done some further troubleshooting with this. Using send vs sendmany does not fix the problem. If after a successful send I do a bitcoind getnewaddress '', I get the same error. However, the second time I do a getnewaddress, it succeeds.