<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">
<pre>Anssi,<br><br></pre><pre>Thanks for your help. I am not using any proxy, and this problem does not happen on other CentOS mirror server.<br><br>After yum update with enable URLGRABBER_DEBUG, I found that they are using nginx as the web server of mirror, I am guessing if they are using nginx as a proxy in front of the real server (e.g. Apache), so that everyone connects via their proxy in result.<br><br></pre><pre>You may check my debug log here:<br>yumdebug.log: <a href="https://file.io/ERNhoZ">https://file.io/ERNhoZ</a><br>yum command output: <a href="https://file.io/QJ48q6">https://file.io/QJ48q6</a><br></pre><pre><br>Reproduce the problem can be by below 2 commands easily:<br>========================================================<br>cat << _EOF_ > /etc/yum.repos.d/CentOS-Base.repo<br>[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<br>_EOF_<br><br>URLGRABBER_DEBUG=1,yumdebug.log yum -y update<br>========================================================<br><br></pre><pre>Ming<br></pre>

</div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 28 Mar 2019 at 09:34, Anssi Johansson <<a href="mailto:avij@centosproject.org">avij@centosproject.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The problem is that I can't reproduce this issue myself. Also note that <br>
if you are using a proxy (see your /etc/yum.conf) it is possible that <br>
the HTTP 503 error comes from your proxy and not from the web server.<br>
<br>
If the issue persists, I would suggest talking to them directly to get <br>
this resolved. The contact details are on <br>
<a href="https://www.udomain.hk/?lang=en-US" rel="noreferrer" target="_blank">https://www.udomain.hk/?lang=en-US</a> and you can refer to the ticket I <br>
opened with them, #781725.<br>
<br>
This command will output lots of debugging info on the screen, and some <br>
other info to yumdebug.log:<br>
<br>
URLGRABBER_DEBUG=1,yumdebug.log yum update<br>
<br>
Nethub Online - Ming kirjoitti 27.3.2019 klo 17.32:<br>
> Thanks Anssi,<br>
> <br>
> I just test again, but the problem persists, please check output below:<br>
> <br>
> <br>
> # yum -y update<br>
> ...<br>
> Total download size: 172 M<br>
> Downloading packages:<br>
> Delta RPMs disabled because /usr/bin/applydeltarpm not installed.<br>
> acl-2.2.51-14.el7.x86_64.rpm FAILED<br>
> <a href="http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/acl-2.2.51-14.el7.x86_64.rpm" rel="noreferrer" target="_blank">http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/acl-2.2.51-14.el7.x86_64.rpm</a>: <br>
> [Errno 14] HTTP Error 503 - Service Unavailable<br>
> Trying other mirror.<br>
> apr-1.4.8-3.el7_4.1.x86_64.rpm FAILED<br>
> <a href="http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/apr-1.4.8-3.el7_4.1.x86_64.rpm" rel="noreferrer" target="_blank">http://repo.virtualhosting.hk/centos/7/os/x86_64/Packages/apr-1.4.8-3.el7_4.1.x86_64.rpm</a>: <br>
> [Errno 14] HTTP Error 503 - Service Unavailable<br>
> Trying other mirror.<br>
> (1/269): GeoIP-1.5.0-13.el7.x86_64.rpm | 1.5 MB  00:00:00<br>
> (2/269): apr-devel-1.4.8-3.el7_4.1.x86_64.rpm | 188 kB  00:00:00<br>
> <br>
> Ming<br>
> <br>
> <br>
>  > I received a notice from the mirror admin saying that they have fixed<br>
>  > the problem, so I've now re-enabled the mirror. Hopefully it's OK now.<br>
>  ><br>
>  > Anssi Johansson kirjoitti 18.3.2019 klo 13.08:<br>
>  >> I have now disabled the mirror and sent a notice to the mirror admins.<br>
>  >> If they fix the problem I'll add them again.<br>
>  >><br>
> _______________________________________________<br>
> CentOS-mirror mailing list<br>
> <a href="mailto:CentOS-mirror@centos.org" target="_blank">CentOS-mirror@centos.org</a><br>
> <a href="https://lists.centos.org/mailman/listinfo/centos-mirror" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/centos-mirror</a><br>
<br>
_______________________________________________<br>
CentOS-mirror mailing list<br>
<a href="mailto:CentOS-mirror@centos.org" target="_blank">CentOS-mirror@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-mirror" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/centos-mirror</a><br>
</blockquote></div>