Hoping someone has an answer to this rather strange issue.
I've got bitcoind running, and connected to my web service via rpc. Commands like this work fine:
require_once 'jsonRPCClient.php';
$bitcoin = new jsonRPCClient('http://bitcoinrpc:AJ2sa2cgGh2sVKUBuUCdALCcfNsM2VbLf37pmKEX7X3@99.233.34.168:51337');
$result = $bitcoin->getinfo();
$resulttwo = $bitcoin->getnewaddress("test");
print_r($result);
print_r($resulttwo);
As soon as I use any command that passes two or more arguments, it dies full stop with no errors or anything. Debug.log claims a connection timeout. Eg:
require_once 'jsonRPCClient.php';
$bitcoin = new jsonRPCClient('http://bitcoinrpc:AJ2sa2cgGh2sVKUBuUCdALCcfNsM2VbLf37pmKEX7X3@99.233.34.168:51337');
$result = $bitcoin->getinfo();
$resulttwo = $bitcoin->getnewaddress("test");
$resultthree = $bitcoin->getbalance("test", "6");
print_r($result);
print_r($resulttwo);
print_r($resultthree);
I've tried using single quotes, double quotes, no quotes, an array, and a different server..
Any ideas?