Re: CURL cannot connect to URL - IP address - after successful connection
| From: | ioannes@btinternet.com | Date: | Thu, 29 Apr 2010 08:11:14 +0000 |
| Subject: | Re: CURL cannot connect to URL - IP address - after successful connection | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304755@lists.php.net to get a copy of this message | ||
On 2010/04/29 19:46, Gary . wrote:
On 4/25/10, ioannes@btinternet.com wrote:Is that debug_backtrace() in php, as I am not using the command line (can't work out how to get the window up having downloaded curl, I am not up to 'building libraries' that seems to be needed). debug_backtrace() does not give any useful information other than saying the target link fails to connect (this is after it connects once, and then on refresh and for several hours does not connect). I guess there is some program that notes the calling IP address and if it is in a range it does not like, adds it to a list and refuses subsequent connections to the same address for a while. Cookies are not required when using the browser directly. JohnI can return a target page - once, but then on refresh within a few hours the script curl_error is that it cannot connect to the host and return is empty.Failed to connect to host is a pretty strange error if they're doing anything regarding cookies and so on, IMO - I think I'd expect at least a connection to be established before they decide they don't like you. Have you used curl's --trace& --trace-ascii options?