Post
Topic
Board Micro Earnings
Re: [ANN] Microwallet.org - API + free faucet script, start your own faucet!
by
sevenz
on 05/11/2014, 02:14:18 UTC
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?

Both of them are not working I got upto 5.6 PHP versions  error "Unknown Error"

UPDATE:

Just tweaking again to see if anything happened to fit tonight after I took a break. I did not try anything new really, just replayed everyone's suggestions from earlier.

I started with a clean index.php file. I kept all my original files for my theme, etc, but I deleted my index.php and uploaded a fresh copy.

The first thing I did was change
Code:
   $fp = @fsockopen('ssl://www.microwallet.org', 443);

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

Just changing this one line afforded me to finally claim some satoshis  - without the Failure to Send error.

Now I am going to see if I can reapply the balance fix...which I will update in a few min. how that goes.