Skip to content

Rocky Linux yum update failed

 Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/
[root@rocky ~]# yum update
Rocky Linux 9 - BaseOS                                                                                                                               0.0  B/s |   0  B     03:02
Errors during downloading metadata for repository 'baseos':
  - Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 [Failed to connect to mirrors.rockylinux.org port 443: Connection timed out]
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 [Failed to connect to mirrors.rockylinux.org port 443: Connection timed out]

Solution

  1. Stop the system firewall
`systemctl status firwalld

Comments