<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi CentOS maintainers,</div><div dir="ltr"><br></div><div>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 "<a href="http://repo.virtualhosting.hk">repo.virtualhosting.hk</a>", 95% chance will get error 503.</div><div><br></div><div dir="ltr"><div></div><div>How to duplicate problem:</div><div>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 
"<a href="http://repo.virtualhosting.hk">repo.virtualhosting.hk</a>":</div><div><br></div><div>========================================================<br></div><div>[base]<br>name=CentOS-$releasever - Base<br>baseurl=<a href="http://repo.virtualhosting.hk/centos/7/os/x86_64/">http://repo.virtualhosting.hk/centos/7/os/x86_64/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7<br><br>[updates]<br>name=CentOS-$releasever - Updates<br>baseurl=<a href="http://repo.virtualhosting.hk/centos/7/os/x86_64/">http://repo.virtualhosting.hk/centos/7/os/x86_64/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7<br><br>[extras]<br>name=CentOS-$releasever - Extras<br>baseurl=<a href="http://repo.virtualhosting.hk/centos/7/os/x86_64/">http://repo.virtualhosting.hk/centos/7/os/x86_64/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7<br><br>[centosplus]<br>name=CentOS-$releasever - Plus<br>baseurl=<a href="http://repo.virtualhosting.hk/centos/7/os/x86_64/">http://repo.virtualhosting.hk/centos/7/os/x86_64/</a><br>gpgcheck=1<br>enabled=0<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7</div><div>
======================================================== <br></div><div><br></div><div># yum -y update</div><div>...</div><div>(10/366): avahi-libs-0.6.31-19.el7.x86_64.rpm                                                   |  61 kB  00:00:00     <br>(11/366): apr-1.4.8-3.el7_4.1.x86_64.rpm                                                        | 103 kB  00:00:00     <br>(12/366): bash-4.2.46-31.el7.x86_64.rpm                                                         | 1.0 MB  00:00:00     <br>bind-libs-9.9.4-72.el7.x86_64. FAILED                                          <br><a href="http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/bind-libs-9.9.4-72.el7.x86_64.rpm">http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/bind-libs-9.9.4-72.el7.x86_64.rpm</a>: [Errno 14] HTTP Error 503 - Service Unavailable<br>Trying other mirror.<br>bind-libs-lite-9.9.4-72.el7.x8 FAILED                                          <br><a href="http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/bind-libs-lite-9.9.4-72.el7.x86_64.rpm">http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/bind-libs-lite-9.9.4-72.el7.x86_64.rpm</a>: [Errno 14] HTTP Error 503 - Service Unavailable<br>Trying other mirror.<br>(13/366): bind-9.9.4-72.el7.x86_64.rpm                                                          | 1.8 MB  00:00:00     <br>(14/366): MariaDB-10.1.38-centos73-x86_64-server.rpm                                            | 104 MB  00:00:02 </div><div>
...

</div><div><br></div><div>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?<br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div>