curl-users
Re: curl: (28) Operation timed out
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:
>> https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fextremeshok%2Fclamav-unofficial-sigs&data=02%7C01%7C%7C1239dd10151c48a85b0d08d5a7b348ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636599310809661345&sdata=Z3pix%2F8LIYQnJuvHLobeHYjrvnIdggxuv%2B0wNLL9idg%3D&reserved=0
>> 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.
>
>[1]:
>https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fextremeshok%2Fclamav-unofficial-sigs%2Fblob%2Fmaster%2Fconfig%2Fmaster.conf%23L438&data=02%7C01%7C%7C1239dd10151c48a85b0d08d5a7b348ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636599310809661345&sdata=iixS3CYAwdj4umXF6u7a3cskLUwYLN2gAv834WhbeuE%3D&reserved=0
>[2]:
>https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fextremeshok%2Fclamav-unofficial-sigs%2Fblob%2Fmaster%2Fclamav-unofficial-sigs.sh%23L292&data=02%7C01%7C%7C1239dd10151c48a85b0d08d5a7b348ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636599310809661345&sdata=WS0YjOO3wxmFOgAcvUiWVOTGBtkB37Np1f3a0ypSzN8%3D&reserved=0
>[3]:
>https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcurl.haxx.se%2Fdocs%2Fmanpage.html%23-m&data=02%7C01%7C%7C1239dd10151c48a85b0d08d5a7b348ac%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636599310809661345&sdata=PTxtCzdGLJVzUipem2uWe91DWmm2WBYHN9yJDsGDWnI%3D&reserved=0
Thanks, that fixed it. I will open a PR with them regarding the problem.
-- Gerard ----------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2018-04-22