[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#969906: snapshot.debian.org: error 500 internal server error after some requests via Python

Package: snapshot.debian.org
Severity: normal
Tags: a11y

Dear Maintainer,

I am trying to download .dsc files for many packages using the Python requests
module with delays and retries. After some requests, the server returns Error
500 internal Server error.

I do that because I am trying to analyze Debian C projects using sbuild
(with some hooks that run static analysis tools). To do so, I use sbuild [1]
to build and analyze Debian C packages.  I want to be able to analyze any
package version of a package. Hence, I give .dsc files to sbuild as an
argument. I use snapshot.debian.org to download those files. For example,
for analyzing zlib (version 1.2.11.dfsg-2) I download it's .dsc file from
this URL [2]. I use snapshot.debian.org because it provides all versions of
each package with convenient URLs
whereas other websites have more complex URL schemes.

[1] https://wiki.debian.org/sbuild
[2] https://snapshot.debian.org/archive/debian-debug/20200225T025524Z/pool/main/z/zlib/zlib_1.2.11.dfsg-2.dsc

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-3-amd64 (SMP w/12 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply to: