cURL / Mailing Lists / curl-library / Single Mail


download big request (GET), if longer then 5:00, it fails.. (i have all timeouts set much higher I think?)

From: Ferraro, Drew (Hidden) <>
Date: Fri, 22 Oct 2010 10:59:17 -0400

I'm using curl in some perl code to download a report in PDF format from a reporting server (OBIEE)

If report is smaller, it works fine. But if its larger, it fails, always, at exactly 5 minutes. I have been researching the documentation for ages and cannot find why its 5:00 which then makes it give up with a 502 Proxy Error... How do I increase this time limit?

I have set connect timeout, transfer timeout, etc etc... all set to 45 minutes; still, always happens at 5:00..

exec curl --include -verbose --connect-timeout 2700 --max-time 2700 --proxy-anyauth --no-buffer --compressed --no-sessionid --cookie-jar cookies.txt --cookie cookies.txt --cookie dwchcookie=dwhcookie --anyauth --user-agent Mozilla/5.0 --output output6020.html --url http://foo --referer

* Connected to ( port 80 (#0)
> User-Agent: Mozilla/5.0
> Host:
> Accept: */*
> Accept-Encoding: deflate, gzip
> Referer: barbaz
> Cookie: SMSESSION=blahblahblah; dwchcookie=dwhcookie
  0 0 0 0 0 0 0 0 --:--:-- 0:05:00 --:--:-- 0< HTTP/1.1 502 Proxy Error

What is this 5:00 timer, and how do I stop it? Please help, this is driving me crazy! Downloading the large report from internet explorer manually works fine!!! Why can't I curl this report??? (same report with different parameters (which have smaller resultset works fine!!))

Thanks so much!


Disclaimer link. To see it, click the link below, or copy and paste it into your browser's address line.

List admin:
Received on 2010-10-22