404 and timeout errors on dnf update

Updating and downloading repositories:
Fedora 42 openh264 (From Cisco) - x86_64 100% | 1.7 KiB/s | 2.0 KiB | 00m01s

Status code: 404 for https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/repomd.xml (IP: 3.8.95.119) - https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/repomd.xml - repomd.xml
Status code: 404 for https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/repomd.xml (IP: 3.8.95.119) - https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/repomd.xml - repomd.xml
Status code: 404 for https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/repomd.xml (IP: 3.8.95.119) - https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/repomd.xml - repomd.xml
Status code: 404 for https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/repomd.xml (IP: 3.8.95.119) - https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/repomd.xml - repomd.xml
Ошибка Librepo: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Fedora 42 - x86_64 - Updates 100% | 5.3 MiB/s | 6.3 MiB | 00m01s
Copr repo for PyCharm owned by phracek 100% | 10.2 KiB/s | 4.3 KiB | 00m00s
google-chrome 100% | 10.4 KiB/s | 3.3 KiB | 00m00s
RPM Fusion for Fedora 42 - Nonfree - NVIDIA Driver 100% | 35.4 KiB/s | 17.7 KiB | 00m00s
Fedora 42 - x86_64 100% | 7.2 MiB/s | 35.3 MiB | 00m05s
RPM Fusion for Fedora 42 - Nonfree - Steam 100% | 27.5 KiB/s | 13.4 KiB | 00m00s
Репозитории загружены.
Нечего делать.

and the second attempt $ sudo dnf up:

Updating and downloading repositories:
Fedora 42 openh264 (From Cisco) - x86_64 100% | 19.0 B/s | 4.5 KiB | 04m03s

Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-42&arch=x86_64 [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds] - https://mirrors.fedoraproject.org/metalink?
Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-42&arch=x86_64 [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds] - https://mirrors.fedoraproject.org/metalink?
Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-42&arch=x86_64 [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds] - https://mirrors.fedoraproject.org/metalink?
Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-42&arch=x86_64 [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds] - https://mirrors.fedoraproject.org/metalink?
Curl error (28): Timeout was reached for https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/3d50825fb25440abc9579f078205d6ba3590b1d146187af8179eb43214c8b40e-comps-Temporary.x86_64.xml.gz [Operation too slow. Less than 1000 bytes/sec tran
Curl error (28): Timeout was reached for https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/3d50825fb25440abc9579f078205d6ba3590b1d146187af8179eb43214c8b40e-comps-Temporary.x86_64.xml.gz [Operation too slow. Less than 1000 bytes/sec tran
Curl error (28): Timeout was reached for https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/3d50825fb25440abc9579f078205d6ba3590b1d146187af8179eb43214c8b40e-comps-Temporary.x86_64.xml.gz [Operation too slow. Less than 1000 bytes/sec tran
Curl error (28): Timeout was reached for https://codecs.fedoraproject.org/openh264/42/x86_64/os/repodata/3d50825fb25440abc9579f078205d6ba3590b1d146187af8179eb43214c8b40e-comps-Temporary.x86_64.xml.gz [Operation too slow. Less than 1000 bytes/sec tran
Ошибка Librepo: Yum repo downloading error: Downloading error(s): repodata/3d50825fb25440abc9579f078205d6ba3590b1d146187af8179eb43214c8b40e-comps-Temporary.x86_64.xml.gz - Cannot download, all mirrors were already tried without success

can you confirm your internet connection is generally working fine?

run sudo dnf clean all followed by another sudo dnf update and report back.

404 errors on dnf update are quite common, and is not always a problem. The dnf program will just try the next mirror. If all the mirrors fail, dnf will tell you by displaying something like “All mirrors tried” or something similar.

It seems that these errors are happening more often at some time of day, say about 06:00 UTC time.

1 Like

It is obvious that this is a problem with the mirror located near you. Only Fedora can solve this problem

the internet works fine, that’s the first thing I checked

Had a similar issue and resolved it my editing the repo file in /etc/yum.repos.d

grep openh264 /etc/yum.repos.d/*
# this returned /etc/yum.repos.d/fedora-cisco-openh264.repo: ....
# noticed an extra ../os/ at end of line, so I removed it

looks like the file got updated April 2024

build@myserver:~$ ls -l /etc/yum.repos.d/fedora-cisco-openh264.repo*
-rw-r--r--. 1 root root  905 Aug 27 10:10 /etc/yum.repos.d/fedora-cisco-openh264.repo
-rw-r--r--. 1 root root 1102 Apr  6  2024 /etc/yum.repos.d/fedora-cisco-openh264.repo.rpmnew

Hope this helps others with this issue

Is this what reddit.com/r/Fedora/comments/1omeya7/comment/nniiizn describes? In retrospect:

@vgaetera, perhaps true, although GBR appears to be blocked, too! However, if their repository really is so non-standard, I’d appreciate if you could report it to them so that I can narrow-down the fault.