Author

Topic: Blockchain receive API and CloudFlare (Read 2768 times)

newbie
Activity: 25
Merit: 0
October 11, 2013, 03:51:01 AM
#8
I know, I double checked their address in Callback URL and the one in my files. Now also made that array with 4 more addresses which I used yesterday for testing and same results.
Why can't fire test callback also, related?

When you use the test callback what is the error given?

Now it's always "Invalid Server Response: Incorrect Receiving Address". Even when I test by myself and set GET parameter it's always the same no matter if really wrong address or not. I have no idea why is that... broken boolean lol. Also I have sent you codes on PM if you have time to check but there should be no problem because used fine on another server site.

Cloudflare blocks a lot of ports for security reasons. I haven't used blockchain APIs but have had to change ports to get through Cloudflare: http://blog.cloudflare.com/cloudflare-now-supporting-more-ports

My host fixed that problem but thanks for useful information Wink

EDIT: Remembered .htaccess........
member
Activity: 79
Merit: 10
October 10, 2013, 11:51:33 AM
#7
Cloudflare blocks a lot of ports for security reasons. I haven't used blockchain APIs but have had to change ports to get through Cloudflare: http://blog.cloudflare.com/cloudflare-now-supporting-more-ports
hero member
Activity: 910
Merit: 1005
October 10, 2013, 11:25:55 AM
#6
I know, I double checked their address in Callback URL and the one in my files. Now also made that array with 4 more addresses which I used yesterday for testing and same results.
Why can't fire test callback also, related?

When you use the test callback what is the error given?
newbie
Activity: 25
Merit: 0
October 10, 2013, 07:22:32 AM
#5
I know, I double checked their address in Callback URL and the one in my files. Now also made that array with 4 more addresses which I used yesterday for testing and same results.
Why can't fire test callback also, related?
hero member
Activity: 910
Merit: 1005
October 10, 2013, 06:39:15 AM
#4
For sure didn't exceeded limit... This is what I get on http://blockchain.info/api/api_receive while testing. Now my host has changed something (don't know what yet, I guess only enabled it from logs) and I am not  getting that error anymore.

..but on "Fire Test Callback" I do get this response: "Error Sending Notification". Check Callback Response Log: Incorrect Receiving Address (the one in their callback URL is same as in my files).

The thing is I am moving my website to another server and my code worked on previous server so I am not sure where is the problem. Money is being forwarded when paying on website but I can't debug why callback doesn't work..

"Incorrect Receiving Address" is an error generated by the php example (callback.php line 19).

Quote
if ($_GET['address'] != $my_bitcoin_address) {
   echo 'Incorrect Receiving Address';
  return;
}

If you have changed bitcoin addresses (or have multiple addresses) you will need to do something a long the lines of:

Quote
$my_addresses = array("1MyAddress", "1MySecondAddress");
if (!in_array($_GET['address'], $my_addresses)) {
   echo 'Incorrect Receiving Address';
  return;
}
newbie
Activity: 25
Merit: 0
October 10, 2013, 06:11:57 AM
#3
For sure didn't exceeded limit... This is what I get on http://blockchain.info/api/api_receive while testing. Now my host has changed something (don't know what yet, I guess only enabled it from logs) and I am not  getting that error anymore.

..but on "Fire Test Callback" I do get this response: "Error Sending Notification". Check Callback Response Log: Incorrect Receiving Address (the one in their callback URL is same as in my files).

The thing is I am moving my website to another server and my code worked on previous server so I am not sure where is the problem. Money is being forwarded when paying on website but I can't debug why callback doesn't work..
hero member
Activity: 910
Merit: 1005
October 09, 2013, 02:53:21 PM
#2
Anyone had problems with those two ? Getting this:

Error Response 403 body:
Error 1010
Access denied
What happened?

The owner of this website (site.com) has banned your access based on your browser's signature (xxx).


Is it possible to avoid it? I don't want to fully trigger off my cloudflare protection.
Thanks in advanced

Cloud you PM me your ip address.

You should normally only receive this error if you have vastly over exceeded the request limits.
newbie
Activity: 25
Merit: 0
October 09, 2013, 12:13:22 PM
#1
Anyone had problems with those two ? Getting this:

Error Response 403 body:
Error 1010
Access denied
What happened?

The owner of this website (site.com) has banned your access based on your browser's signature (xxx).


Is it possible to avoid it? I don't want to fully trigger off my cloudflare protection.
Thanks in advanced

Jump to: