Hi CentOS maintainers,
In Hong Kong (HK) sometimes yum update would get "HTTP Error 503 - Service Unavailable", finally I found that running "yum -y update" after "Loading mirror speeds from cached hostfile", while yum selects a mirror " repo.virtualhosting.hk", 95% chance will get error 503.
How to duplicate problem: Since yum will select yum server from different mirror servers automatically, so I updated /etc/yum.repos.d/CentOS-Base.repo as below in order to force checking on "repo.virtualhosting.hk":
======================================================== [base] name=CentOS-$releasever - Base baseurl=http://repo.virtualhosting.hk/centos/7/os/x86_64/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[updates] name=CentOS-$releasever - Updates baseurl=http://repo.virtualhosting.hk/centos/7/os/x86_64/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[extras] name=CentOS-$releasever - Extras baseurl=http://repo.virtualhosting.hk/centos/7/os/x86_64/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[centosplus] name=CentOS-$releasever - Plus baseurl=http://repo.virtualhosting.hk/centos/7/os/x86_64/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 ========================================================
# yum -y update ... (10/366): avahi-libs-0.6.31-19.el7.x86_64.rpm | 61 kB 00:00:00 (11/366): apr-1.4.8-3.el7_4.1.x86_64.rpm | 103 kB 00:00:00 (12/366): bash-4.2.46-31.el7.x86_64.rpm | 1.0 MB 00:00:00 bind-libs-9.9.4-72.el7.x86_64. FAILED http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/bind-libs-9.9.4-72...: [Errno 14] HTTP Error 503 - Service Unavailable Trying other mirror. bind-libs-lite-9.9.4-72.el7.x8 FAILED http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/bind-libs-lite-9.9...: [Errno 14] HTTP Error 503 - Service Unavailable Trying other mirror. (13/366): bind-9.9.4-72.el7.x86_64.rpm | 1.8 MB 00:00:00 (14/366): MariaDB-10.1.38-centos73-x86_64-server.rpm | 104 MB 00:00:02 ...
However, if I try to manually update the failed package (e.g. bind-libs like above) by "yum -y update bind-libs" , it will be success. It means the package exists in mirror server repo.virtualhosting, however somehow the server limits the HTTP request and return error 503, can CentOS mirror admin inform this mirror admin to fix the problem?
Nethub Online - Ming kirjoitti 25.2.2019 klo 9.05:
However, if I try to manually update the failed package (e.g. bind-libs like above) by "yum -y update bind-libs" , it will be success. It means the package exists in mirror server repo.virtualhosting, however somehow the server limits the HTTP request and return error 503, can CentOS mirror admin inform this mirror admin to fix the problem?
I have sent a message to that mirror's contact email address. Maybe they can reply here.
Thanks Anssi,
It seems the problem persists, it is annoying and causing expected problem with automation while yum always got such problem. This mirror seems has limited the HTTP request and return error 503, could you remove this mirror in order to maintain a error free mirror environment?
Total download size: 193 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. acl-2.2.51-14.el7.x86_64.rpm FAILED http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/acl-2.2.51-14.el7....: [Errno 14] HTTP Error 503 - Service Unavailable 0% [ ] 0.0 B/s | 0 B --:--:-- ETA Trying other mirror. apr-1.4.8-3.el7_4.1.x86_64.rpm FAILED http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/apr-1.4.8-3.el7_4....: [Errno 14] HTTP Error 503 - Service Unavailable 0% [ ] 0.0 B/s | 0 B --:--:-- ETA Trying other mirror. (1/304): GeoIP-1.5.0-13.el7.x86_64.rpm | 1.5 MB 00:00:00 (2/304): apr-devel-1.4.8-3.el7_4.1.x86_64.rpm | 188 kB 00:00:00 (3/304): attr-2.4.46-13.el7.x86_64.rpm | 66 kB 00:00:00 (4/304): audit-libs-2.8.4-4.el7.x86_64.rpm
Nethub Online - Ming kirjoitti 25.2.2019 klo 9.05:
However, if I try to manually update the failed package (e.g. bind-libs like above) by "yum -y update bind-libs" , it will be success. It means the package exists in mirror server repo.virtualhosting, however
somehow
the server limits the HTTP request and return error 503, can CentOS mirror admin inform this mirror admin to fix the problem?
I have sent a message to that mirror's contact email address. Maybe they can reply here.
I have now disabled the mirror and sent a notice to the mirror admins. If they fix the problem I'll add them again.
Nethub Online - Ming kirjoitti 15.3.2019 klo 9.16:
Thanks Anssi,
It seems the problem persists, it is annoying and causing expected problem with automation while yum always got such problem. This mirror seems has limited the HTTP request and return error 503, could you remove this mirror in order to maintain a error free mirror environment?
Total download size: 193 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. acl-2.2.51-14.el7.x86_64.rpm FAILED http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/acl-2.2.51-14.el7....: [Errno 14] HTTP Error 503 - Service Unavailable 0% [ ] 0.0 B/s | 0 B --:--:-- ETA Trying other mirror. apr-1.4.8-3.el7_4.1.x86_64.rpm FAILED http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/apr-1.4.8-3.el7_4....: [Errno 14] HTTP Error 503 - Service Unavailable 0% [ ] 0.0 B/s | 0 B --:--:-- ETA Trying other mirror. (1/304): GeoIP-1.5.0-13.el7.x86_64.rpm | 1.5 MB 00:00:00 (2/304): apr-devel-1.4.8-3.el7_4.1.x86_64.rpm | 188 kB 00:00:00 (3/304): attr-2.4.46-13.el7.x86_64.rpm | 66 kB 00:00:00 (4/304): audit-libs-2.8.4-4.el7.x86_64.rpm
Nethub Online - Ming kirjoitti 25.2.2019 klo 9.05:
However, if I try to manually update the failed package (e.g.
bind-libs
like above) by "yum -y update bind-libs" , it will be success. It
means
the package exists in mirror server repo.virtualhosting, however
somehow
the server limits the HTTP request and return error 503, can CentOS mirror admin inform this mirror admin to fix the problem?
I have sent a message to that mirror's contact email address. Maybe they can reply here.
CentOS-mirror mailing list CentOS-mirror@centos.org https://lists.centos.org/mailman/listinfo/centos-mirror
I received a notice from the mirror admin saying that they have fixed the problem, so I've now re-enabled the mirror. Hopefully it's OK now.
Anssi Johansson kirjoitti 18.3.2019 klo 13.08:
I have now disabled the mirror and sent a notice to the mirror admins. If they fix the problem I'll add them again.
Nethub Online - Ming kirjoitti 15.3.2019 klo 9.16:
Thanks Anssi,
It seems the problem persists, it is annoying and causing expected problem with automation while yum always got such problem. This mirror seems has limited the HTTP request and return error 503, could you remove this mirror in order to maintain a error free mirror environment?
Total download size: 193 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. acl-2.2.51-14.el7.x86_64.rpm FAILED http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/acl-2.2.51-14.el7....: [Errno 14] HTTP Error 503 - Service Unavailable 0% [ ] 0.0 B/s | 0 B --:--:-- ETA Trying other mirror. apr-1.4.8-3.el7_4.1.x86_64.rpm FAILED http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/apr-1.4.8-3.el7_4....: [Errno 14] HTTP Error 503 - Service Unavailable 0% [ ] 0.0 B/s | 0 B --:--:-- ETA Trying other mirror. (1/304): GeoIP-1.5.0-13.el7.x86_64.rpm | 1.5 MB 00:00:00 (2/304): apr-devel-1.4.8-3.el7_4.1.x86_64.rpm | 188 kB 00:00:00 (3/304): attr-2.4.46-13.el7.x86_64.rpm | 66 kB 00:00:00 (4/304): audit-libs-2.8.4-4.el7.x86_64.rpm
> Nethub Online - Ming kirjoitti 25.2.2019 klo 9.05: > > However, if I try to manually update the failed package (e.g. bind-libs > > like above) by "yum -y update bind-libs" , it will be success. It means > > the package exists in mirror server repo.virtualhosting, however somehow > > the server limits the HTTP request and return error 503, can CentOS > > mirror admin inform this mirror admin to fix the problem? > > I have sent a message to that mirror's contact email address. Maybe they > can reply here.
CentOS-mirror mailing list CentOS-mirror@centos.org https://lists.centos.org/mailman/listinfo/centos-mirror
CentOS-mirror mailing list CentOS-mirror@centos.org https://lists.centos.org/mailman/listinfo/centos-mirror