NeedIfFindIt
|
|
November 12, 2014, 01:11:43 AM |
|
Cloudflare does not allow direct IP access.
By direct access I mean replacing: fsockopen('ssl://faucetbox.com', 443); With: fsockopen('ssl://104.28.29.86', 443); This is for the modified MicroFaucet Websites. The "Faucet in a Box" script is using CURL and needs different approach.
|
|
|
|
sofocles
|
|
November 12, 2014, 01:35:21 AM |
|
By now, the problem seems to be: https://faucetbox.com/api/v1/ => {"status":404,"message":"Invalid API method"} And I guess the webmaster is sleeping because it is very late in Poland. However, a few faucets work but most do not. I would like why.
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
November 12, 2014, 06:17:57 AM Last edit: November 12, 2014, 06:40:50 AM by Kazuldur |
|
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.
This is not the current FaucetBOX.com server. You can only access current FaucetBOX.com server through CloudFlare IPs. There are also some DB encoding issues. Roman-CATOШ became Roman-? ?? I'll check that. I'm aware of this. However I'll not able to do anything for a few hours, please be patient.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
pvbhat47
Newbie
Offline
Activity: 2
Merit: 0
|
|
November 12, 2014, 08:17:15 AM |
|
Transfer all my balance from Microwallet .org to FaucetBox.com
|
|
|
|
sofocles
|
|
November 12, 2014, 10:04:36 AM |
|
My faucet still not working Error connecting to FaucetBOX.com API.
|
|
|
|
|
septian123
Newbie
Offline
Activity: 49
Merit: 0
|
|
November 12, 2014, 12:24:46 PM |
|
huhh i'm tired my faucet not working,,,, how long we have to wait? 1 month? 2 months or 1 year? or 1 century ? hey admin please fix this problem shortly ! http://garudabitcoin.pw/go
|
|
|
|
sofocles
|
|
November 12, 2014, 12:33:59 PM |
|
Thank you NeedIfFindIt. Here it is: Plumber FB Diagnostic Tool 0.9b by NeedIfFindIt
PHP Version: 5.4.4-14+deb7u14 OPENSSL Version: OpenSSL 1.0.1e 11 Feb 2013 allow_url_fopen: Success DNS Response: 185.25.151.163
--- Trying FSOCKOPEN - HTTP --- Success
--- Trying FSOCKOPEN - HTTPS - IP method --- Success
--- Trying FSOCKOPEN - HTTPS - gethostbyname method --- Fail: Banned. Solution: - Contact support@faucetbox.com
--- Trying FSOCKOPEN - HTTPS --- Fail: Banned. Solution: - Contact support@faucetbox.com
If you are unable to help yourself please kindly post all the content above at: https://bitcointalk.org/index.php?topic=844119.0;all Don't forget to delete this file. I am more confused now. Banned ??
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
November 12, 2014, 12:46:43 PM Last edit: November 12, 2014, 12:57:10 PM by Kazuldur |
|
Thank you NeedIfFindIt. Here it is: Plumber FB Diagnostic Tool 0.9b by NeedIfFindIt ... DNS Response: 185.25.151.163 ...
I am more confused now. Banned ?? I don't know why he called this 'Banned', but 185.25.151.163 is the old IP address. You have to wait until your DNS update our IP. Update: registration is fixed, I'm working now on fixing the double transaction.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
sofocles
|
|
November 12, 2014, 12:47:41 PM |
|
huhh i'm tired my faucet not working,,,, how long we have to wait? 1 month? 2 months or 1 year? or 1 century ? hey admin please fix this problem shortly ! http://garudabitcoin.pw/goYour site is working for me.
|
|
|
|
sofocles
|
|
November 12, 2014, 12:55:16 PM |
|
I don't know why he called this 'Banned', by 185.25.151.163 is the old IP address. You have to wait until your DNS update our IP.
So I can only wait. It will be a long day.
|
|
|
|
NeedIfFindIt
|
|
November 12, 2014, 01:00:27 PM |
|
I am more confused now. Banned ??
The script is not getting the right answer from the old host = probably banned (from the old host) You missed answering the question: What is using your faucet "modified microfaucet" or "faucet in a box" script or custom script?
|
|
|
|
sofocles
|
|
November 12, 2014, 01:02:43 PM |
|
NeedItFindIt: I am using FaucetInABox Script (only template is modified).
|
|
|
|
macaron
|
|
November 12, 2014, 01:17:32 PM |
|
I keep getting the error that says can't connect to faucetbox api. I am using the faucetbox script please help
|
|
|
|
NeedIfFindIt
|
|
November 12, 2014, 01:28:53 PM |
|
NeedItFindIt: I am using FaucetInABox Script (only template is modified).
Try this if you want: Make a backup of: Then open: Replace: 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_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; }
By: public function __exec($method, $params = array()) { $params = array_merge($params, array("api_key" => $this->api_key, "currency" => $this->currency));
$ch = curl_init('https://104.28.29.86/api/v1/'); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Host: faucetbox.com')); //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; }
If it still does not work then uncomment curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); Wait max 3 days for the DNS and restore the original file.
|
|
|
|
sofocles
|
|
November 12, 2014, 01:44:15 PM |
|
Thank you NeedItFindIt for your kind help. Unfortunately, still don't work (commenting or uncommenting that line) https://104.28.29.86/api/v1/ goes to a Cloudflare error. Faucet remains unworking.
|
|
|
|
sofocles
|
|
November 12, 2014, 01:53:02 PM |
|
Well, suddenly is working. I love you all so much.
|
|
|
|
NeedIfFindIt
|
|
November 12, 2014, 01:54:39 PM |
|
Thank you NeedItFindIt for your kind help. Unfortunately, still don't work (commenting or uncommenting that line) https://104.28.29.86/api/v1/ goes to a Cloudflare error. Faucet remains unworking. Ofc that when you open in the browser https://104.28.29.86/api/v1/ it goes to Cloudflare error. But the script opens connection to 104.28.29.86:443 and then replaces Host: faucetbox.com Then CURLOPT_SSL_VERIFYPEER disables the https domain check. plumber-curl.php<?php
$params = array_merge(array("api_key" => '', "currency" => 'BTC'));
$ch = curl_init('https://104.28.29.86/api/v1/');
curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Host: faucetbox.com'));
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($response);
?>
Returns: So it works for me.
|
|
|
|
sofocles
|
|
November 12, 2014, 02:04:07 PM |
|
Thank you very much, NeedItFindIt
|
|
|
|
evelyndear2014
Newbie
Offline
Activity: 1
Merit: 0
|
|
November 12, 2014, 02:18:04 PM |
|
when in want to log into faucet box, out the information below. how responses admin? FaucetBOX.com is moving to another datacenter. "Sorry for inconvienience. Contact us on Bitcointalk.org for now"
|
|
|
|
|