Is there some kind of congestion control on API queries?
I'm getting a lot of failures.
There is a rate-limit on the API, but its threshold is not too low.. What error do you get ?
No error message, just a NULL return from file_get_contents.
php > var_dump(json_decode(file_get_contents('http://ffpool.net/api/status')));
NULL
php > var_dump(json_decode(file_get_contents('http://ffpool.net/api/status')));
object(stdClass)#1 (10) {
["sha256"]=>
...
I'm getting a response but the response has no data. Looks like a problem with the backend.
In the meantime I've added a retry and that seems to have solved my problem.