Post
Topic
Board Micro Earnings
Re: [ANN] Microwallet.org - API + free faucet script, start your own faucet!
by
BitcoinzB
on 24/11/2014, 20:27:51 UTC
My faucet was working fine after the last mess. Worked fine ever since.

The past two days my faucet will not load. I've seen on twitter a couple other faucets say the same thing.
But I also see no one in here saying the same thing.....

TO the MW Faucet OWNERS:
Are your faucets up and running?


And if they are....can anyone tell me why mine might magically stop loading? I have not even touched the code to my site in probably 3 weeks. Like I said, working fine till 2 days ago.

Thanks EVeryone.
My faucet started giving a "Failed to send" error two days ago, fixed with

Maybe I got what's the issue.

Because of recently discovered bug in the SSL v3 most "new & secure" web hosters decided to remove the backward compatibility (I read about that somewhere few weeks ago  Roll Eyes). Assuming that www.microwallet.org has moved to a better place or upgraded the security at cloudflare.com then we got the issue.

If you are using php 5.4.x or below then it uses php_openssl 0.9.x and it will not work with the domain name. The best option is to use:

Code:
$fp = @fsockopen('ssl://'.gethostbyname('www.microwallet.org'), 443);
If it is too slow then cache the IP somehow and use it directly. Or just go for php 5.5.


If you are using php 5.5.x or php 5.6.x then it uses php_openssl 1.0.x and everything is fine using the original code:

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

Ofc. I may be wrong  Roll Eyes What are your PHP versions?
Using the first option.