🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Ian Norton Fri, 06 Nov 2026 11:40
Bug#1153226: snapshot.debian.org: Intermittant http 504 and 503 timeouts
#3470
Author: Ian Norton
Date: Fri, 06 Nov 2026 11:40
45 lines
2871 bytes
Package: snapshot.debian.org
Severity: important
X-Debbugs-Cc: ian.norton@entrust.com

Dear Maintainer,

I have reason to fetch some old files from buster snapshots and have found that
some of the urls result in a HTTP 504 error.

eg:

$ curl -L
https://snapshot.debian.org/archive/debian/20250712T143640Z/extrafiles

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>503 first byte timeout</title>
  </head>
  <body>
    <h1>Error 503 first byte timeout</h1>
    <p>first byte timeout</p>
    <h3>Error 54113</h3>
    <p>Details: cache-lcy-egml8630079-LCY 1793964983 3095964062</p>
    <hr>
    <p>Varnish cache server</p>
  </body>
</html>

Talking direct to port 80 I get:

$curl -L http://snapshot.debian.org/archive/debian/20250712T143640Z/extrafiles
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>504 Gateway Timeout</title>
</head><body>
<h1>Gateway Timeout</h1>
<p>The gateway did not receive a timely response
from the upstream server or application.</p>
<hr>
<address>Apache Server at snapshot.debian.org Port 80</address>
</body></html>
Bug#1153226: snapshot.debian.org: intermittent 503/504 "first byte timeout" for archive/debian and debian-security (2026-11-04/0...
#3489
Author: Philipp Kern
Date: Fri, 06 Nov 2026 14:00
23 lines
3196 bytes
On 11/5/26 7:57 AM, Moessbauer, Felix wrote:
> On Thu, 2026-11-05 at 02:10 +0000, Salmaan Pehlari (spehlari) wrote:
>> Hi snapshot team,
>>
>> Since at least 2026-11-04 ~16:50 UTC, requests to snapshot.debian.org intermittently
>> fail at the Fastly edge with origin timeouts.
> 
> Hi, at roughly the same time I observed this in Germany as well.
> Today some files can be fetched again, but still many result in
> "Gateway Timeout" (504).

I'm aware of the problems (503 and 504 errors). I tried to fix some 
yesterday evening (migrating to a materialized view), but it was not 
sufficient. Ultimately I think it's because the scraper load (random 
access on /dists/ to resolve files) is just too high, coupled with some 
inefficient queries that take too long to process. All of our three 
beefy machines are hammered and have loads way higher than the amount of 
CPU threads we have - with the requests stuck in postgres.

It might still take a few days to resolve, unfortunately.

Kind regards
Philipp Kern
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads