Bitcoin Forum
November 10, 2024, 01:54:32 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
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 114827 times)
Bitcoin Hunters
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
November 04, 2014, 11:13:37 AM
 #461

The prob is that the faucet runs the balance-update code once X+10*60 seconds.

Where X is 1 by default. This means run once every 10 minutes.

You need to change the code wait 10 minutes and refresh the page and give as a feedback Wink

Thank you it works now. But I'm a little bit confused why it's so that we need to change it to make it work. Is there a problem with Microwallet or only from my webhost?
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 04, 2014, 11:31:20 AM
 #462

Thank you it works now. But I'm a little bit confused why it's so that we need to change it to make it work. Is there a problem with Microwallet or only from my webhost?

For some reason your web hosting is unable to get the IP by name (it may be firewall or dns caching issue).

Create php file "mw-ip-test.php" and put the text below:

Code:
<?php

$ip 
gethostbyname('www.microwallet.org');
echo 
$ip;

echo 
'<br />';

$ip gethostbyname('www.microwallet.org.');
echo 
$ip;

?>


It works for me: http://bit.makejar.com/mw-ip-test.php

If it does not output any IP address (or wrong one) for you then contact your hosting sending them a link to this file on your hosting. They should be smart enough to fix the issue  Roll Eyes
BitcoinFuture99
Member
**
Offline Offline

Activity: 120
Merit: 10


View Profile
November 04, 2014, 12:42:03 PM
 #463

Thank you it works now. But I'm a little bit confused why it's so that we need to change it to make it work. Is there a problem with Microwallet or only from my webhost?

For some reason your web hosting is unable to get the IP by name (it may be firewall or dns caching issue).

Create php file "mw-ip-test.php" and put the text below:

Code:
<?php

$ip 
gethostbyname('www.microwallet.org');
echo 
$ip;

echo 
'<br />';

$ip gethostbyname('www.microwallet.org.');
echo 
$ip;

?>


It works for me: http://bit.makejar.com/mw-ip-test.php

If it does not output any IP address (or wrong one) for you then contact your hosting sending them a link to this file on your hosting. They should be smart enough to fix the issue  Roll Eyes
It Outputs the IP
But still Showing "Unknown error" also your Microwallet index.php fsockopen PHP function IP tip not works for me.

Thanks for helping us. I contacted hosting provider they told me to change the PHP version I checked it with all versions upto latest from 5.2 to 5.6
But not working and now Hosting provider not answering.
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 04, 2014, 12:55:36 PM
 #464

It Outputs the IP
But still Showing "Unknown error" also your Microwallet index.php fsockopen PHP function IP tip not works for me.

Thanks for helping us. I contacted hosting provider they told me to change the PHP version I checked it with all versions upto latest from 5.2 to 5.6
But not working and now Hosting provider not answering.

Your issue is different.

To make it little bit clear:

Find:

Code:
list($header, $response) = explode("\r\n\r\n", $response);

Add before:

Code:
$response_raw=$response;

Find:
Code:
'html' => '<div class="alert alert-danger">Unknown error.</div>',

Replace with:
Code:
//            'html' => '<div class="alert alert-danger">Unknown error.</div>',
            'html' => '<div class="alert alert-danger">Unknown error.'.$response_raw.'</div>',

And the next time you get "Unknown error." there should be some text. Make sure it does not contain your API key and paste it here.
BitcoinFuture99
Member
**
Offline Offline

Activity: 120
Merit: 10


View Profile
November 04, 2014, 12:58:46 PM
 #465

Thank you it works now. But I'm a little bit confused why it's so that we need to change it to make it work. Is there a problem with Microwallet or only from my webhost?

For some reason your web hosting is unable to get the IP by name (it may be firewall or dns caching issue).

Create php file "mw-ip-test.php" and put the text below:

Code:
<?php

$ip 
gethostbyname('www.microwallet.org');
echo 
$ip;

echo 
'<br />';

