Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirror sync issue #145

Open
peter-batley-depop opened this issue Mar 4, 2025 · 4 comments
Open

Mirror sync issue #145

peter-batley-depop opened this issue Mar 4, 2025 · 4 comments

Comments

@peter-batley-depop
Copy link

peter-batley-depop commented Mar 4, 2025

There seems to be an issue with the mirror at 3.131.85.84

E: Failed to fetch https://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz  File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 443]
   Hashes of expected file:
    - Filesize:30881 [weak]
    - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
    - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
    - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
    - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
   Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
@rccoder
Copy link

rccoder commented Mar 4, 2025

I encountered the same problem

@GUI
Copy link

GUI commented Mar 5, 2025

I'm also encountering this, but if it helps, it seems to vary depending on where I'm connecting from and is maybe related to caching. The problematic responses all contain Cache-Status: UPDATING headers in the response. Here's a couple examples:

  • From an IP where apt-get update works (note the recent cache control headers):

    curl -v 'https://openresty.org/package/debian/dists/bullseye/InRelease'
    [...]
    < HTTP/1.1 200 OK
    < Date: Wed, 05 Mar 2025 00:08:01 GMT
    < Content-Type: application/octet-stream
    < Connection: keep-alive
    < Set-Cookie: userid=00002b0000046bf0df089f49; Expires=Thu, 05-Mar-26 00:08:01 GMT; Max-Age=31536000; Domain=openresty.org
    < Last-Modified: Tue, 04 Mar 2025 05:43:18 GMT
    < ETag: "67c692f6-1318"
    < Expires: Tue, 04 Mar 2025 07:33:31 GMT
    < Cache-Control: max-age=60
    < Server: OpenResty Edge
    < Req-ID: 00002b0000046bf0df089f49
    < Cache-Status: HIT
    < Edge-Cache-Age: 46
    < Accept-Ranges: bytes
    < Content-Length: 4888
    
  • From an IP where apt-get update breaks (note the various different cache headers, the UPDATING cache status, and the old Edge-Cache-Age value):

    curl -v 'https://openresty.org/package/debian/dists/bullseye/InRelease'
    [...]
    < HTTP/1.1 200 OK
    < Date: Wed, 05 Mar 2025 00:09:49 GMT
    < Content-Type: application/octet-stream
    < Content-Length: 4888
    < Connection: keep-alive
    < Set-Cookie: userid=0000288000046bf0e268b1df; Expires=Thu, 05-Mar-26 00:09:49 GMT; Max-Age=31536000; Domain=openresty.org
    < Last-Modified: Thu, 17 Oct 2024 06:31:10 GMT
    < ETag: "6710af2e-1318"
    < Expires: Thu, 17 Oct 2024 06:34:56 GMT
    < Cache-Control: max-age=60
    < Server: OpenResty Edge
    < Req-ID: 0000288000046bf0e268b1df
    < Cache-Status: UPDATING
    < Edge-Cache-Age: 68902
    < Accept-Ranges: bytes
    

@iagopiimenta
Copy link

Related: openresty/openresty#1035

@ftatliamtech
Copy link

It seems it is resolved now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants