[CentOS-mirror] HK mirror - repo.virtualhosting.hk sometimes HTTP Error 503 - Service Unavailable

Thu Mar 28 02:01:10 UTC 2019
Nethub Online - Ming <nethubonline at gmail.com>

Anssi,

Thanks for your help. I am not using any proxy, and this problem does
not happen on other CentOS mirror server.

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.

You may check my debug log here:
yumdebug.log: https://file.io/ERNhoZ
yum command output: https://file.io/QJ48q6


Reproduce the problem can be by below 2 commands easily:
========================================================
cat << _EOF_ > /etc/yum.repos.d/CentOS-Base.repo
[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
_EOF_

URLGRABBER_DEBUG=1,yumdebug.log yum -y update
========================================================

Ming


On Thu, 28 Mar 2019 at 09:34, Anssi Johansson <avij at centosproject.org>
wrote:

> The problem is that I can't reproduce this issue myself. Also note that
> if you are using a proxy (see your /etc/yum.conf) it is possible that
> the HTTP 503 error comes from your proxy and not from the web server.
>
> If the issue persists, I would suggest talking to them directly to get
> this resolved. The contact details are on
> https://www.udomain.hk/?lang=en-US and you can refer to the ticket I
> opened with them, #781725.
>
> This command will output lots of debugging info on the screen, and some
> other info to yumdebug.log:
>
> URLGRABBER_DEBUG=1,yumdebug.log yum update
>
> Nethub Online - Ming kirjoitti 27.3.2019 klo 17.32:
> > Thanks Anssi,
> >
> > I just test again, but the problem persists, please check output below:
> >
> >
> > # yum -y update
> > ...
> > Total download size: 172 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.x86_64.rpm:
>
> > [Errno 14] HTTP Error 503 - Service Unavailable
> > 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.1.x86_64.rpm:
>
> > [Errno 14] HTTP Error 503 - Service Unavailable
> > Trying other mirror.
> > (1/269): GeoIP-1.5.0-13.el7.x86_64.rpm | 1.5 MB  00:00:00
> > (2/269): apr-devel-1.4.8-3.el7_4.1.x86_64.rpm | 188 kB  00:00:00
> >
> > Ming
> >
> >
> >  > 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.
> >  >>
> > _______________________________________________
> > CentOS-mirror mailing list
> > CentOS-mirror at centos.org
> > https://lists.centos.org/mailman/listinfo/centos-mirror
>
> _______________________________________________
> CentOS-mirror mailing list
> CentOS-mirror at centos.org
> https://lists.centos.org/mailman/listinfo/centos-mirror
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-mirror/attachments/20190328/85c75643/attachment-0006.html>