You are not logged in.

#1 2013-05-03 2:33 pm

pedigree
uıɐbɐ ʎɐqǝ ɯoɹɟ pɹɐoqʎǝʞ ɐ buıʎnq ɹǝʌǝu ɯ,ı
From: New Zealand
Registered: 2008-04-16
Posts: 7,071

Is your site inable to access the API

WIP -  I'll update the rest of this shortly.

This could be for a couple of reasons.

1. Your site doesn't allow you to make HTTP connections.

2. Your site has been abusive and has been blocked

Some hosts/providers will transparently proxy your requests so that their entire estate appears to us as a single IP address.  This is often the case for providers in Indonesia and Singapore and is the case for the following large US providers

- Rackspace

These providers grab the outgoing HTTP (port 80) connection and move it via their proxy servers.  There is little that we can do to stop this but we can help in trying to bypass them doing this.  Some changes to the way that you query the API will have to be made.  What can be done is that you can query the following mirror server on different ports

us.stopforumspam.org (based in the USA on Dreamhost) listens for
- HTTP connections on port 80, 81 & 7777
- HTTPS connections on port 443 & 4443

The HTTPS server uses a self signed certificate.  file_get_contents() in PHP will automatically accept the certificate but curl will require configuration to accept it.  The curl parameters below should do this.

curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0 );
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE); 

Offline

Board footer

Powered by FluxBB

Close
Close