404 error on yum nginx repository

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

404 error on yum nginx repository

Greg Barker
Seems like maybe something is broken on the nginx packages download.

For example, if I curl this endpoint I get a set of results from 31-Jul-2018

<html>
<head><title>Index of /packages/rhel/7/x86_64/repodata/</title></head>
<body bgcolor="white">
<h1>Index of /packages/rhel/7/x86_64/repodata/</h1><hr><pre><a href="../">../</a>
<a href="431ec3b5d8c38dcb75ae6aad1e2044707c26b097cdd032e9230fe657799940c1-other.xml.gz">431ec3b5d8c38dcb75ae6aad1e2044707c26b097cdd032e..&gt;</a> 31-Jul-2018 12:16                8164
<a href="4a825688a214584c3c5b655627ca3ef7340a67848b7ab8ed1bedd3fced3fc2f5-primary.sqlite.bz2">4a825688a214584c3c5b655627ca3ef7340a67848b7ab8e..&gt;</a> 31-Jul-2018 12:16               35734
<a href="5dd555d317e17e2612f394576dc02326d7c06d18a15c102b24070efe69a09d06-filelists.sqlite.bz2">5dd555d317e17e2612f394576dc02326d7c06d18a15c102..&gt;</a> 31-Jul-2018 12:16               47533
<a href="76f331ccb392cffc4fa30e0f60985c38fa69c8d953bca55b8a298162218056a9-primary.xml.gz">76f331ccb392cffc4fa30e0f60985c38fa69c8d953bca55..&gt;</a> 31-Jul-2018 12:16               12976
<a href="8f5762215a64dd640a999e379e0fbffddf11c88e631c03b16b09864fc54c1a3c-other.sqlite.bz2">8f5762215a64dd640a999e379e0fbffddf11c88e631c03b..&gt;</a> 31-Jul-2018 12:16               19018
<a href="c84d99af13732489a23f8b73fe9382b2a921e72644d66bd5c4709945d61352c7-filelists.xml.gz">c84d99af13732489a23f8b73fe9382b2a921e72644d66bd..&gt;</a> 31-Jul-2018 12:16               33396
<a href="repomd.xml">repomd.xml</a>                                         31-Jul-2018 12:16                2986
<a href="repomd.xml.asc">repomd.xml.asc</a>                                     31-Jul-2018 12:16                 473
</pre><hr></body>
</html>

If I curl again I get a different set of results from 18-Sep-2018:

<html>
<head><title>Index of /packages/rhel/7/x86_64/repodata/</title></head>
<body bgcolor="white">
<h1>Index of /packages/rhel/7/x86_64/repodata/</h1><hr><pre><a href="../">../</a>
<a href="0d104237ac1bdb053e7b601b4acb01cf249d0eb38842dd4e3c9e50ca6e1db292-filelists.xml.gz">0d104237ac1bdb053e7b601b4acb01cf249d0eb38842dd4..&gt;</a> 18-Sep-2018 16:27               34060
<a href="20335881f90eb6dee86c4e5dde27efe4b280a5ce155f32d5982da721099a7590-primary.sqlite.bz2">20335881f90eb6dee86c4e5dde27efe4b280a5ce155f32d..&gt;</a> 18-Sep-2018 16:27               36166
<a href="a698a3a644ea96503bace90f338282ae9ff4404820579a8a0b8f1b59f7f63fd3-primary.xml.gz">a698a3a644ea96503bace90f338282ae9ff4404820579a8..&gt;</a> 18-Sep-2018 16:27               13207
<a href="ce1b99cc8d85853931a96a8b6c3f0270b4330f3034c22fed206e549d83ae534c-filelists.sqlite.bz2">ce1b99cc8d85853931a96a8b6c3f0270b4330f3034c22fe..&gt;</a> 18-Sep-2018 16:27               48828
<a href="db9cdcedd470676185618a343302143eb4a7e5e9da3b996cb9d706171e3f9456-other.sqlite.bz2">db9cdcedd470676185618a343302143eb4a7e5e9da3b996..&gt;</a> 18-Sep-2018 16:27               19211
<a href="fa18e6d14529bfa9446c346447ac7ae7135b175d93b5ab455aa71c4eed2c8ea6-other.xml.gz">fa18e6d14529bfa9446c346447ac7ae7135b175d93b5ab4..&gt;</a> 18-Sep-2018 16:27                8282
<a href="repomd.xml">repomd.xml</a>                                         18-Sep-2018 16:27                2986
<a href="repomd.xml.asc">repomd.xml.asc</a>                                     18-Sep-2018 16:27                 473
</pre><hr></body>
</html>

The result is that you download the repomd.xml from whatever is returning the first set of results, but then you try to download 5dd555d317e17e2612f394576dc02326d7c06d18a15c102b24070efe69a09d06-filelists.sqlite.bz2 but it gets handled by by whatever is returning the second set of results, you get a 404.

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: 404 error on yum nginx repository

Konstantin Pavlov
Hello Greg,

19.09.2018 04:35, Greg Barker wrote:

> Seems like maybe something is broken on the nginx packages download.
>
> For example, if I curl this endpoint I get a set of results from 31-Jul-2018
>
> $ curl https://nginx.org/packages/rhel/7/x86_64/repodata/
> ...
> The result is that you download the repomd.xml from whatever is
> returning the first set of results, but then you try to download
> 5dd555d317e17e2612f394576dc02326d7c06d18a15c102b24070efe69a09d06-filelists.sqlite.bz2
> but it gets handled by by whatever is returning the second set of
> results, you get a 404.


Thanks for reporting the issue - I didnt notice the issue with mirrors
we use to serve the packages when uploading the new njs release
yesterday.  The issue is now fixed.

Have a good one,

--
Konstantin Pavlov
Join us at NGINX Conf 2018, Oct 8-11, Atlanta, GA, USA
https://www.nginx.com/nginxconf/2018/
_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx