Package: approx
Version: 5.7-3
Severity: normal

Relates to bug: #818633 fails to connect to HTTP/2 servers (closed)


Dear Maintainer,

Thank you for this efficient piece of software!
I'm using approx to cache Debian and non-Debian repositories.

/etc/approx/approx.conf:
------------------------
enlightenment   https://download.enlightenment.org

This used to work fine until recently, when the Enlightenment devs switched to 
HTTP/2.
When I try to fetch an Enlightenment source archive via approx, approx fails:

```
Dec 21 10:40:08 vhub2 approx[2087]: Request: GET 
/enlightenment/rel/libs/efl/efl-1.21.1.tar.xz
Dec 21 10:40:08 vhub2 approx[2087]:   Host: approx
Dec 21 10:40:08 vhub2 approx[2087]:   User-Agent: curl/7.52.1
Dec 21 10:40:08 vhub2 approx[2087]:   Accept: */*
Dec 21 10:40:08 vhub2 approx[2087]:   => cache miss
Dec 21 10:40:08 vhub2 approx[2087]: Command: /usr/bin/curl --fail --silent --header "Pragma: no-cache" --include "https://download.enlightenment.org/rel/libs/efl/efl-1.21.1.tar.xz";
Dec 21 10:40:08 vhub2 approx[2087]:   HTTP/2 200
Dec 21 10:40:08 vhub2 approx[2087]: Unrecognized response: HTTP/2 200
Dec 21 10:40:08 vhub2 approx[2087]:   date: Fri, 21 Dec 2018 10:40:08 GMT
Dec 21 10:40:08 vhub2 approx[2087]:   last-modified: Wed, 12 Sep 2018 11:34:09 
GMT
Dec 21 10:40:08 vhub2 approx[2087]:   accept-language: bytes
Dec 21 10:40:08 vhub2 approx[2087]:   content-length: 71168368
Dec 21 10:40:08 vhub2 approx[2087]:   content-type: application/x-xz
Dec 21 10:40:08 vhub2 approx[2087]:   vary: Accept-Encoding
Dec 21 10:40:08 vhub2 approx[2087]: strict-transport-security: max-age=16070400; includeSubDomains; preload
Dec 21 10:40:18 vhub2 approx[2087]: Unexpected status code: 0
Dec 21 10:40:18 vhub2 approx[2087]: https://download.enlightenment.org/rel/libs/efl/efl-1.21.1.tar.xz: download error
```

This should be fixed in bug #818633.
However the Enlightenment devs managed to get it stuck :)


Kind regards,

Marjan Waldorp,
tux4u.be


-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.U
TF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages approx depends on:
ii  adduser                      3.115
ii  bzip2                        1.0.6-8.1
ii  curl                         7.52.1-5+deb9u8
ii  debconf [debconf-2.0]        1.5.61
ii  init-system-helpers          1.48
ii  libc6                        2.24-11+deb9u3
ii  libpcre3                     2:8.39-3
ii  rsyslog [system-log-daemon]  8.24.0-1
ii  xz-utils                     5.2.2-1.2+b1

approx recommends no packages.

Reply via email to