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

Bug#594150: apt-transport-https fail after squeeze upgrade



package apt-transport-https libcurl3-gnutls
reassign 594150 libcurl3-gnutls 7.21.0-1
found 594150 7.21.1-1
affects 594150 apt-transport-https
retitle 594150 CURLOPT_TIMEOUT defaults to zero seconds
thanks

apt-transport-https doesn't set CURLOPT_TIMEOUT anymore
in its squeeze version while it does in its lenny version.
(see #497983 for why)

It looks like the option defaults to 0 in the affected versions
as setting CURLOPT_TIMEOUT explicit to 0 has the same result.
Higher limits obviously let it work as expected.

Tests on an older ubuntu release with
Upgrade: libcurl3-gnutls:i386 (7.19.7-1ubuntu1, 7.21.0-1ubuntu1)
shows that this wasn't present in at least 7.19.7-1ubuntu1.
In a debian unstable environment both versions (unstable, testing)
were tested and affected (stable was not tested, but as it is older
than the tested good-known ubuntu version i guess it is good too).


Thanks btw Johannes Ernst for your bugreport and especially
for providing a testarchive!


His error message in APT is:

> Err https://FOO foo/main Packages
>  SSL connection timeout
> W: Failed to fetch https://FOO/FOO/dists/foo/main/binary-i386/Packages.gz  SSL connection timeout

curl used with verbose option prints:
( -o Debug::Acquire::https=1 )

* About to connect() to apt-test.aviatis.com port 443 (#0)
*   Trying 204.145.147.227... * connected
* Connected to apt-test.aviatis.com (204.145.147.227) port 443 (#0)
* found 141 certificates in /etc/ssl/certs/ca-certificates.crt
*        server certificate verification SKIPPED
*        common name: apt-test.aviatis.com (matched)
*        server certificate expiration date OK
*        server certificate activation date OK
*        certificate public key: RSA
*        certificate version: #1
*        subject: C=US,ST=CA,O=apt-test.aviatis.com,CN=apt-test.aviatis.com
*        start date: Mon, 23 Aug 2010 04:23:41 GMT
*        expire date: Sun, 19 May 2013 04:23:41 GMT
*        issuer: C=US,ST=CA,O=apt-test.aviatis.com,CN=apt-test.aviatis.com
*        compression: NULL
*        cipher: AES-128-CBC
*        MAC: SHA1
> GET /apt-cacher/ftp.us.debian.org/debian/dists/squeeze/Release.gpg HTTP/1.1
User-Agent: Debian APT-CURL/1.0 (0.7.26~exp6)
Host: apt-test.aviatis.com
Accept: */*
Cache-Control: max-age=0

* SSL connection timeout
* Closing connection #0
[… same output for the next requested file … ]


Best regards

David Kalnischkies



Reply to: