-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
The SourceForge mirrors seem to be extremely slow or even totally unreachable. This makes UnitedRPMs slow down essentially all dnf operations.
It's been like this for a very long time. Years. I've held back on submitting an issue since it is not really an UnitedRPMs bug per se, but it makes having the UnitedRPMs repo enabled by default very painful. Perhaps it would be possible to find another mirror system.
For the record, I have a fast Internet connection (500Mbps FTTH), and all other DNF repos (both the upstream Fedora ones as well as multiple other third-party ones). It is only the UnitedRPMs repos that are slow.
A few examples from today:
curl simply getting a connect timeout
[:~] 35 $ curl --verbose --trace-time https://vorboss.dl.sourceforge.net/project/unitedrpms/31/x86_64/repodata/repomd.xml.asc
12:43:55.869747 * Trying 5.10.152.194:443...
12:43:55.870048 * TCP_NODELAY set
12:46:07.959269 * connect to 5.10.152.194 port 443 failed: Connection timed out
12:46:07.959462 * Failed to connect to vorboss.dl.sourceforge.net port 443: Connection timed out
12:46:07.959635 * Closing connection 0
curl: (7) Failed to connect to vorboss.dl.sourceforge.net port 443: Connection timed out
(I got this URL from a failing dnf command, for what it is worth.)
same command as above retried, but this time it eventually connected, but hit some other timeout
[:~] $ curl --verbose --trace-time https://vorboss.dl.sourceforge.net/project/unitedrpms/31/x86_64/repodata/repomd.xml.asc
12:40:32.915722 * Trying 5.10.152.194:443...
12:40:32.916334 * TCP_NODELAY set
12:41:04.900047 * Connected to vorboss.dl.sourceforge.net (5.10.152.194) port 443 (#0)
12:41:04.904025 * ALPN, offering h2
12:41:04.904140 * ALPN, offering http/1.1
12:41:04.931467 * successfully set certificate verify locations:
12:41:04.931653 * CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
12:41:04.932427 * TLSv1.3 (OUT), TLS handshake, Client hello (1):
12:42:18.626711 * OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to vorboss.dl.sourceforge.net:443
12:42:18.626927 * Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to vorboss.dl.sourceforge.net:443
dnf giving up on downloads because of transfer speed dropping below 1Kb/s
[:~] $ sudo dnf -d 10 --refresh --disablerepo='*' --enablerepo=unitedrpms update
[...]
Downloading Packages:
[MIRROR] chromium-freeworld-libs-81.0.4044.138-604.1.x86_64.rpm: Curl error (28): Timeout was reached for https://netcologne.dl.sourceforge.net/project/unitedrpms/31/x86_64/chromium-freeworld-libs-81.0.4044.138-604.1.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
[MIRROR] chromium-pepper-flash-32.0.0.371-2.fc31.x86_64.rpm: Curl error (28): Timeout was reached for https://netcologne.dl.sourceforge.net/project/unitedrpms/31/x86_64/chromium-pepper-flash-32.0.0.371-2.fc31.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
(1/4): chromium-freeworld-81.0.4044.138-604.1.x86_64.rpm 609 kB/s | 121 MB 03:23
(2/4): chromium-freeworld-libs-81.0.4044.138-604.1.x86_64.rpm 39 kB/s | 8.4 MB 03:43
(3/4): chromium-pepper-flash-32.0.0.371-2.fc31.x86_64.rpm 35 kB/s | 8.0 MB 03:52
(4/4): unitedrpms-31-16.fc31.noarch.rpm 1.6 kB/s | 11 kB 00:06
----------------------------------------------------------------------------------------------
Total 587 kB/s | 137 MB 03:59
[...]
dnf update with only unitedrpms repo enabled: timer: sack setup: 17664 ms
[:~] $ time sudo dnf -d 10 --refresh --disablerepo='*' --enablerepo=unitedrpms update
timer: config: 3 ms
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.2.21
Command: dnf -d 10 --refresh --disablerepo=* --enablerepo=unitedrpms update
Installroot: /
Releasever: 31
cachedir: /var/cache/dnf
Base command: update
Extra commands: ['-d', '10', '--refresh', '--disablerepo=*', '--enablerepo=unitedrpms', 'update']
User-Agent: constructed: 'libdnf (Fedora 31; generic; Linux.x86_64)'
unitedrpms 31 - x86_64 51 B/s | 870 B 00:17
reviving: 'unitedrpms' can be revived - repomd matches.
unitedrpms: using metadata from fr. 15. mai 2020 kl. 11.57 +0200.
timer: sack setup: 17664 ms
Completion plugin: Generating completion cache...
--> Starting dependency resolution
--> Finished dependency resolution
timer: depsolve: 39 ms
Dependencies resolved.
Nothing to do.
Complete!
Cleaning up.
real 0m18,107s
user 0m1,039s
sys 0m0,199s
compare the above with only the (much larger!) fedora repo enabled: timer: sack setup: 1900 ms
[:~] $ time sudo dnf -d 10 --refresh --disablerepo='*' --enablerepo=fedora update
timer: config: 2 ms
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.2.21
Command: dnf -d 10 --refresh --disablerepo=* --enablerepo=fedora update
Installroot: /
Releasever: 31
cachedir: /var/cache/dnf
Base command: update
Extra commands: ['-d', '10', '--refresh', '--disablerepo=*', '--enablerepo=fedora', 'update']
User-Agent: constructed: 'libdnf (Fedora 31; generic; Linux.x86_64)'
Fedora 31 - x86_64 46 kB/s | 25 kB 00:00
reviving: 'fedora' can be revived - metalink checksums match.
fedora: using metadata from to. 24. okt. 2019 kl. 00.52 +0200.
timer: sack setup: 1900 ms
Completion plugin: Generating completion cache...
--> Starting dependency resolution
--> Finished dependency resolution
timer: depsolve: 523 ms
Dependencies resolved.
Nothing to do.
Complete!
Cleaning up.
real 0m3,119s
user 0m2,277s
sys 0m0,246s
paulcarroty