Package: libcurl3-gnutls
Version: 7.28.0-1
Severity: important
After upgrading to version 7.28.0-1 git pull fails if new objects are
available for download with the error:
error: RPC failed; result=51, HTTP code = 0
fatal: The remote end hung up unexpectedly
This happenes if the remote repository is available over https.
Downgrading libcurl3-gnutls to 7.27.0-1 fixes this problem.
I have attached the output of
GIT_CURL_VERBOSE=1 git clone https://github.com/veer-public/OAuth-2.0.git
With version 7.27.0-1 and 7.28.0-1. It looks like curl can't find the
correct certificate after reusing the ssl connection.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (800, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.6.1-echse20121009 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libcurl3-gnutls:amd64 depends on:
ii libc6 2.13-35
ii libgcrypt11 1.5.0-3
ii libgnutls26 2.12.20-1
ii libgssapi-krb5-2 1.10.1+dfsg-2
ii libidn11 1.25-2
ii libldap-2.4-2 2.4.31-1
ii librtmp0 2.4+20111222.git4e06e21-1
ii libssh2-1 1.4.2-1.1
ii multiarch-support 2.13-35
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages libcurl3-gnutls:amd64 recommends:
ii ca-certificates 20120623
libcurl3-gnutls:amd64 suggests no packages.
-- no debconf information
Cloning into 'OAuth-2.0'...
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
* Trying 207.97.227.239...
* 0x10cc830 is at send pipe head!
* STATE: CONNECT => WAITCONNECT handle 0x10d5650; (connection #0)
* Connected to github.com (207.97.227.239) port 443 (#0)
* Connected to github.com (207.97.227.239) port 443 (#0)
* found 152 certificates in /etc/ssl/certs/ca-certificates.crt
* STATE: WAITCONNECT => PROTOCONNECT handle 0x10d5650; (connection #0)
* server certificate verification OK
* common name: github.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: businessCategory=Private
Organization,jurisdictionOfIncorporationCountryName=US,jurisdictionOfIncorporationStateOrProvinceName=California,serialNumber=C3268102,C=US,ST=California,L=San
Francisco,O=GitHub\, Inc.,CN=github.com
* start date: Fri, 27 May 2011 00:00:00 GMT
* expire date: Mon, 29 Jul 2013 12:00:00 GMT
* issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High
Assurance EV CA-1
* compression: NULL
* cipher: ARCFOUR-128
* MAC: SHA1
* STATE: PROTOCONNECT => DO handle 0x10d5650; (connection #0)
> GET /veer-public/OAuth-2.0.git/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.7.10.4
Host: github.com
Accept: */*
Pragma: no-cache
* STATE: DO => DO_DONE handle 0x10d5650; (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x10d5650; (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x10d5650; (connection #0)
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 15 Oct 2012 18:15:13 GMT
< Content-Type: application/x-git-upload-pack-advertisement
< Transfer-Encoding: chunked
< Connection: keep-alive
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
* STATE: PERFORM => DONE handle 0x10d5650; (connection #0)
* Connection #0 to host github.com left intact
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
* Trying 207.97.227.239...
* connected
* Connected to github.com (207.97.227.239) port 443 (#0)
* found 152 certificates in /etc/ssl/certs/ca-certificates.crt
* SSL re-using session ID
* server certificate verification OK
* common name: github.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: businessCategory=Private
Organization,jurisdictionOfIncorporationCountryName=US,jurisdictionOfIncorporationStateOrProvinceName=California,serialNumber=C3268102,C=US,ST=California,L=San
Francisco,O=GitHub\, Inc.,CN=github.com
* start date: Fri, 27 May 2011 00:00:00 GMT
* expire date: Mon, 29 Jul 2013 12:00:00 GMT
* issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High
Assurance EV CA-1
* compression: NULL
* cipher: ARCFOUR-128
* MAC: SHA1
> POST /veer-public/OAuth-2.0.git/git-upload-pack HTTP/1.1
User-Agent: git/1.7.10.4
Host: github.com
Accept-Encoding: deflate, gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Content-Length: 186
* upload completely sent off: 186 out of 186 bytes
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 15 Oct 2012 18:15:14 GMT
< Content-Type: application/x-git-upload-pack-result
< Transfer-Encoding: chunked
< Connection: keep-alive
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
* Connection #0 to host github.com left intact
* Closing connection #0
Cloning into 'OAuth-2.0'...
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
* Trying 207.97.227.239...
* 0x15d1830 is at send pipe head!
* STATE: CONNECT => WAITCONNECT handle 0x15da650; (connection #0)
* Connected to github.com (207.97.227.239) port 443 (#0)
* Connected to github.com (207.97.227.239) port 443 (#0)
* found 152 certificates in /etc/ssl/certs/ca-certificates.crt
* STATE: WAITCONNECT => PROTOCONNECT handle 0x15da650; (connection #0)
* server certificate verification OK
* common name: github.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: businessCategory=Private
Organization,jurisdictionOfIncorporationCountryName=US,jurisdictionOfIncorporationStateOrProvinceName=California,serialNumber=C3268102,C=US,ST=California,L=San
Francisco,O=GitHub\, Inc.,CN=github.com
* start date: Fri, 27 May 2011 00:00:00 GMT
* expire date: Mon, 29 Jul 2013 12:00:00 GMT
* issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High
Assurance EV CA-1
* compression: NULL
* cipher: ARCFOUR-128
* MAC: SHA1
* STATE: PROTOCONNECT => DO handle 0x15da650; (connection #0)
> GET /veer-public/OAuth-2.0.git/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.7.10.4
Host: github.com
Accept: */*
Pragma: no-cache
* STATE: DO => DO_DONE handle 0x15da650; (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x15da650; (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x15da650; (connection #0)
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 15 Oct 2012 18:16:52 GMT
< Content-Type: application/x-git-upload-pack-advertisement
< Transfer-Encoding: chunked
< Connection: keep-alive
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
* STATE: PERFORM => DONE handle 0x15da650; (connection #0)
* Connection #0 to host github.com left intact
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
* Trying 207.97.227.239...
* connected
* Connected to github.com (207.97.227.239) port 443 (#0)
* found 152 certificates in /etc/ssl/certs/ca-certificates.crt
* SSL re-using session ID
* failed to get server cert
* Closing connection #0
error: RPC failed; result=51, HTTP code = 0
fatal: The remote end hung up unexpectedly