$ip gethostbyname('www.microwallet.org.');
echo 
$ip;

?>


It works for me: http://bit.makejar.com/mw-ip-test.php

If it does not output any IP address (or wrong one) for you then contact your hosting sending them a link to this file on your hosting. They should be smart enough to fix the issue  Roll Eyes



Also please describe this to me when I run this code it redirects me to cloudflare spam filter captcha

Code:
<?php
$fp 
fsockopen("www.microwallet.org"80$errno$errstr30);
if (!
$fp) {
    echo 
"$errstr ($errno)<br />\n";
} else {
    
$out "GET / HTTP/1.1\r\n";
    
$out .= "Host: www.microwallet.org\r\n";
    
$out .= "Connection: Close\r\n\r\n";
    
fwrite($fp$out);
    while (!
feof($fp)) {
        echo 
fgets($fp128);
    }
    
fclose($fp);
}
?>

I think cloudflare does not allow me to access microwallet
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 04, 2014, 01:05:37 PM
 #466

Thank you it works now. But I'm a little bit confused why it's so that we need to change it to make it work. Is there a problem with Microwallet or only from my webhost?

For some reason your web hosting is unable to get the IP by name (it may be firewall or dns caching issue).

Create php file "mw-ip-test.php" and put the text below:

Code:
<?php

$ip 
gethostbyname('www.microwallet.org');
echo 
$ip;

echo 
'<br />';

$ip gethostbyname('www.microwallet.org.');
echo 
$ip;

?>


It works for me: http://bit.makejar.com/mw-ip-test.php

If it does not output any IP address (or wrong one) for you then contact your hosting sending them a link to this file on your hosting. They should be smart enough to fix the issue  Roll Eyes



Also please describe this to me when I run this code it redirects me to cloudflare spam filter captcha

Code:
<?php
$fp 
fsockopen("www.microwallet.org"80$errno$errstr30);
if (!
$fp) {
    echo 
"$errstr ($errno)<br />\n";
} else {
    
$out "GET / HTTP/1.1\r\n";
    
$out .= "Host: www.microwallet.org\r\n";
    
$out .= "Connection: Close\r\n\r\n";
    
fwrite($fp$out);
    while (!
feof($fp)) {
        echo 
fgets($fp128);
    }
    
fclose($fp);
}
?>

I think cloudflare does not allow me to access microwallet

What you try to obtain downloading the microwallet's home page using http (port 80)?
BitcoinFuture99
Member
**
Offline Offline

Activity: 120
Merit: 10


View Profile
November 04, 2014, 01:08:29 PM
 #467

Thank you it works now. But I'm a little bit confused why it's so that we need to change it to make it work. Is there a problem with Microwallet or only from my webhost?

For some reason your web hosting is unable to get the IP by name (it may be firewall or dns caching issue).

Create php file "mw-ip-test.php" and put the text below:

Code:
<?php

$ip 
gethostbyname('www.microwallet.org');
echo 
$ip;

echo 
'<br />';

$ip gethostbyname('www.microwallet.org.');
echo 
$ip;

?>


It works for me: http://bit.makejar.com/mw-ip-test.php

If it does not output any IP address (or wrong one) for you then contact your hosting sending them a link to this file on your hosting. They should be smart enough to fix the issue  Roll Eyes



Also please describe this to me when I run this code it redirects me to cloudflare spam filter captcha

Code:
<?php
$fp 
fsockopen("www.microwallet.org"80$errno$errstr30);
if (!
$fp) {
    echo 
"$errstr ($errno)<br />\n";
} else {
    
$out "GET / HTTP/1.1\r\n";
    
$out .= "Host: www.microwallet.org\r\n";
    
$out .= "Connection: Close\r\n\r\n";
    
fwrite($fp$out);
    while (!
feof($fp)) {
        echo 
fgets($fp128);
    }
    
fclose($fp);
}
?>

I think cloudflare does not allow me to access microwallet

