BitcoinBarrel
Legendary
Offline
Activity: 2003
Merit: 1028
Fill Your Barrel with Bitcoins!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 06, 2014, 06:24:30 PM |
|
I got payments working for http://www.coinadder.com using the fix below. I have not tried doing the balance fix yet, but the payments fix was quick and easy. I also got my faucets http://www.coinprizes.com and http://www.bitcoinbarrel.com/faucet working using the same fix. Thanks! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) please post some useful discussion about Microwallet having Issues regarding IP and API
This is the only temp fix I know, but it should work. Balance Fix: Replace: $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key'])); With... $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key'])); $request = ''; $request .= "GET /api/v1/balance?api_key=".rawurlencode($GLOBALS['settings']['microwallet_api_key'])." HTTP/1.0\r\n"; $request .= "Host: www.microwallet.org\r\n"; $request .= "Connection: close\r\n\r\n"; $fp = @fsockopen('ssl://104.28.0.112', 443); if (!$fp) { // ?? } @fputs($fp, $request); $response = ''; while (!@feof($fp)) { $response .= @fgets($fp, 1024); } @fclose($fp); $balance = explode("\r\n\r\n", $response); $balance = $balance[1]; Failure to Send Fix: Replace: $fp = @fsockopen('ssl://www.microwallet.org', 443); if (!$fp) { return array( 'success' => false, 'message' => 'Failed to send.', 'html' => '<div class="alert alert-danger">Failed to send.</div>', 'response' => null, ); With... $fp = @fsockopen('ssl://'.gethostbyname('www.microwallet.org'), 443); if (!$fp) { return array( 'success' => false, 'message' => 'Failed to send.', 'html' => '<div class="alert alert-danger">Failed to send.</div>', 'response' => null, );
|
▄▄▄▄▄▄▄▄▄▄ ▄██████████████▄ ▄█████████████████▌ ▐███████████████████▌ ▄█████████████████████▄ ███████████████████████ ▐███████████████████████ ▐███████████████████████ ▐███████████████████████ ▐███████████████████████ ██████████████████████▀ ▀████████████████████▀ ▀██████████████████ ▀▀████████████▀▀
| .
| .....█ .....█ .....█ .....█ .....█ .....█ | | █ █ █ █ █ █ |
|
|
|
sevenz
Newbie
Offline
Activity: 42
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 06, 2014, 07:32:13 PM |
|
No Prob. Mostly it was NeedIfFindIt who provided the good fixes - I just plug and played the different variations of it to make a combo that finally worked (seemingly) flawlessly for now.
|
|
|
|
NeedIfFindIt
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 06, 2014, 08:53:38 PM |
|
please post some useful discussion about Microwallet having Issues regarding IP and API
This is the only temp fix I know, but it should work. Balance Fix: Replace: $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key'])); With... $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key'])); $request = ''; $request .= "GET /api/v1/balance?api_key=".rawurlencode($GLOBALS['settings']['microwallet_api_key'])." HTTP/1.0\r\n"; $request .= "Host: www.microwallet.org\r\n"; $request .= "Connection: close\r\n\r\n"; $fp = @fsockopen('ssl://104.28.0.112', 443); if (!$fp) { // ?? } @fputs($fp, $request); $response = ''; while (!@feof($fp)) { $response .= @fgets($fp, 1024); } @fclose($fp); $balance = explode("\r\n\r\n", $response); $balance = $balance[1]; Failure to Send Fix: Replace: $fp = @fsockopen('ssl://www.microwallet.org', 443); if (!$fp) { return array( 'success' => false, 'message' => 'Failed to send.', 'html' => '<div class="alert alert-danger">Failed to send.</div>', 'response' => null, ); With... $fp = @fsockopen('ssl://'.gethostbyname('www.microwallet.org'), 443); if (!$fp) { return array( 'success' => false, 'message' => 'Failed to send.', 'html' => '<div class="alert alert-danger">Failed to send.</div>', 'response' => null, ); While copying you forgot the // before $balance. This may slowdown the script every 10 minutes because it will try also the old way. The correct balance code. Replace: $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key']));
With: // $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key'])); $request = ''; $request .= "GET /api/v1/balance?api_key=".rawurlencode($GLOBALS['settings']['microwallet_api_key'])." HTTP/1.0\r\n"; $request .= "Host: www.microwallet.org\r\n"; $request .= "Connection: close\r\n\r\n"; $fp = @fsockopen('ssl://104.28.0.112', 443); if (!$fp) { // ?? } @fputs($fp, $request); $response = ''; while (!@feof($fp)) { $response .= @fgets($fp, 1024); } @fclose($fp); $balance = explode("\r\n\r\n", $response); $balance = $balance[1];
|
|
|
|
NeedIfFindIt
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 06, 2014, 11:33:55 PM |
|
Here it is my Plumber MW Diagnostic Tool ![Shocked](https://bitcointalk.org/Smileys/default/shocked.gif) If there are ppl still not able to make their faucets flow. plumber-diag-tool.php<?php
echo '<pre>'; echo 'Plumber MW 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':'<b style="color:red;">Fail</b>: Unable to connect. Solution:'."\n".'- Ask your host to enable allow_url_fopen')."\n"; echo 'DNS Response: '.((gethostbyname('www.microwallet.org')=='www.microwallet.org')?'<b style="color:red;">Fail</b>: Unable to resolve ':gethostbyname('www.microwallet.org'))."\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: www.microwallet.org\r\n"; $request .= "Connection: close\r\n\r\n"; $fp = @fsockopen('www.microwallet.org', 80, $errno, $errstr, 5); if (!$fp) { if ($errno==0) { echo '<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' DNS: Unable to resolve'."\n"; $http_dns_ok=false; } else { echo '<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n"; } } else { @fputs($fp, $request); $response = ''; while (!@feof($fp)) { $response .= @fgets($fp, 1024); } @fclose($fp); if (stripos($response, 'Use HTTPS instead of HTTP.')!==false) { echo 'Success'."\n"; } else { echo '<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact info@microwallet.org'."\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: www.microwallet.org\r\n"; $request .= "Connection: close\r\n\r\n"; $fp = @fsockopen('ssl://104.28.0.112', 443, $errno, $errstr, 5); if (!$fp) { if ($errno==0) { echo '<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' SSL negotiation failure'."\n"; } else { echo '<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n"; } } else { @fputs($fp, $request); $response = ''; while (!@feof($fp)) { $response .= @fgets($fp, 1024); } @fclose($fp); if (stripos($response, 'API key missing')!==false) { $ip_ok=true; echo 'Success'."\n"; } else { echo '<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact info@microwallet.org'."\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: www.microwallet.org\r\n"; $request .= "Connection: close\r\n\r\n"; $fp = @fsockopen('ssl://'.gethostbyname('www.microwallet.org'), 443, $errno, $errstr, 5); if (!$fp) { if ($errno==0) { echo '<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' SSL negotiation failure'."\n"; } else { echo '<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n"; } } else { @fputs($fp, $request); $response = ''; while (!@feof($fp)) { $response .= @fgets($fp, 1024); } @fclose($fp); if (stripos($response, 'API key missing')!==false) { $gethostbyname_ok=true; echo 'Success'."\n"; } else { echo '<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact info@microwallet.org'."\n"; } }
echo "\n"; echo '--- Trying FSOCKOPEN - HTTPS ---'."\n"; $request = ''; $request .= "GET /api/v1/balance HTTP/1.1\r\n"; $request .= "Host: www.microwallet.org\r\n"; $request .= "Connection: close\r\n\r\n"; $fp = @fsockopen('ssl://www.microwallet.org', 443, $errno, $errstr, 5); if (!$fp) { if ($errno==0) { if ($http_dns_ok) { echo '<b style="color:red;">Fail</b>: ('.$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 '<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' DNS: Unable to resolve'."\n"; } } else { echo '<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n"; } } else { @fputs($fp, $request); $response = ''; while (!@feof($fp)) { $response .= @fgets($fp, 1024); } @fclose($fp); if (stripos($response, 'API key missing')!==false) { echo 'Success'."\n"; } else { echo '<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact info@microwallet.org'."\n"; } }
echo "\n"; echo 'If you are unable to help yourself please kindly post all the content above at: <a href="https://bitcointalk.org/index.php?topic=348060.520">https://bitcointalk.org/index.php?topic=348060.520</a>'."\n"; echo '<b>Don\'t forget to delete this file.</b>'; echo '</pre>';
?>
Sample results: Plumber MW 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.0.112
--- 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
Plumber MW Diagnostic Tool 0.9b by NeedIfFindIt
PHP Version: 5.5.1 OPENSSL Version: OpenSSL 1.0.1e 11 Feb 2013 allow_url_fopen: Success DNS Response: 104.28.0.112
--- Trying FSOCKOPEN - HTTP --- Success
--- Trying FSOCKOPEN - HTTPS - IP method --- Success
--- Trying FSOCKOPEN - HTTPS - gethostbyname method --- Success
--- Trying FSOCKOPEN - HTTPS --- Success
If you are unable to help yourself please kindly post all the content above at: https://bitcointalk.org/index.php?topic=348060.520 Don't forget to delete this file.
|
|
|
|
HotSwap
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 04:26:44 AM |
|
Any idea how it calculates averages?
My rewards are 100*70, 250*29, 500
and its giving me a average of "Your current average: 8"
|
|
|
|
GoldenDrip
Newbie
Offline
Activity: 6
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 05:46:13 AM |
|
Obvious smear campaign. Dudes been open like two weeks and had no faucets till two days ago on his list? This message contradicts the memo from mw in our dashboards for mw. Wtf. Maybe this is addin to such confusion about the closing down rumor. http://bitcoinsurfer.bitcoinula.com/faucet.php"!IMPORTANT MICROWALLET.org WARNING! Microwallet announced some sad news that it will stop the microwallet.org services soon. Faucet owners are advised to change their API & migrate to other services. At this point no exact time frame given but other faucets already changing. We'll continue to run our Microwallet based faucet - click here - till it's not available for use anymore, but faucet surfers are advised to also look at alternatives. We are in the process of migrating our Microwallet to the new service FaucetBOX.com - click to visit and open an account asap. CONTINUE TO OUR MICROWALLET FAUCET HERE"
|
|
|
|
BitcoinFuture99
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 120
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 05:47:04 AM |
|
For those who's API still not works
Cloudflare Just Replied Me Saying
Damon (CloudFlare) Nov 06 02:24 PM
Hi,
You need to ask Microwallet.org to whitelist your IP(s).
|
|
|
|
Werko
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 06:52:08 AM |
|
It could be so easy.
MW could just leave a message here to stop all discussions. But we got no response and the payments are still unpaid.
Not sure what to think of it.
|
|
|
|
NeedIfFindIt
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 10:13:56 AM |
|
Any idea how it calculates averages?
My rewards are 100*70, 250*29, 500
and its giving me a average of "Your current average: 8"
Find: Replace with: $totalAmount += $reward*$multiplier;
Yes, I like Beer ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
ryukamiho
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 03:38:13 PM |
|
Did you guys got less page views in the last 1 or 2 weeks?
i have lost like half page views. Just to check if the problem is only with me or everybody is suffering the same.
(people avoiding a little land of bitcoin afraid of not getting paid)
|
|
|
|
Painful Truth
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 03:45:59 PM |
|
Did you guys got less page views in the last 1 or 2 weeks?
i have lost like half page views. Just to check if the problem is only with me or everybody is suffering the same.
(people avoiding a little land of bitcoin afraid of not getting paid)
Not just you. It started at the beginning of November.
|
|
|
|
NeedIfFindIt
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 04:13:35 PM |
|
Did you guys got less page views in the last 1 or 2 weeks?
i have lost like half page views. Just to check if the problem is only with me or everybody is suffering the same.
(people avoiding a little land of bitcoin afraid of not getting paid)
With little bit of sniffing at adbit you can find that it happens with more than 95% of the microwallet faucets ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
BitBitCoin
Legendary
Offline
Activity: 1273
Merit: 1004
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 05:39:26 PM |
|
We need news! The service will resume? When? Users no longer use the MW Faucet!!!
|
|
|
|
radiotracker
Newbie
Offline
Activity: 10
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 09:55:25 PM |
|
If there is a bug in the Blockchain.info API FaucetBox is also affected? Has anyone received a payments over FaucetBox to his real Bitcoin Wallet (Electrum,Coinbase,Xapo etc.)?
|
|
|
|
f4t4l
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 200
Merit: 100
Presale Starting May 1st
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 10:14:46 PM |
|
Anybody can develop own Api for bitcoin payments? send me details [ price,etq] PM please.
|
|
|
|
NeedIfFindIt
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 10:17:00 PM |
|
If there is a bug in the Blockchain.info API FaucetBox is also affected? Has anyone received a payments over FaucetBox to his real Bitcoin Wallet (Electrum,Coinbase,Xapo etc.)?
Yes, but they are paying to 10-20 addresses at a time 1, 2 or 3 times a day. Pretty dusty and wasteful but they are new in the business and are trying make a good impression. MW have to combine tons of inputs and outputs in order to keep the fees low. And probably they don't have good strategy to do it (I'm just speculating).
|
|
|
|
sevenz
Newbie
Offline
Activity: 42
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 07, 2014, 11:29:02 PM |
|
![Shocked](https://bitcointalk.org/Smileys/default/shocked.gif) LOL So I was stopping by to see if MW or Land of Bitcoin had any current info on the situation. FAIL! =( If they don't care, I don't care I guess. Sucks.I was totally supporti As for Faucetbox, I guess they win this one just merely due to them being present. Sucks they had to present themselves in such a crappy way here, otherwise I might have migrated myself. Bad impression i guess. I heard someone here had a way to process the payments with microwallet somehow without them being involved. I don't want to put them on the spot, but if you read this....maybe you could share it with us for some btc tips? Unless I completely misunderstood what he was saying to me...thats always possible too.
|
|
|
|
bitzland
Newbie
Offline
Activity: 41
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 08, 2014, 01:30:36 AM |
|
Check http://www.epay.infothe new generations of Bitcoin micropayment cache
|
|
|
|
Superhitech
Legendary
Offline
Activity: 1064
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 08, 2014, 02:27:02 AM |
|
hey guys, I would like some advice:
Should I start off my faucet with microwallet or faucetbox? Thanks for advice and help.
|
|
|
|
bitzland
Newbie
Offline
Activity: 41
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
November 08, 2014, 04:07:41 AM |
|
hey guys, I would like some advice:
Should I start off my faucet with microwallet or faucetbox? Thanks for advice and help.
wait 9 days then start with ePay.info
|
|
|
|
|