curl-library
download big request (GET), if longer then 5:00, it fails.. (i have all timeouts set much higher I think?)
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 http://foo.com?bar
* Connected to foo.com (209.87.108.103) port 80 (#0)
> GET fooREPORT HTTP/1.1
> User-Agent: Mozilla/5.0
> Host: bi.hidden.com
> 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!
Drew
Disclaimer link. To see it, click the link below, or copy and paste it into your browser's address line.
http://www.hidden.com/emaildisclaimer.htm
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-22