curl / Mailing Lists / curl-users / Single Mail


Re: curl: (28) Operation timed out

From: Gerard Seibert <>
Date: Sun, 22 Apr 2018 12:13:18 +0000

On Sat, 21 Apr 2018 14:04:50 -0400, Ray Satiro stated:

>On 4/21/2018 7:55 AM, Gerard Seibert wrote:
>> I don't know if this is the best place to ask this, but I might as well
>> start somewhere.
>> On a FreeBSD -11.1 amd64 machine, I am running a script from:
>> that causes the following error message to be displayed:
>> curl: (28) Operation timed out after 180000 milliseconds with 64251250 out
>> of 304224491 bytes received
>> The rest of the script works fine. I have tried running the script at
>> different times, all with the same results. I am not sure what the problem
>> is or how to correct it. I am hoping that someone can assist me.
>That script sets the default maximum transfer time to 180 seconds
>[1][2][3]. If the transfer takes longer than that it fails. That is too
>short an amount of time to set as the default. In my opinion it rarely
>makes sense to set that option. If you know the bandwidth and the size
>of the file you are downloading even then it would need to be a very
>high number to account for any possible network conditions. In this case
>it looks like neither is known. I suggest change it to 0 in the conf to
>disable and open an issue in their repo to discuss this with them.

Thanks, that fixed it. I will open a PR with them regarding the problem.

Received on 2018-04-22