Your message dated Fri, 6 Nov 2026 17:31:34 +0100
with message-id <[email protected]>
and subject line Re: snapshot.debian.org: intermittent 503/504 "first byte 
timeout" for archive/debian and debian-security (2026-11-04/05)
has caused the Debian Bug report #1153226,
regarding snapshot.debian.org: Intermittant http 504 and 503 timeouts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1153226: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153226
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: snapshot.debian.org
Severity: important
X-Debbugs-Cc: [email protected]

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>

--- End Message ---
--- Begin Message ---
On 11/6/26 2:49 PM, Philipp Kern wrote:
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.

I think it's fixed now. If there are any unexpected replies (e.g. 404 of URLs that worked before), please let me know.

Kind regards
Philipp Kern

--- End Message ---

Reply via email to