I have being trying to update my from the repository today and i am getting curl 28 back.
I first checked the firewall, then i made sure i can resolve the dns i.e.
[root@localhost ~]# yum update
Rocky Linux 8 - AppStream 0.0 B/s | 0 B 06:00
Errors during downloading metadata for repository 'appstream':
- Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-8 [Connection timed out after 30000 milliseconds]
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-8 [Connection timed out after 30000 milliseconds]
then i try to make sure that my dns is working i.e.
dig mirrors.rockylinux.org @10.192.12.251
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.7 <<>> mirrors.rockylinux.org @10.192.12.251
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65152
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;mirrors.rockylinux.org. IN A
;; ANSWER SECTION:
mirrors.rockylinux.org. 279 IN CNAME dualstack.dl.map.rockylinux.org.
dualstack.dl.map.rockylinux.org. 279 IN CNAME rockylinux.map.fastly.net.
rockylinux.map.fastly.net. 9 IN A 151.101.114.132
;; Query time: 1 msec
;; SERVER: 10.192.12.251#53(10.192.12.251)
;; WHEN: Di Nov 23 21:53:05 CET 2021
;; MSG SIZE rcvd: 137
then ping
[root@localhost certs]# ping 151.101.114.132
PING 151.101.114.132 (151.101.114.132) 56(84) bytes of data.
64 bytes from 151.101.114.132: icmp_seq=1 ttl=61 time=10.7 ms
64 bytes from 151.101.114.132: icmp_seq=2 ttl=61 time=1.61 ms
no matter what i try i.e. sudo dnf update or yum update nothing works. I even change my dns to 9.9.9.9 to try it but sill no luck.
the trace shows only retransmission’s but i do not understand why. My firewall pfsense does not block the ip 151.101.114.132 , i have validated that.
Any ideas are really appreciated