Pages:
Author

Topic: FaucetBOX.com Discussion - page 14. (Read 237020 times)

full member
Activity: 161
Merit: 100
October 09, 2016, 05:38:16 PM
what is this error
when I enter an address into the field and click get Reward, page simply reload
member
Activity: 142
Merit: 11
Freedom To Live In Abundance
October 09, 2016, 05:11:16 PM
It uses cURL by default, if you have 'disable_curl' => false, in your config.php file. It only fall backs to fopen if cURL fails.

Thanks for your support on this. Do you know of an uncomplicated way I can test cURL on shared hosting, like "hello world" for cURL? Just to make sure? I've written to the host again.
legendary
Activity: 971
Merit: 1000
October 09, 2016, 02:21:32 PM
Your hosting disabled external HTTP(S) connections. Contact your hosting (you can send them the first line of logs you've quoted to make it clear for them what are you asking).

Hi, host says it should be using curl, but the script says
 $fp = fopen($this->api_base . $method, 'rb', null, $ctx);

Can I just change it to curl or will that screw everything up?
Thanks
Andy

It uses cURL by default, if you have 'disable_curl' => false, in your config.php file. It only fall backs to fopen if cURL fails.
member
Activity: 142
Merit: 11
Freedom To Live In Abundance
October 09, 2016, 02:15:43 PM
Your hosting disabled external HTTP(S) connections. Contact your hosting (you can send them the first line of logs you've quoted to make it clear for them what are you asking).

Hi, host says it should be using curl, but the script says
 $fp = fopen($this->api_base . $method, 'rb', null, $ctx);

Can I just change it to curl or will that screw everything up?
Thanks
Andy
legendary
Activity: 971
Merit: 1000
October 09, 2016, 12:12:04 PM

It looks like you're guessing blindly and it may be something else entirely. What error do you see exactly? Set $display_errors = true; in your config.php file to see details.

You are probably right.

I did what you said, here's the errors I am getting:
Quote
Warning: fopen(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/friendsv/public_html/wp-content/plugins/99bitcoins-btc-faucet/libraries/faucetbox.php on line 31

Warning: fopen(https://faucetbox.com/api/v1/balance): failed to open stream: no suitable wrapper could be found in /home/friendsv/public_html/wp-content/plugins/99bitcoins-btc-faucet/libraries/faucetbox.php on line 31

Warning: stream_get_contents() expects parameter 1 to be resource, boolean given in /home/friendsv/public_html/wp-content/plugins/99bitcoins-btc-faucet/libraries/faucetbox.php on line 32

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/friendsv/public_html/wp-content/plugins/99bitcoins-btc-faucet/libraries/faucetbox.php on line 36

Hope that makes progress possible, if you can interpret it for me,
thanks
Andy

Your hosting disabled external HTTP(S) connections. Contact your hosting (you can send them the first line of logs you've quoted to make it clear for them what are you asking).
member
Activity: 142
Merit: 11
Freedom To Live In Abundance
October 09, 2016, 12:06:13 PM
^Yambub I went to a link on your post and seen this.
{"status":403,"message":"Invalid API key."}

Thanks for looking Racey, I think that's just the link as it appears in the php file, It's showing as a link automatically but it shouldn't be, it's just part of the code. I tried putting it in code tags but the lines ran off the page so I put it in a quote tag instead. My bad.
legendary
Activity: 1134
Merit: 1000
Soon, I have to go away.
October 09, 2016, 11:59:23 AM
^Yambub I went to a link on your post and seen this.

{"status":403,"message":"Invalid API key."}
member
Activity: 142
Merit: 11
Freedom To Live In Abundance
October 09, 2016, 11:41:09 AM

It looks like you're guessing blindly and it may be something else entirely. What error do you see exactly? Set $display_errors = true; in your config.php file to see details.

You are probably right.

I did what you said, here's the errors I am getting:
Quote
Warning: fopen(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/friendsv/public_html/wp-content/plugins/99bitcoins-btc-faucet/libraries/faucetbox.php on line 31

Warning: fopen(https://faucetbox.com/api/v1/balance): failed to open stream: no suitable wrapper could be found in /home/friendsv/public_html/wp-content/plugins/99bitcoins-btc-faucet/libraries/faucetbox.php on line 31

Warning: stream_get_contents() expects parameter 1 to be resource, boolean given in /home/friendsv/public_html/wp-content/plugins/99bitcoins-btc-faucet/libraries/faucetbox.php on line 32

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/friendsv/public_html/wp-content/plugins/99bitcoins-btc-faucet/libraries/faucetbox.php on line 36

Hope that makes progress possible, if you can interpret it for me,
thanks
Andy
legendary
Activity: 2352
Merit: 1268
In Memory of Zepher
October 09, 2016, 09:03:41 AM
Thinking about an idea to use the FaucetBox API for new projects. Are there any limitations to the content of the site where the API is used?

I mean, is it allowed to use Faucetbox on gambling or (legal) adult sites for example?
After looking at the FaucetBOX Terms, I cannot see any restrictions or limitations as to what types of sites can use the API. AFAIK you should be fine to use the Micro Payment API on whatever you like.
tyz
legendary
Activity: 3360
Merit: 1533
October 09, 2016, 07:39:35 AM
Thinking about an idea to use the FaucetBox API for new projects. Are there any limitations to the content of the site where the API is used?

I mean, is it allowed to use Faucetbox on gambling or (legal) adult sites for example?
legendary
Activity: 971
Merit: 1000
October 06, 2016, 10:10:30 AM

Yes, it uses cURL, as listed in the requirements on https://faucetinabox.com/ . If it fails it'll try using PHP's fopen, but that detection of failure may not work properly on some hostings. You can set 'disable_curl' => true, in your config.php file to always use fopen, but I really recommend you to use cURL if possible.

Thanks NeedIfFindIt and Kazuldur. Host says your IPs are not blocked. I tried installing a separate faucetinabox to test and that fails as well. Host says you may have blocked their IP, can you check?

server IP is 82.221.129.20

It may well be blocked because they are a privacy-focussed ISP based in Iceland. They do VPSs among other things, so you might have their IP range blocked.

I want to use faucetbox, hope you can help or I will have to figure out manual payments.
Cheers
Andy

It looks like you're guessing blindly and it may be something else entirely. What error do you see exactly? Set $display_errors = true; in your config.php file to see details.
member
Activity: 142
Merit: 11
Freedom To Live In Abundance
October 06, 2016, 09:57:57 AM

Yes, it uses cURL, as listed in the requirements on https://faucetinabox.com/ . If it fails it'll try using PHP's fopen, but that detection of failure may not work properly on some hostings. You can set 'disable_curl' => true, in your config.php file to always use fopen, but I really recommend you to use cURL if possible.

Thanks NeedIfFindIt and Kazuldur. Host says your IPs are not blocked. I tried installing a separate faucetinabox to test and that fails as well. Host says you may have blocked their IP, can you check?

server IP is 82.221.129.20

It may well be blocked because they are a privacy-focussed ISP based in Iceland. They do VPSs among other things, so you might have their IP range blocked.

I want to use faucetbox, hope you can help or I will have to figure out manual payments.
Cheers
Andy
legendary
Activity: 971
Merit: 1000
October 06, 2016, 08:28:10 AM
I setup a new faucet for the purpose of making micropayments for a giveaway. I was able to make payments but sometime I keep getting this error "There was an error while sending 15000 satoshi to "1DaG54To2jhE6MvGGuGq6qYRZmKQrEUZpw": This faucet made too many requests, try again later!" . How to fix this?

The IP address of your server (the one you have faucet on) or your FaucetBOX.com account exceeded the limit for API operations.

From API docs: "There's a rate limit of 1000 requests per 10 minutes and 4000 requests per hour. If you need to make more requests, please contact our Support Team."
legendary
Activity: 1414
Merit: 1000
October 06, 2016, 06:56:36 AM
How can I use Facuetbox API to directly send payment to a bitcoin address. I remember there used to be such option in Faucetbox account but I can't find it now.
Looking to make some micropayments.

https://faucetbox.com/en/api

If you want an UI, there is a "Manual send" option in Faucet in a BOX admin panel.
I'm looking for Manual send option and still couldn't find it in my Faucetbox admin panel.

It's not in the FaucetBOX.com panel, it's in the panel provided by Faucet in a BOX faucet script: https://i.imgur.com/cBkUlsK.png
I setup a new faucet for the purpose of making micropayments for a giveaway. I was able to make payments but sometime I keep getting this error "There was an error while sending 15000 satoshi to "1DaG54To2jhE6MvGGuGq6qYRZmKQrEUZpw": This faucet made too many requests, try again later!" . How to fix this?
legendary
Activity: 971
Merit: 1000
October 05, 2016, 01:32:02 PM
It is behind cloudflare reverse proxy.

Sorry aobut this... My host says that it should be working then, no server reason for it not to. He asked is the script using curl to connect to the API?

Anyone know the answer?

Andy

Yes, it uses cURL, as listed in the requirements on https://faucetinabox.com/ . If it fails it'll try using PHP's fopen, but that detection of failure may not work properly on some hostings. You can set 'disable_curl' => true, in your config.php file to always use fopen, but I really recommend you to use cURL if possible.
full member
Activity: 500
Merit: 100
October 05, 2016, 01:28:06 PM
It is behind cloudflare reverse proxy.

Sorry aobut this... My host says that it should be working then, no server reason for it not to. He asked is the script using curl to connect to the API?

Anyone know the answer?

Andy

CURL + fallback to fsockopen or something like that. It may fail if the SSL version on your server is outdated... But better wait for Kazuldur since I'm just a user.
member
Activity: 142
Merit: 11
Freedom To Live In Abundance
October 05, 2016, 10:39:03 AM
It is behind cloudflare reverse proxy.

Sorry aobut this... My host says that it should be working then, no server reason for it not to. He asked is the script using curl to connect to the API?

Anyone know the answer?

Andy
member
Activity: 142
Merit: 11
Freedom To Live In Abundance
October 05, 2016, 08:25:52 AM

It is behind cloudflare reverse proxy.

You can find a list of cloudflare IPs is here:

https://www.cloudflare.com/ips/

Hi, thanks a lot for that.
Andy
full member
Activity: 500
Merit: 100
October 05, 2016, 04:13:17 AM
Hi, I'm not getting any response from the support ticket thingy, so I'll try asking here instead.

What IP address (or range) does the API request go to? My host said they will whitelist it. At the moment I'm not able to use the service at all.

Thanks,
Andy

It is behind cloudflare reverse proxy.

You can find a list of cloudflare IPs is here:

https://www.cloudflare.com/ips/
member
Activity: 142
Merit: 11
Freedom To Live In Abundance
October 04, 2016, 08:46:26 PM
Hi, I'm not getting any response from the support ticket thingy, so I'll try asking here instead.

What IP address (or range) does the API request go to? My host said they will whitelist it. At the moment I'm not able to use the service at all.

Thanks,
Andy
Pages:
Jump to: