Bitcoin Forum
December 12, 2017, 06:41:35 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 »
  Print  
Author Topic: [ANN] Microwallet.org - API + free faucet script, start your own faucet!  (Read 113809 times)
Justin-TheBotGuru
Newbie
*
Offline Offline

Activity: 26


View Profile
November 03, 2014, 01:22:15 PM
 #421

Thanks for the heads up Smiley
I dont actually have a Microwallet.org faucet, was reading the thread because some of our faucet owners (I help run a competing platform to Microwallet) informed us that microwallet was having some issues. Came across your help just wanted to say thanks for those that you might help with it.

EDIT: Sent you a beer tip.

Experienced Automation Software Developer
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 217


View Profile
November 03, 2014, 01:28:16 PM
 #422

Actually to avoid "connection timeout" the
Code:
", 3"
should be removed  Tongue

3 seconds may not be enough for a heavily overloaded website.

Thanks!
BlueChipper
Member
**
Offline Offline

Activity: 74

Cryptocurrency Advocate


View Profile WWW
November 03, 2014, 01:50:13 PM
 #423

Hi there,

had "Failed to send. (110) Connection timed out", removed the "3" and it works again.

Thx once again for your support,

Cheers, Bluechipper

MEZZACAP INVESTMENTS
Blockchain Investment Advisers and Business Incubators
BlueChipper
Member
**
Offline Offline

Activity: 74

Cryptocurrency Advocate


View Profile WWW
November 03, 2014, 02:07:43 PM
 #424

Your beer is on it's way, once again thx very much: cd20d19d39612a4df75d63ed22fa95db2c4a83d6073f1d0a2757fe05b2a9c82e.

Cheers Smiley Bluechipper

MEZZACAP INVESTMENTS
Blockchain Investment Advisers and Business Incubators
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 217


View Profile
November 03, 2014, 02:12:56 PM
 #425

Thanks!  Cheesy
macaron
Hero Member
*****
Offline Offline

Activity: 581


View Profile
November 03, 2014, 02:26:44 PM
 #426

Ok payments can be sent from faucet but balance cannot be displayed.
Justin-TheBotGuru
Newbie
*
Offline Offline

Activity: 26


View Profile
November 03, 2014, 02:35:56 PM
 #427

Ok payments can be sent from faucet but balance cannot be displayed.

You updated the connection information for the API post, but did you do the same for when it gets the balance? My understanding is that there are two different spots in the code where the URL is defined for the API. Can you confirm? (Sorry, my experience with the base microwallet script is limited - I code for a different micro transaction provider.)

Experienced Automation Software Developer
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 217


View Profile
November 03, 2014, 02:44:57 PM
 #428

Ok payments can be sent from faucet but balance cannot be displayed.

I don't own a faucet and don't have API key to test so make a backup copy of your index file then:

find and replace:

Code:
$balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key']));

with

Code:
//  $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];
BitcoinzB
Full Member
***
Offline Offline

Activity: 182


★Bitdesire.it★


View Profile WWW
November 03, 2014, 02:45:37 PM
 #429

Looks for some reason your hosting is unable to resolve the microwallet's IP address.

As a temp measure you can ping locally:

ping www.microwallet.org
this will give you the IP 104.28.0.112, or 104.28.1.112 or something else ...

Then replace

Code:
       $fp = @fsockopen('ssl://www.microwallet.org', 443, $errno, $errstr, 3);

Code:
       $fp = @fsockopen('ssl://[put the IP here]', 443, $errno, $errstr, 3);

Then you will probably need to buy me a beer  Grin just kidding, I'm not sure if it will work.
Thanks a lot Smiley
BitcoinFuture99
Member
**
Offline Offline

Activity: 118


View Profile
November 03, 2014, 05:42:12 PM
 #430

When I run Faucet Script on my own server it Works but On a Hosted Server it does not. So any one tell me what I should tell the hosting provider to do.
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 217


View Profile
November 03, 2014, 05:56:05 PM
 #431

When I run Faucet Script on my own server it Works but On a Hosted Server it does not. So any one tell me what I should tell the hosting provider to do.

What is the error message "Failed to send."?
BitcoinFuture99
Member
**
Offline Offline

Activity: 118


View Profile
November 03, 2014, 06:04:20 PM
 #432

When I run Faucet Script on my own server it Works but On a Hosted Server it does not. So any one tell me what I should tell the hosting provider to do.

What is the error message "Failed to send."?

Unknown Error
Werko
Full Member
***
Offline Offline

Activity: 206


View Profile WWW
November 03, 2014, 06:21:50 PM
 #433

I use a2hosting.com and 1blu.de and both works fine for me. Maybe you should try another provider.

NeedIfFindIt
Full Member
***
Offline Offline

Activity: 217


View Profile
November 03, 2014, 07:50:43 PM
 #434

When I run Faucet Script on my own server it Works but On a Hosted Server it does not. So any one tell me what I should tell the hosting provider to do.

What is the error message "Failed to send."?

Unknown Error

Is the host running php older than 5.2.x?
Apsalar
Jr. Member
*
Offline Offline

Activity: 39


View Profile WWW
November 03, 2014, 07:55:52 PM
 #435

I think these problems of microwallet are renewing the interest in faucets. Apart from the new FaucetBOX, i know that a company is going to publish another micro payment network probably next week. Let's see where this situation is going...  Roll Eyes
Justin-TheBotGuru
Newbie
*
Offline Offline

Activity: 26


View Profile
November 03, 2014, 08:04:09 PM
 #436

I think these problems of microwallet are renewing the interest in faucets. Apart from the new FaucetBOX, i know that a company is going to publish another micro payment network probably next week. Let's see where this situation is going...  Roll Eyes

I tend to agree with that, and it sounds like a great thing! Also another one popped up two weeks ago that has over 30 faucets on it's network (BTC&DOGE)
I think the admin of Microwallet will be happy to see these new providers.

Experienced Automation Software Developer
ONLYfree
Legendary
*
Offline Offline

Activity: 1232


View Profile
November 03, 2014, 08:05:23 PM
 #437

The essential question is :

Microwallet.org really will stop soon this service and we all need find alternative?

-2: -1 / +0
Warning: Trade with extreme caution!
Apsalar
Jr. Member
*
Offline Offline

Activity: 39


View Profile WWW
November 03, 2014, 08:13:29 PM
 #438

The essential question is :

Microwallet.org really will stop soon this service and we all need find alternative?

My take is that probably not short term, but you may start thinking about it  Wink

I tend to agree with that, and it sounds like a great thing! Also another one popped up two weeks ago that has over 30 faucets on it's network (BTC&DOGE)
I think the admin of Microwallet will be happy to see these new providers.
Totally agree with you. I think he made plain his desire to quit the business multiple times.  Roll Eyes
dalek
Sr. Member
****
Offline Offline

Activity: 396


View Profile
November 03, 2014, 08:21:42 PM
 #439

Also another one popped up two weeks ago that has over 30 faucets on it's network (BTC&DOGE)
link or more info?
Justin-TheBotGuru
Newbie
*
Offline Offline

Activity: 26


View Profile
November 03, 2014, 08:43:41 PM
 #440

Also another one popped up two weeks ago that has over 30 faucets on it's network (BTC&DOGE)
link or more info?

Has the admin of LOB/MW stated how he feels about someone posting alternative links in his thread? I cant send PM's yet here.

Experienced Automation Software Developer
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!