What you try to obtain downloading the microwallet's home page using http (port 80)?

It was for testing and also your tip gives me the same Cloudflare Spam filter

here is the output of your method

Code:
Unknown error.HTTP/1.1 403 Forbidden Server: cloudflare-nginx Date: Tue, 04 Nov 2014 13:04:34 GMT Content-Type: text/html; charset=UTF-8 Connection: close Set-Cookie: __cfduid=##############; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.microwallet.org; HttpOnly Cache-Control: max-age=2 Expires: Tue, 04 Nov 2014 13:04:36 GMT CF-RAY: ######-DFW
Please enable cookies.
One more step
Please complete the security check to access www.microwallet.org

Refresh Announce Info
reCAPTCHA challenge image
Enter above text  Leave a message for the site owner? (100 characters left)
Submit
Why do I have to complete a CAPTCHA?
Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

What can I do to prevent this in the future?
If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.

If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.

CloudFlare Ray ID:  • Your IP: ####### • Performance & security by CloudFlare
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 04, 2014, 01:14:29 PM
 #468

For some season you probably got in their blacklist. I would suggesting contacting microwallet's owner ... but you know he is busy man.

Maybe changing the host/ip would do the job.
f4t4l
Full Member
***
Offline Offline

Activity: 200
Merit: 100


Presale Starting May 1st


View Profile
November 04, 2014, 01:18:41 PM
 #469

News from MW Admin:
Q: Is Microwallet closing? A: No.
Q: Is there a problem with the withdrawals? A: The issue caused by a bug in the Blockchain.info API. We will deploy the workaround today and after that everything back to normal.

BitcoinFuture99
Member
**
Offline Offline

Activity: 120
Merit: 10


View Profile
November 04, 2014, 01:19:19 PM
 #470

For some season you probably got in their blacklist. I would suggesting contacting microwallet's owner ... but you know he is busy man.

Maybe changing the host/ip would do the job.

Who could have blacklisted me Cloudflare or Microwallet

Also I have shared IP that may be the cause of spam.
I had to Buy Dedicated IP now.

Is there any way to contact cloudflare to remove it from Blacklist
BitcoinFuture99
Member
**
Offline Offline

Activity: 120
Merit: 10


View Profile
November 04, 2014, 01:22:09 PM
 #471

News from MW Admin:
Q: Is Microwallet closing? A: No.
Q: Is there a problem with the withdrawals? A: The issue caused by a bug in the Blockchain.info API. We will deploy the workaround today and after that everything back to normal.

What MW admin told about the Error Showing no balance and Claiming problem due to IP
Bitcoin Hunters
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
November 04, 2014, 01:25:34 PM
 #472

Thank you it works now. But I'm a little bit confused why it's so that we need to change it to make it work. Is there a problem with Microwallet or only from my webhost?

For some reason your web hosting is unable to get the IP by name (it may be firewall or dns caching issue).

Create php file "mw-ip-test.php" and put the text below:

Code:
<?php

$ip 
gethostbyname('www.microwallet.org');
echo 
$ip;

echo 
'<br />';

$ip gethostbyname('www.microwallet.org.');
echo 
$ip;

?>


It works for me: http://bit.makejar.com/mw-ip-test.php

If it does not output any IP address (or wrong one) for you then contact your hosting sending them a link to this file on your hosting. They should be smart enough to fix the issue  Roll Eyes
For me it works as well: http://bitcoinhunters.net/mw-ip-test.php
I think MW has problems.
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 04, 2014, 02:05:04 PM
Last edit: November 04, 2014, 02:59:49 PM by NeedIfFindIt
 #473

For me it works as well: http://bitcoinhunters.net/mw-ip-test.php
I think MW has problems.

This is interesting.

So maybe the fsockopen is us using some type of DNS caching etc. Because getting the address with gethostbyname is slow anyway.

I mean:
Code:
$fp = @fsockopen('ssl://'.gethostbyname('www.microwallet.org'), 443);
is probably a mistake.

