Post
Topic
Board Pools (Altcoins)
Re: FFPOOL.NET [MULTIPOOL][MULTIALGO] Point your Miners and get paid in BTC directly
by
joblo
on 24/07/2015, 15:39:08 UTC
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.

Code:
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"]=>
...

No update?

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.