Bitcoin Forum
June 07, 2024, 11:50:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: reservekeyfromkeypool: read failed  (Read 1219 times)
martok (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
June 08, 2011, 09:29:01 PM
 #1

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?
martok (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
June 09, 2011, 04:30:33 AM
 #2

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!