Maybe fsockopen is trying to use ipv6 instead of ipv4. Or issue with the openssl version.

Sorry I'm just a PHP coder, not a sysadmin etc. And it does not bug for me so don't have a playground to test what is wrong.

Maybe it is time to replace the fsockopen with curl functions. But I don't know if it will work for you either.
ryukamiho
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
November 04, 2014, 02:23:36 PM
 #474

microwallet seems to working normal for me.

and faucets working good too o.o

DISCIPLINA — The First Blockchain For HR & Education
From core developers of Cardano, PoS minting, unique Web Of Trust & Privacy algorithms. Be the first, join us!
  WEBSITE  TELEGRAM  ANN  BOUNTY  LINKEDIN  WHITEPAPER  Referral Program 5%
BitcoinFuture99
Member
**
Offline Offline

Activity: 120
Merit: 10


View Profile
November 04, 2014, 02:50:06 PM
 #475

I think and I Tested that
Microwallet.org using Cloudflare with extreme Protection which is causing for shared IPs to first pass the Cloudflare Captcha. and thats why API not connecting to Microwallet.org
Bitcoin Hunters
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
November 04, 2014, 03:35:18 PM
 #476

For me it works as well: http://bitcoinhunters.net/mw-ip-test.php
I think MW has problems.

This is interesting.

So maybe the fsockopen is us using some type of DNS caching etc. Because getting the address with gethostbyname is slow anyway.

I mean:
Code:
$fp = @fsockopen('ssl://'.gethostbyname('www.microwallet.org'), 443);
is a mistake.

Sorry I'm just a PHP coder, not a sysadmin etc. And it does not bug for me so don't have a playground to test what is wrong.

Maybe it is time to replace the fsockopen with curl functions. But I don't know if it will work for you either.
Thanks for your help I really appreciate it. The problem here is that I had no balance issue before the last DDoS attack. That's why I'm confused. We'll see if the admin will give an answer to this problem.
sevenz
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
November 04, 2014, 03:36:01 PM
 #477


Since the last DDoS attack the faucet balance on my website shows N/A. I have tried to change the API but that didn't work. Anyone have the same problem as me?

Have you tried this:
https://bitcointalk.org/index.php?topic=348060.msg9423766#msg9423766
Yes, I have tried it yet. Still the same problem.

Me too. I was not sure if this was an issue on my personal end, or if it was a universal issue. I just did my first depo into my faucet, and in MW it shows as recieved and credited...but on my faucet the balance reads N/A and if I claim coin it says fail to send. Will this clear up by itself...or is there something we will have to code into our faucet to make it work and show up? Thanks
BitcoinFuture99
Member
**
Offline Offline

Activity: 120
Merit: 10


View Profile
November 04, 2014, 03:48:15 PM
 #478


Since the last DDoS attack the faucet balance on my website shows N/A. I have tried to change the API but that didn't work. Anyone have the same problem as me?

Have you tried this:
https://bitcointalk.org/index.php?topic=348060.msg9423766#msg9423766
Yes, I have tried it yet. Still the same problem.

Me too. I was not sure if this was an issue on my personal end, or if it was a universal issue. I just did my first depo into my faucet, and in MW it shows as recieved and credited...but on my faucet the balance reads N/A and if I claim coin it says fail to send. Will this clear up by itself...or is there something we will have to code into our faucet to make it work and show up? Thanks

Actually we need to Tell MW admin to include our IPs into Trusted List in Cloudflare, after then our APIs will work like before. Cloudflare blocked direct access to some IPs.

in  https://www.cloudflare.com/threat-control
Superhitech
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile
November 04, 2014, 04:01:01 PM
 #479

Has the faucet balance issue solved yet? Are people still using it as normal? Is it only some people who have the problem?
sevenz
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
November 04, 2014, 04:05:04 PM
 #480

I don't have cloudflare, i have godaddy hosting.
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!