Package: approx Version: 5.7 Severity: normal Hi,
on proxying docker packages, which they seem to host on Amazon it fails to parse HTTP/2 protocol header with; Jul 3 12:34:51 host approx[3703]: Request: GET /docker/dists/stretch/stable/binary-amd64/Packages Jul 3 12:34:51 host approx[3703]: Host: apt.host.tld:9999 Jul 3 12:34:51 host approx[3703]: Cache-Control: max-age=0 Jul 3 12:34:51 host approx[3703]: Accept: text/* Jul 3 12:34:51 host approx[3703]: User-Agent: Debian APT-HTTP/1.3 (1.4.6) Jul 3 12:34:51 host approx[3703]: => cache miss Jul 3 12:34:51 host approx[3703]: Command: /usr/bin/curl --fail --silent --header "Pragma: no-cache" --include "https://download.docker.com/linux/debian/dists/stretch/stable/binary-amd64/Packages" Jul 3 12:34:52 host approx[3703]: HTTP/2 200 Jul 3 12:34:52 host approx[3703]: *Unrecognized response: HTTP/2 200* Jul 3 12:34:52 host approx[3703]: content-type: binary/octet-stream Jul 3 12:34:52 host approx[3703]: content-length: 6543 Jul 3 12:34:52 host approx[3703]: date: Fri, 30 Jun 2017 20:57:07 GMT Jul 3 12:34:52 host approx[3703]: last-modified: Wed, 28 Jun 2017 17:17:04 GMT Jul 3 12:34:52 host approx[3703]: x-amz-version-id: XFZ5HX40aBbMaLPAsH8IYaq7k1_hIM7G Jul 3 12:34:52 host approx[3703]: etag: "4aff636c59691755f6464a97aad76bb0" Jul 3 12:34:52 host approx[3703]: server: AmazonS3 Jul 3 12:34:52 host approx[3703]: x-cache: RefreshHit from cloudfront Jul 3 12:34:52 host approx[3703]: via: 1.1 6072d8e50a1262c0708c4232ce29bde4.cloudfront.net (CloudFront) Jul 3 12:34:52 host approx[3703]: x-amz-cf-id: QZ1FIc5v-F1OZK6sGCMqTqzB62woeSj8Mz3aCiAK8XKrEK8bHHAhwQ== Jul 3 12:34:52 host approx[3703]: Unexpected status code: 0 Jul 3 12:34:52 host approx[3703]: https://download.docker.com/linux/debian/dists/stretch/stable/binary-amd64/Packages: download error I tested with the regex as in the sources; ^HTTP/\\d+\\.\\d+\\s+(\\d{3})(?:\\s+(.*?)\\s*)?$ which confirmed my findings. Downloading manually with the '/usr/bin/curl --fail --silent --header "Pragma: no-cache" --include "https://download.docker.com/linux/debian/dists/stretch/stable/binary-amd64/Packages"' command it works like a charm. Best Regards, ~lwk --- System information. --- Architecture: Kernel: Linux 4.9.0-3-amd64 Debian Release: 9.0
signature.asc
Description: OpenPGP digital signature