Pages:
Author

Topic: [ANN] FaucetBOX.com - API & faucet script, create your own crypto faucet - page 70. (Read 119991 times)

full member
Activity: 500
Merit: 100
But that's because it uses the Cloudflare nameservers. Real IP of Faucetbox.com is 185.25.151.163.  He have other sites running in that ip.

Right, but if you want to make your website work before the DNS kicks in you have to choose one of them.

If you choose the real one 185.*.*.* and he moves in a week ... your website will stop again.
full member
Activity: 167
Merit: 100
But that's because it uses the Cloudflare nameservers. Real IP of Faucetbox.com is 185.25.151.163.  He have other sites running in that ip.

[Knowing the directory in which the site is located would be possible to change the URL of the API in the file faucetbox.php and maybe get it to work]*

*yes, my english sucks. I am sorry.

On the other hand:
https://faucetbox.com/api/v1/ => {"status":404,"message":"Invalid API method"}

I wonder if this is okay because my faucet still not working.
full member
Activity: 500
Merit: 100
104.28.29.86 is a Cloudflare DNS.

It is DNS response.

C:\Users\LOL>ping faucetbox.com

Pinging faucetbox.com [104.28.29.86] with 32 bytes of data:
Reply from 104.28.29.86: bytes=32 time=31ms TTL=51
Reply from 104.28.29.86: bytes=32 time=29ms TTL=51
...
full member
Activity: 167
Merit: 100
104.28.29.86 is a Cloudflare DNS.
full member
Activity: 500
Merit: 100
There are also some DB encoding issues. Roman-CATOШ became Roman-?Huh??


Update guys. I believe the migration is complete and the tests went fine. FaucetBOX.com should work again as soon as DNS updates. At least I hope so Smiley

Some faucets are working. Mine, unfortunately, not yet.

If it uses fsockopen you can put (temporary) directly the new IP instead of the domain name Wink

Actually I see the same issue appearing that MW had a week ago. PHP 5.4 and older are unable to connect using the domain name.

Here is my debug tool made to work with FaucetBox.

plumber-diag-tool-fb.php
Code:

  
echo '
';
  echo 
'Plumber FB Diagnostic Tool 0.9b by NeedIfFindIt'."\n";
  echo 
"\n";
  echo 
'PHP Version: '.phpversion()."\n";
  echo 
'OPENSSL Version: '.OPENSSL_VERSION_TEXT."\n";
  echo 
'allow_url_fopen: '.((ini_get('allow_url_fopen')==1)?'Success':'Fail: Unable to connect. Solution:'."\n".'- Ask your host to enable allow_url_fopen')."\n";
  echo 
'DNS Response: '.((gethostbyname('faucetbox.com')=='faucetbox.com')?'Fail: Unable to resolve ':gethostbyname('faucetbox.com'))."\n";

  
$http_dns_ok=true;

  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTP ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: faucetbox.com\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('faucetbox.com'80$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      echo 
'Fail: ('.$errno.') '.$errstr.' DNS: Unable to resolve'."\n";
      
$http_dns_ok=false;
    } else {
      echo 
'Fail: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'Moved Permanently')!==false) {
      echo 
'Success'."\n";
    } else {
      echo 
'Fail: Banned. Solution:'."\n".'- Contact [email protected]'."\n";
    }
  }

  
$ip_ok=false;
  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTPS - IP method ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: faucetbox.com\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('ssl://104.28.29.86'443$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      echo 
'Fail: ('.$errno.') '.$errstr.' SSL negotiation failure'."\n";
    } else {
      echo 
'Fail: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'Invalid API key')!==false) {
      
$ip_ok=true;
      echo 
'Success'."\n";
    } else {
      echo 
'Fail: Banned. Solution:'."\n".'- Contact [email protected]'."\n";
    }
  }

  
$gethostbyname_ok=false;
  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTPS - gethostbyname method ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: faucetbox.com\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('ssl://'.gethostbyname('faucetbox.com'), 443$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      echo 
'Fail: ('.$errno.') '.$errstr.' SSL negotiation failure'."\n";
    } else {
      echo 
'Fail: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'Invalid API key')!==false) {
      
$gethostbyname_ok=true;
      echo 
'Success'."\n";
    } else {
      echo 
'Fail: Banned. Solution:'."\n".'- Contact [email protected]'."\n";
    }
  }

  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTPS ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: faucetbox.com\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('ssl://faucetbox.com'443$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      if (
$http_dns_ok) {
        echo 
'Fail: ('.$errno.') '.$errstr.' SSL negotiation failure - Solution(s):'."\n";
        if (
version_compare(PHP_VERSION'5.5.0')<0) {
          echo 
'- Upgrade to PHP 5.5+ with OPENSSL 1.0.1+'."\n";
        }
        if (
$gethostbyname_ok) {
           echo 
'- Use the gethostbyname method'."\n";
        }
        if ((
$ip_ok)&&(!$gethostbyname_ok)) {
           echo 
'- Use the IP method'."\n";
        }
      } else {
        echo 
'Fail: ('.$errno.') '.$errstr.' DNS: Unable to resolve'."\n";
      }
    } else {
      echo 
'Fail: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'Invalid API key')!==false) {
      echo 
'Success'."\n";
    } else {
      echo 
'Fail: Banned. Solution:'."\n".'- Contact [email protected]'."\n";
    }
  }

  echo 
