Discussion:
Bug#870052: git: RPC failed; curl 56 GnuTLS recv error
Konstantin Manna
2017-07-29 09:47:34 UTC
Permalink
Package: git
Version: 1:2.13.2-3
Severity: normal

Cloning a git repo via https failes with the error below.
I think it's a bug with git/it's used libaries, since reportedly running the same with a recompiled git with openssl instead of gnutls does not lead to an error.
(See https://stackoverflow.com/questions/38378914/git-error-rpc-failed-curl-56-gnutls)
I am not sure if this is the right place to report the error.
If so, I'd be glad if anyone refers me to the correct place.

LC_ALL=C git clone -v https://***.git
Cloning into '***'...
POST git-upload-pack (gzip 5341 to 2695 bytes)
remote: Counting objects: 226702, done.
remote: Compressing objects: 100% (62511/62511), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


-- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages git depends on:
ii dpkg 1.18.24
ii git-man 1:2.13.2-3
ii libc6 2.24-12
ii libcurl3-gnutls 7.52.1-5
ii liberror-perl 0.17024-1
ii libexpat1 2.2.2-2
ii libpcre3 2:8.39-3
ii perl 5.26.0-4
ii zlib1g 1:1.2.8.dfsg-5

Versions of packages git recommends:
ii less 481-2.1
ii openssh-client [ssh-client] 1:7.5p1-5
ii patch 2.7.5-1+b2

Versions of packages git suggests:
ii gettext-base 0.19.8.1-2+b1
pn git-cvs <none>
pn git-daemon-run | git-daemon-sysvinit <none>
pn git-doc <none>
pn git-el <none>
pn git-email <none>
pn git-gui <none>
pn git-mediawiki <none>
pn git-svn <none>
pn gitk <none>
pn gitweb <none>

-- no debconf information

Loading...