fedora-infra / mirrormanager2

Rewrite of the MirrorManager application in Flask and SQLAlchemy
https://mirrormanager.fedoraproject.org
GNU General Public License v2.0
65 stars 49 forks source link

curl timeout on dnf on fedora 32 x64: "error: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f32&arch=x86_64 [Connection timed out after 30001 milliseconds] (https://mirrors.fedoraproject.org/metalink?repo=updates-released-f32&arch=x86_64)." #283

Closed shlomif closed 4 years ago

shlomif commented 4 years ago

When running dnf --color=never -y upgrade --refresh -vvvvvvvvvvvvv I am getting curl timeouts with dnf on fedora32 x64. Accessing https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64 in firefox is very quick. Please look into fixing it:

Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.2.21
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (Fedora 32; workstation; Linux.x86_64)'
Copr repo for dotnet owned by @dotnet-sig       5.5 kB/s | 3.3 kB     00:00    
reviving: 'copr:copr.fedorainfracloud.org:group_dotnet-sig:dotnet' can be revived - repomd matches.
copr:copr.fedorainfracloud.org:group_dotnet-sig:dotnet: using metadata from Sun 26 Apr 2020 12:54:46 PM IDT.
Copr repo for pamixer owned by opuk             5.4 kB/s | 3.3 kB     00:00    
reviving: 'copr:copr.fedorainfracloud.org:opuk:pamixer' can be revived - repomd matches.
copr:copr.fedorainfracloud.org:opuk:pamixer: using metadata from Sun 26 Apr 2020 08:52:12 AM IDT.
Fedora 32 openh264 (From Cisco) - x86_64        1.1 kB/s | 986  B     00:00    
reviving: 'fedora-cisco-openh264' can be revived - metalink checksums match.
fedora-cisco-openh264: using metadata from Tue 17 Mar 2020 10:10:45 PM IST.
countme: no event for fedora-modular: window already counted
Fedora Modular 32 - x86_64                       12 kB/s |  18 kB     00:01    
reviving: 'fedora-modular' can be revived - metalink checksums match.
fedora-modular: using metadata from Fri 24 Apr 2020 12:32:34 PM IDT.
countme: no event for updates-modular: window already counted
Fedora Modular 32 - x86_64 - Updates             18 kB/s |  21 kB     00:01    
reviving: 'updates-modular' can be revived - metalink checksums match.
updates-modular: using metadata from Sat 25 Apr 2020 07:39:30 AM IDT.
countme: no event for updates-testing: window already counted
Fedora 32 - x86_64 - Test Updates                19 kB/s |  16 kB     00:00    
reviving: 'updates-testing' can be revived - metalink checksums match.
updates-testing: using metadata from Sun 26 Apr 2020 07:02:55 AM IDT.
countme: no event for updates: window already counted
Fedora 32 - x86_64 - Updates                     15 kB/s |  18 kB     00:01    
reviving: failed for 'updates', mismatched sha256 sum.
repo: downloading from remote: updates
countme: no event for updates: window already counted
error: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f32&arch=x86_64 [Connection timed out after 30001 milliseconds] (https://mirrors.fedoraproject.org/metalink?repo=updates-released-f32&arch=x86_64).
error: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f32&arch=x86_64 [Connection timed out after 30000 milliseconds] (https://mirrors.fedoraproject.org/metalink?repo=updates-released-f32&arch=x86_64).
Fedora 32 - x86_64 - Updates                    6.8 kB/s | 423 kB     01:02    
updates: using metadata from Sat 25 Apr 2020 04:44:51 AM IDT.
countme: no event for fedora: window already counted
error: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-32&arch=x86_64 [Connection timed out after 30001 milliseconds] (https://mirrors.fedoraproject.org/metalink?repo=fedora-32&arch=x86_64).
error: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-32&arch=x86_64 [Connection timed out after 30001 milliseconds] (https://mirrors.fedoraproject.org/metalink?repo=fedora-32&arch=x86_64).
Fedora 32 - x86_64                              315  B/s |  19 kB     01:00    
reviving: 'fedora' can be revived - metalink checksums match.
fedora: using metadata from Fri 24 Apr 2020 02:00:23 PM IDT.
RPM Fusion for Fedora 32 - Free - Updates       301  B/s | 3.1 kB     00:10    
reviving: 'rpmfusion-free-updates' can be revived - metalink checksums match.
rpmfusion-free-updates: using metadata from Sat 25 Apr 2020 01:02:23 PM IDT.
RPM Fusion for Fedora 32 - Free                  11 kB/s | 3.3 kB     00:00    
reviving: 'rpmfusion-free' can be revived - metalink checksums match.
rpmfusion-free: using metadata from Fri 24 Apr 2020 08:27:23 PM IDT.
RPM Fusion for Fedora 32 - Nonfree - Updates     17 kB/s |  14 kB     00:00    
reviving: 'rpmfusion-nonfree-updates' can be revived - metalink checksums match.
rpmfusion-nonfree-updates: using metadata from Sat 25 Apr 2020 01:02:32 PM IDT.
RPM Fusion for Fedora 32 - Nonfree               45 kB/s |  16 kB     00:00    
reviving: 'rpmfusion-nonfree' can be revived - metalink checksums match.
rpmfusion-nonfree: using metadata from Fri 24 Apr 2020 08:52:12 PM IDT.
gitlab.com_paulcarroty_vscodium_repo            1.9 kB/s | 866  B     00:00    
reviving: 'gitlab.com_paulcarroty_vscodium_repo' can be revived - repomd matches.
gitlab.com_paulcarroty_vscodium_repo: using metadata from Sun 26 Apr 2020 06:06:43 AM IDT.
Completion plugin: Generating completion cache...
--> Starting dependency resolution
--> Finished dependency resolution
Dependencies resolved.
Nothing to do.
Complete!
adrianreber commented 4 years ago

Thanks for the report, but this is the wrong place. This bug tracker is for upstream software bugs and you are hitting a bug in Fedora's instance of MirrorManager. So you should submit this bug at:

https://pagure.io/fedora-infrastructure/issues

It seems you are hitting one of the proxies which is somehow unreachable and without knowing which of the proxies it is hard to understand why it fails. It would be important to also have the IP address of the host that is timing out for you.

Closing this here and please reopen at https://pagure.io/fedora-infrastructure/issues