"\n";
  echo 
'If you are unable to help yourself please kindly post all the content above at: https://bitcointalk.org/index.php?topic=844119.0;all'."\n";
  echo 
'Don\'t forget to delete this file.';
  echo 
'
'
;

?>


And sample result:
Code:
Plumber FB Diagnostic Tool 0.9b by NeedIfFindIt

PHP Version: 5.3.27
OPENSSL Version: OpenSSL 0.9.8zb 6 Aug 2014
allow_url_fopen: Success
DNS Response: 104.28.29.86

--- Trying FSOCKOPEN - HTTP ---
Success

--- Trying FSOCKOPEN - HTTPS - IP method ---
Success

--- Trying FSOCKOPEN - HTTPS - gethostbyname method ---
Success

--- Trying FSOCKOPEN - HTTPS ---
Fail: (0)  SSL negotiation failure - Solution(s):
- Upgrade to PHP 5.5+ with OPENSSL 1.0.1+
- Use the gethostbyname method
full member
Activity: 167
Merit: 100
Update guys. I believe the migration is complete and the tests went fine. FaucetBOX.com should work again as soon as DNS updates. At least I hope so Smiley

Some faucets are working. Mine, unfortunately, not yet.
full member
Activity: 167
Merit: 100
...

The other LOL thing is that today you have paid TWICE to the same users and I still see the amount as pending in FaucetBox Shocked

Just compare the top addresses:
https://blockchain.info/tx-index/2bc4e56a11a5d0778317404008b2a58a87d142635623b6b2853dacb287476470

https://blockchain.info/tx-index/102ce970ffea743285e14c73cd4de42edafd0459f563dbb65de5b4373eb40481

Yep, I was able to keep quiet about that  Roll Eyes Roll Eyes Roll Eyes Thanks for the free coffee, but FIX it or you will repeat the MtGox story!

This is a nice detail, for the inconveniences of the day.  0.21 bitcoins ($ 84) in total. It's not much and people appreciate it.
full member
Activity: 500
Merit: 100
Your faucets also got 9000+ hits from us during the last few days.

FaucetBox List

The most concerning thing is that white testing 1-2 days ago one of the faucets kept returning "Unknown Error". Allowing me to rerty 1 or 2 times before it returned success message.

When I checked the FaucetBox website I found 3 payment in a row from that faucet  Shocked Shocked Shocked

You really have to check your soft/api etc.


The other LOL thing is that today you have paid TWICE to the same users and I still see the amount as pending in FaucetBox Shocked

Just compare the top addresses:
https://blockchain.info/tx-index/2bc4e56a11a5d0778317404008b2a58a87d142635623b6b2853dacb287476470

https://blockchain.info/tx-index/102ce970ffea743285e14c73cd4de42edafd0459f563dbb65de5b4373eb40481

Yep, I was able to keep quiet about that  Roll Eyes Roll Eyes Roll Eyes Thanks for the free coffee, but FIX it or you will repeat the MtGox story!
full member
Activity: 167
Merit: 100
Update guys. I believe the migration is complete and the tests went fine. FaucetBOX.com should work again as soon as DNS updates. At least I hope so Smiley

Crossing our fingers  Roll Eyes
legendary
Activity: 971
Merit: 1000
Update guys. I believe the migration is complete and the tests went fine. FaucetBOX.com should work again as soon as DNS updates. At least I hope so Smiley
member
Activity: 83
Merit: 10
We added yesterday FaucetBox as dedicated page on our list. Hope we didn't bring bad luck to you  Wink

Happy faucets and good work Wink

full member
Activity: 167
Merit: 100
Are you changing fluzo condenser to the server???  Undecided


This could be a conspiracy to destroy the faucets.
legendary
Activity: 1064
Merit: 1000
When I try to sign up, it gives me wrong captcha even though it's right. (I double checked) help please!

Keep in mind he is switching servers, that may be part of the problem.

Ah ok. Maybe that's why.
sr. member
Activity: 294
Merit: 250
***THIS ACCOUNT IS NO LONGER ACTIVE***
When I try to sign up, it gives me wrong captcha even though it's right. (I double checked) help please!

Keep in mind he is switching servers, that may be part of the problem.
full member
Activity: 182
Merit: 100
Microwallet not paying, Faucetbox offline. today is a really dark day for faucets o,.o
legendary
Activity: 1064
Merit: 1000
When I try to sign up, it gives me wrong captcha even though it's right. (I double checked) help please!
sr. member
Activity: 294
Merit: 250
***THIS ACCOUNT IS NO LONGER ACTIVE***
I'll make admin panel work without connection right after I migrate FaucetBOX.com to a new server Smiley

How much longer do you think that will take?
full member
Activity: 167
Merit: 100
legendary
Activity: 971
Merit: 1000
You can try this version: http://s000.tinyupload.com/index.php?file_id=00145624559023713371
But it's not tested, so no guarantees.
full member
Activity: 167
Merit: 100
I'll make admin panel work without connection right after I migrate FaucetBOX.com to a new server Smiley

Thank you and good luck with the migration.
Pages:
Jump to: