Public bug reported: When requesting byte ranges near the end of the .ddeb file (for example Range: bytes=209715200-210763775), the server responds with HTTP/1.0 504 Gateway Time-out. Earlier ranges (e.g. bytes=1000-686719) are served with HTTP/1.1 206 Partial Content and a cache response header. This behavior indicates that the CDN/cache holds the file head but not the requested high-offset segments; the edge attempts to fetch those segments from the origin and the origin request is timing out. Please check origin access times and proxy/back-end timeout settings for partial-range requests.
curl -v -L -r 1000-686719 -o part02a1 "http://ddebs.ubuntu.com/pool/main/l/linux/linux-image-unsigned-4.15.0-213-generic-dbgsym_4.15.0-213.224_amd64.ddeb" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 2620:2d:4000:1::2a... * TCP_NODELAY set * Trying 91.189.91.48... * TCP_NODELAY set 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to ddebs.ubuntu.com (2620:2d:4000:1::2a) port 80 (#0) > GET > /pool/main/l/linux/linux-image-unsigned-4.15.0-213-generic-dbgsym_4.15.0-213.224_amd64.ddeb > HTTP/1.1 > Host: ddebs.ubuntu.com > Range: bytes=1000-686719 > User-Agent: curl/7.58.0 > Accept: */* > 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0< HTTP/1.1 206 Partial Content < server: nginx/1.14.0 (Ubuntu) < date: Mon, 08 Sep 2025 10:24:51 GMT < content-type: application/vnd.debian.binary-package < content-length: 685720 < last-modified: Fri, 07 Jul 2023 02:39:35 GMT < etag: "2f3e9e78-5ffdc8b1bc080" < x-cache-status: MISS from content-cache-il3/0 < content-range: bytes 1000-686719/792632952 < cache-control: max-age=86400 < content-security-policy: default-src 'none'; base-uri 'none'; form-action 'self'; frame-ancestors 'none' < x-content-type-options: nosniff < x-frame-options: DENY < { [2062 bytes data] 100 669k 100 669k 0 0 166k 0 0:00:04 0:00:04 --:--:-- 166k curl -v -L -r 209715200-210763775 -o part02a1 "http://ddebs.ubuntu.com/pool/main/l/linux/linux-image-unsigned-4.15.0-213-generic-dbgsym_4.15.0-213.224_amd64.ddeb" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 2620:2d:4000:1::2a... * TCP_NODELAY set * Trying 91.189.91.48... * TCP_NODELAY set 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to ddebs.ubuntu.com (2620:2d:4000:1::2a) port 80 (#0) > GET > /pool/main/l/linux/linux-image-unsigned-4.15.0-213-generic-dbgsym_4.15.0-213.224_amd64.ddeb > HTTP/1.1 > Host: ddebs.ubuntu.com > Range: bytes=209715200-210763775 > User-Agent: curl/7.58.0 > Accept: */* > 0 0 0 0 0 0 0 0 --:--:-- 0:00:50 --:--:-- 0* HTTP 1.0, assume close after body < HTTP/1.0 504 Gateway Time-out < cache-control: no-cache < content-type: text/html < { [93 bytes data] 100 93 0 93 0 0 1 0 --:--:-- 0:00:50 --:--:-- 21 * Closing connection 0 ** Affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2122329 Title: downloading dbgsym package using content range failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2122329/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
