curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: working around status code 429

From: Dirk Hünniger via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 25 Jan 2024 11:10:54 +0100

Hi Ray,

I attached the output of

curl --retry 30 -v -w "%{http_code} %{url} %{filename_effective}\n"
--compressed -K ./curlrun1 --parallel -L > out 2>&1

but the file is so large that I cannot really work with well it in gedit.

Yours Dirk


On 25.01.24 00:48, Ray Satiro via curl-users wrote:
> On 1/24/2024 6:13 PM, Daniel Stenberg via curl-users wrote:
>> On Wed, 24 Jan 2024, Dirk Hünniger wrote:
>>
>>> I got a simplified test case:
>>
>> It is rare to see "a simplified test case" with a 16,000 line config
>> file fetching 8,000 files.
>>
>> Sorry, but I don't know what to do with that.
>
>
> I tried it several times but I can't reproduce a 429. The way the
> retry code is written it should retry those transfers if no curl error
> occurred. For example a curl error could occur if the output path
> /tmp/MediaWiki2LaTeXImages-3943f5a7379c6219/ does not exist at the
> time the output file is opened.
>
> Run curl in verbose mode (curl -v) and save the output (1>out 2>&1)
> and search for 'retry' and '429' and maybe there is something in the
> verbose output that would indicate what happened.
>
>

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
  • application/x-7z-compressed attachment: out.7z
Received on 2024-01-25