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:
{"id":"d61066b5-275e-4802-9ab0-c49a1a1b6681","method":"sendfrom","params":["451","anyBTCAddr4v34GxXaUDNrBsXEP6ak3sVqmk","0.001"]}
I get this result:
HTTP/1.1 500 Internal Server Error
Status code: 500
-
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:
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?