Pages:
Author

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

legendary
Activity: 1059
Merit: 1020
Can anyone help me? I getting "Old Server. Please wait for the DNS Update"  on my faucet.
I didn't know, who i change the DNS.
full member
Activity: 500
Merit: 100
Needitfindit.

You are the superman.

faucet is working flawless.

Thank you.

Any doge adress for a tip?

WOW  Tongue

D8RfwHuEZM7GMcLT1HWA9ukVjW8oTthH9T

https://dogechain.info/address/D8RfwHuEZM7GMcLT1HWA9ukVjW8oTthH9T

send you 800 doge. thanks for your efforts.

Thanks!
full member
Activity: 182
Merit: 100
Needitfindit.

You are the superman.

faucet is working flawless.

Thank you.

Any doge adress for a tip?

WOW  Tongue

D8RfwHuEZM7GMcLT1HWA9ukVjW8oTthH9T

https://dogechain.info/address/D8RfwHuEZM7GMcLT1HWA9ukVjW8oTthH9T

send you 800 doge. thanks for your efforts.
full member
Activity: 167
Merit: 100
FaucetBox is still down



Seems like maybe a firewall issue on the server?
full member
Activity: 500
Merit: 100
@NeedIfFindIt THANK YOU! for your help, but the tipps didnt worked for me Sad


So i changed in the FaucetBOX.php to

Code:
public function __exec($method, $params = array()) {
        $params = array_merge($params, array("api_key" => $this->api_key, "currency" => $this->currency));

        $ch = curl_init($this->api_base . $method);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        $response = json_decode(curl_exec($ch), true);
        $this->last_status = $response['status'];
        curl_close($ch);

        return $response;
    }

Nothing happend: The plumber-curl.php already shows "SSL Cert Problem" and if i try claim
on my faucet i get:

Code:
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /hp/ca/aa/gh/www/LandOfDogecoin/libs/faucetbox.php on line 32

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /hp/ca/aa/gh/www/LandOfDogecoin/libs/faucetbox.php on line 44

In the FaucetBOX admin Panel these message is shown:

Code:
Error connecting to FaucetBOX.com API. Either your hosting provider doesn't support external connections or FaucetBOX.com API is down. Send an email to [email protected] if you need help.


also is
Code:
protected $api_base = "https://faucetbox.com/api/v1/";
right?

What happens when you uncomment:
Code:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

In:
Code:
plumber-curl.php
newbie
Activity: 10
Merit: 0
@NeedIfFindIt THANK YOU! for your help, but the tipps didnt worked for me Sad


So i changed in the FaucetBOX.php to

Code:
public function __exec($method, $params = array()) {
        $params = array_merge($params, array("api_key" => $this->api_key, "currency" => $this->currency));

        $ch = curl_init($this->api_base . $method);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        $response = json_decode(curl_exec($ch), true);
        $this->last_status = $response['status'];
        curl_close($ch);

        return $response;
    }

Nothing happend: The plumber-curl.php already shows "SSL Cert Problem" and if i try claim
on my faucet i get:

Code:
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /hp/ca/aa/gh/www/LandOfDogecoin/libs/faucetbox.php on line 32

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /hp/ca/aa/gh/www/LandOfDogecoin/libs/faucetbox.php on line 44

In the FaucetBOX admin Panel these message is shown:

Code:
Error connecting to FaucetBOX.com API. Either your hosting provider doesn't support external connections or FaucetBOX.com API is down. Send an email to [email protected] if you need help.


also is
Code:
protected $api_base = "https://faucetbox.com/api/v1/";
right?
full member
Activity: 182
Merit: 100
Needitfindit.

You are the superman.

faucet is working flawless.

Thank you.

Any doge adress for a tip?
full member
Activity: 500
Merit: 100
With the plumber-curl.php i get this :
Code:
SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

That looks confusing.  Huh So the SSL Certificate of Faucetbox is broken?

I suppose this is because they moved to cloudflare (it is reverse proxy).

Adding:

Code:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

To

Code:
libs/faucetbox.php

Somewhere between:
Code:
$ch = curl_init($this->api_base . $method);

and

Code:
$response = json_decode(curl_exec($ch), true);

Should make your faucet work.

And hope they will find some time to give us an official "how to".

Plumber FB Diagnostic Tool 0.9b by NeedIfFindIt

PHP Version: 5.4.31
OPENSSL Version: OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
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 ---
Success


the curl one i got¨this

SSL peer certificate or SSH remote key was not OK

Looks like you have the same issue.
full member
Activity: 182
Merit: 100
Plumber FB Diagnostic Tool 0.9b by NeedIfFindIt

PHP Version: 5.4.31
OPENSSL Version: OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
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 ---
Success


the curl one i got¨this

SSL peer certificate or SSH remote key was not OK
newbie
Activity: 10
Merit: 0
With the plumber-curl.php i get this :
Code:
SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

