Title: RPC to bitcoind server. "Sendfrom" command fails -> Server error 500 Post by: flash10101 on March 28, 2014, 09:35:38 AM I set up a bitoind server on an ubuntu system. I talk to bitcoind with a remote java client over RPC. Executing commands like "getinfo", "getbalance" work like a charm. But if I try to send coins with the method "sendfrom", I get an server error 500. But it does not specify any details whats wrong with that request. I staring at the code for hours now but can not figure out, what causes the error. If I execute the command directly on the server it works.
This is the JSON object I send: Code: {"id":"d61066b5-275e-4802-9ab0-c49a1a1b6681","method":"sendfrom","params":["451","anyBTCAddr4v34GxXaUDNrBsXEP6ak3sVqmk","0.001"]} I get this result: Code: HTTP/1.1 500 Internal Server Error - 451 is the account name - anyBTCAddr4v34GxXaUDNrBsXEP6ak3sVqmk is the address - 0.001 is the amount If I execute the command like this directly on the server it works: Code: bitcoind sendfrom 451 anyBTCAddr4v34GxXaUDNrBsXEP6ak3sVqmk 0.001 Is there any config paramater I have to set to allow remote sending of coins or or do I need additional escaping encoding of the parameters in some way? Title: Re: RPC to bitcoind server. "Sendfrom" command fails -> Server error 500 Post by: cp1 on March 30, 2014, 04:37:34 PM Does it ask you for the password or just give the error?
|