Closed lrvick closed 8 months ago
Does setting the header "User-Agent": "curl/7.88.1" in generator.sh solve this for you?
My current running theory is that savannah is throttling downloads with a "requests" user agent, thinking it's a bot. Unfortunately we can't just use a browser-like user agent (e.g. emulating Firefox), because then SourceForge redirects downloads to a splash page.
This has been a consistent problem for me for a long time and the solution suggested by @Googulator works for me. PR forthcoming.
I have been trying to get the chroot process to work, and among other issues, when cleaning and starting from 0, downloads often fail repeatedly, but only in the python downloader, and not wget.
Example:
I adjusted the downloader to log the URL to make manual downloads easier.
I can in fact go to a shell and download it without issue:
Re-running the python downloader, and same issue. No idea what they are doing so differently.
Manually downloading with wget when this happens and moving the file to distfiles is how I am able to make progress at the moment.
Not a hard blocker, but frustrating and wanted to flag it as an issue.
Running Python 3.11.2 from Debian 12 running under QubesOS 4.1
This only seems to happen to downloads on
download.savannah.gnu.org
All others work as expected.