That looks confusing.  Huh So the SSL Certificate of Faucetbox is broken?
full member
Activity: 500
Merit: 100
Code:
PHP Version: 5.2.10
OPENSSL Version: OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
allow_url_fopen: Success
DNS Response: 104.28.28.86

--- Trying FSOCKOPEN - HTTP ---
Success

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

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

--- Trying FSOCKOPEN - HTTPS ---
Success

So is it right, that the errors are normal on OpenSSL 0.9.x with PHP 5.2?
Is there a fix, to get it working?

Having 4*Success means simply it should work mo matter the openssl version.

What about this:

plumber-curl.php
Code:

        $params 
array_merge(array("api_key" => ''"currency" => 'BTC'));

        
$ch curl_init('https://faucetbox.com/api/v1/');

        
curl_setopt($chCURLOPT_POSTtrue);
        
curl_setopt($chCURLOPT_POSTFIELDS$params);
        
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
        
//curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

        
$response json_decode(curl_exec($ch), true);

        echo 
curl_error($ch);

        
curl_close($ch);

        
print_r($response);

?>


You should get

Code:
Array ( [status] => 404 [message] => Invalid API method )
sr. member
Activity: 728
Merit: 275



Error connecting to FaucetBOX.com API. Either your hosting provider doesn't support external connections or FaucetBOX.com API is down. Send an email to [email protected] if you need help.

Can I fix this on my side or is it faucetbox?
newbie
Activity: 10
Merit: 0
Code:
PHP Version: 5.2.10
OPENSSL Version: OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
allow_url_fopen: Success
DNS Response: 104.28.28.86

--- Trying FSOCKOPEN - HTTP ---
Success

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

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

--- Trying FSOCKOPEN - HTTPS ---
Success

So is it right, that the errors are normal on OpenSSL 0.9.x with PHP 5.2?
Is there a fix, to get it working?
full member
Activity: 500
Merit: 100
cPanel Version   11.46.0 (build 14)
Tema   x3
Versão do Apache   2.2.27
Versão do PHP   5.4.31
Versão do MySQL   5.6.21
Arquitetura   x86_64
Sistema operacional   linux
Endereço IP compartilhado   xxxx
Path to sendmail   /usr/sbin/sendmail
Caminho para Perl   /usr/bin/perl
Versão do Perl   5.8.8
Versão do kernel   2.6.18-308.8.1.el5xen
cPanel Pro   1.0 (RC1) 


i am unable to find the TLS version O.o

You can. Just run this.

https://bitcointalksearch.org/topic/m.9513928

and copy-paste the result here (it was made initially for MW so it can get you false negatives).
member
Activity: 95
Merit: 10
Error connecting to FaucetBOX.com API. Either your hosting provider doesn't support external connections or FaucetBOX.com API is down. Send an email to [email protected] if you need help.


This problem is only with me or it sbecause they changed hosts?
Strange, but my faucet works perfectly all these days. I also can make deposits without a problem. It also shows balance and so on. Hope other faucets will back to work soon
full member
Activity: 182
Merit: 100
cPanel Version   11.46.0 (build 14)
Tema   x3
Versão do Apache   2.2.27
Versão do PHP   5.4.31
Versão do MySQL   5.6.21
Arquitetura   x86_64
Sistema operacional   linux
Endereço IP compartilhado   xxxx
Path to sendmail   /usr/sbin/sendmail
Caminho para Perl   /usr/bin/perl
Versão do Perl   5.8.8
Versão do kernel   2.6.18-308.8.1.el5xen
cPanel Pro   1.0 (RC1) 


i am unable to find the TLS version O.o
full member
Activity: 200
Merit: 100
Presale Starting May 1st
Error 522 Ray ID: 1888479afc280497
Connection timed out

down?? Huh
hero member
Activity: 580
Merit: 500
I am also having the same problem. Faucetbox please help
full member
Activity: 500
Merit: 100
Error connecting to FaucetBOX.com API. Either your hosting provider doesn't support external connections or FaucetBOX.com API is down. Send an email to [email protected] if you need help.


This problem is only with me or it sbecause they changed hosts?

The whole site has been down for around 2 days now.

If is too long to be a DNS issue.

I'm just speculating.
They moved to use cloudflare services as protection against DDoS.
It uses TLS 1.2 for encryption.
OPENSSL 0.9.x has a bug that fails in case of TLS.
Most PHP 5.3 & 5.4 hosts come with OPENSSL 0.9.x

Now connect the dots.

What are your PHP and OPENSSL versions?
full member
Activity: 234
Merit: 100
Error connecting to FaucetBOX.com API. Either your hosting provider doesn't support external connections or FaucetBOX.com API is down. Send an email to [email protected] if you need help.


This problem is only with me or it sbecause they changed hosts?

The whole site has been down for around 2 days now.
Pages:
Jump to: