-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone error : RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0 #4997
Comments
This StackOverflow thread looks relevant. Are you using zScaler? |
No, we don't use zScaler, BUT we already use openssl as "sslBackend" and use a PEM File with proxy certificate chain as "sslCAInfo". |
That's possible. To test your theory, could you download the Portable Git v2.45.2, verify that the clone fails using that after configuring the sslBackend and sslCAInfo settings, then download the Portable Git v2.43.1 and copy over only the |
Thx for your support! First I did download portable git v2.45.2 and verified that i could not clone a devops repo (same error curl 56) Working Versions that CAN clone (using wincred) Version with errors |
Okay, so we whittled this down some. Could you also try v2.44.0, v2.44.1, v2.45.0 and v2.45.1? (Ideally, you would bisect through the snapshots where v2.45.2 is labeled Mon, 3 Jun 2024 09:24:47 +0200 and v2.43.0 is labeled Mon, 20 Nov 2023 18:02:41 +0100, but that is a lot of work...) |
Tested different Versions with following result: Working Versions:
NOT Working
same error message also for :
the "original" error message
|
Hmm. The commits between last working and first non-working version does not look helpful here: $ git graph 7e0789dd38...9cdc4781e4
< 7e0789dd38db build(deps): bump actions/checkout from 3 to 4 (#4796) (by Matthias Aßhauer 4 months ago)
|\
| < 5ffe9156efef build(deps): bump actions/checkout from 3 to 4 (by dependabot[bot] 4 months ago)
< | f62abacf1d7b build(deps): bump actions/download-artifact from 3 to 4 (#4794) (by Matthias Aßhauer 4 months ago)
|\ \
| < | 3a6b9978f04f ci: bump actions/upload-artifact to v4 (by Matthias Aßhauer 4 months ago)
| < | f96be1dc092e build(deps): bump actions/download-artifact from 3 to 4 (by dependabot[bot] 4 months ago)
| |/
< | 82f73c87a88f build(deps): bump actions/setup-go from 2 to 5 (#4793) (by Matthias Aßhauer 4 months ago)
|\ \
| < | ba3c7742e67b build(deps): bump actions/setup-go from 2 to 5 (by dependabot[bot] 4 months ago)
| |/
< | c68910c66886 build(deps): bump mshick/add-pr-comment from 1 to 2 (#4795) (by Matthias Aßhauer 4 months ago)
|\ \
| < | 400f54528708 build(deps): bump mshick/add-pr-comment from 1 to 2 (by dependabot[bot] 4 months ago)
| |/
< | 660d6fa695a4 build(deps): bump actions/cache from 3 to 4 (#4797) (by Matthias Aßhauer 4 months ago)
|\ \
| |/
|/|
| < fe404de9d9b6 build(deps): bump actions/cache from 3 to 4 (by dependabot[bot] 4 months ago)
|/
< 4dd449d885ec dependabot: help keeping GitHub Actions versions up to date (#4792) (by Matthias Aßhauer 4 months ago)
|\
| < dbf9e6661f21 dependabot: help keeping GitHub Actions versions up to date (by Johannes Schindelin 4 months ago)
|/
o 9cdc4781e484 Update mimalloc to v2.1.2 (#4740) (by Johannes Schindelin 6 months ago) That's all in GitHub Actions. So it must be dependency changes. Could you compare |
Sorry, made a mistake: Working Version
Non-Working Version
package-versions.txt of git version 2.43.0.windows.1.13.g9cdc4781e4.20231221124616
package-versions.txt of git version 2.43.0.windows.1.15.g4dd449d885.20240207205310
|
The diff looks like this: diff --git a/C:/Users/johasc/AppData/Local/Temp/a1 b/C:/Users/johasc/AppData/Local/Temp/a2
index 666042bbcf6a..48b2973cbd31 100644
--- a/C:/Users/johasc/AppData/Local/Temp/a1
+++ b/C:/Users/johasc/AppData/Local/Temp/a2
@@ -1,113 +1,108 @@
apr 1.7.4-2
apr-util 1.6.3-2
gawk 5.0.0-1
-bash 5.2.021-1
+bash 5.2.026-1
bzip2 1.0.8-4
ca-certificates 20230311-1
coreutils 8.32-5
diffutils 3.10-1
docx2txt 1.4-2
-dos2unix 7.5.1-1
+dos2unix 7.5.2-1
expat 2.5.0-1
file 5.45-1
findutils 4.9.0-3
gcc-libs 13.2.0-2
-gettext 0.22.4-1
git-flow 1.12.3-1
gmp 6.3.0-1
gmp 6.3.0-1
-gnupg 2.2.42-1
+gnupg 2.4.4-1
grep 1~3.0-6
gzip 1.13-1
heimdal-libs 7.8.0-4
less 643-1
-libasprintf 0.22.4-1
libassuan 2.5.6-1
libbz2 1.0.8-4
-libcbor 0.10.2-1
+libcbor 0.11.0-1
libcrypt 2.1-5
-libcurl 8.5.0-1
+libcurl 8.6.0-1
libedit 20221030_3.1-1
libexpat 2.5.0-1
libffi 3.4.4-1
-libfido2 1.14.0-1
+libfido2 1.14.0-2
libgcrypt 1.9.4-2
-libgettextpo 0.22.4-1
-libgnutls 3.8.2-1
+libgnutls 3.8.3-1
libgpg-error 1.47-2
libhogweed 3.9.1-1
libiconv 1.17-1
-libidn2 2.3.4-2
+libidn2 2.3.7-1
libintl 0.22.4-1
libksba 1.6.5-1
liblz4 1.9.4-1
-liblzma 5.4.5-1
+liblzma 5.4.6-2
libnettle 3.9.1-1
-libnghttp2 1.58.0-1
+libnghttp2 1.59.0-1
libnpth 1.6-2
-libopenssl 3.1.4-1
+libopenssl 3.2.1-1
libp11-kit 0.25.3-1
libpcre 8.45-4
libpcre2_8 10.42-1
libpcre2posix 10.42-1
-libpsl 0.21.2-1
-libreadline 8.2.007-1
+libpsl 0.21.5-2
+libreadline 8.2.010-1
libsasl 2.1.28-3
libserf 1.3.9-8
-libsqlite 3.44.2-1
+libsqlite 3.45.1-1
libssh2 1.11.0-1
libtasn1 4.19.0-1
libunistring 1.1-2
libutil-linux 2.35.2-4
libutil-linux 2.35.2-4
libxcrypt 4.4.36-1
-libxml2 2.12.3-1
-libxslt 1.1.39-1
libzstd 1.5.5-1
mingw-w64-x86_64-antiword 0.37-3
mingw-w64-x86_64-brotli 1.1.0-1
mingw-w64-x86_64-bzip2 1.0.8-3
-mingw-w64-x86_64-c-ares 1.24.0-1
+mingw-w64-x86_64-c-ares 1.26.0-1
mingw-w64-x86_64-ca-certificates 20230311-1
mingw-w64-x86_64-connect 1.105-4
-mingw-w64-x86_64-curl-winssl 8.5.0-1
-mingw-w64-x86_64-curl-openssl-alternate 8.5.0-1
-mingw-w64-x86_64-curl-winssl 8.5.0-1
+mingw-w64-x86_64-curl-winssl 8.6.0-1
+mingw-w64-x86_64-curl-openssl-alternate 8.6.0-1
+mingw-w64-x86_64-curl-winssl 8.6.0-1
mingw-w64-x86_64-expat 2.5.0-1
-mingw-w64-x86_64-gcc-libs 13.2.0-3
-mingw-w64-x86_64-gettext 0.22.4-3
-mingw-w64-x86_64-git 2.43.0.windows.1.13.g9cdc4781e4.20231221124616-1
-mingw-w64-x86_64-git-credential-manager 2.4.1-1
-mingw-w64-x86_64-git-doc-html 2.43.0.windows.1.13.g9cdc4781e4.20231221124616-1
+mingw-w64-x86_64-gcc-libs 13.2.0-4
+mingw-w64-x86_64-gettext-runtime 0.22.4-5
+mingw-w64-x86_64-git 2.43.0.windows.1.15.g4dd449d885.20240207205310-1
+mingw-w64-x86_64-git-credential-manager 2.4.1-2
+mingw-w64-x86_64-git-doc-html 2.43.0.windows.1.15.g4dd449d885.20240207205310-1
mingw-w64-x86_64-git-extra 1.1.636.2db97b993-1
mingw-w64-x86_64-git-lfs 3.4.1-1
mingw-w64-x86_64-gmp 6.3.0-2
-mingw-w64-x86_64-gnutls 3.8.2-1
+mingw-w64-x86_64-gnutls 3.8.3-1
mingw-w64-x86_64-libffi 3.4.4-1
-mingw-w64-x86_64-libiconv 1.17-3
-mingw-w64-x86_64-libidn2 2.3.4-1
-mingw-w64-x86_64-libpsl 0.21.2-4
+mingw-w64-x86_64-libiconv 1.17-4
+mingw-w64-x86_64-libidn2 2.3.7-2
+mingw-w64-x86_64-libpsl 0.21.5-2
mingw-w64-x86_64-libssh2-wincng 1.11.0-2
mingw-w64-x86_64-libssh2-wincng 1.11.0-2
mingw-w64-x86_64-libsystre 1.0.1-5
mingw-w64-x86_64-libtasn1 4.19.0-1
-mingw-w64-x86_64-libtre-git r128.6fb7206-3
+mingw-w64-x86_64-libtre-git r177.07e66d0-2
mingw-w64-x86_64-libunistring 1.1-1
-mingw-w64-x86_64-libwinpthread-git 11.0.0.r442.ga27e7b27e-1
+mingw-w64-x86_64-libwinpthread-git 11.0.0.r551.g86a5e0f41-1
mingw-w64-x86_64-libzip 1.10.1-1
mingw-w64-x86_64-nettle 3.9.1-1
-mingw-w64-x86_64-nghttp2 1.58.0-1
+mingw-w64-x86_64-nghttp2 1.59.0-1
mingw-w64-x86_64-odt2txt 0.5-3
-mingw-w64-x86_64-openssl 3.1.4-1
-mingw-w64-x86_64-p11-kit 0.25.3-1
+mingw-w64-x86_64-openssl 3.2.1-1
+mingw-w64-x86_64-p11-kit 0.25.3-2
mingw-w64-x86_64-pcre 8.45-1
mingw-w64-x86_64-pcre2 10.42-1
-mingw-w64-x86_64-tcl 8.6.12-2
-mingw-w64-x86_64-tcl 8.6.12-2
+mingw-w64-x86_64-tcl 8.6.13-1
+mingw-w64-x86_64-tcl 8.6.13-1
mingw-w64-x86_64-tk 8.6.12-2
mingw-w64-x86_64-wineditline 2.206-1
-mingw-w64-x86_64-xz 5.4.5-1
-mingw-w64-x86_64-zlib 1.3-1
+mingw-w64-x86_64-xz 5.4.6-2
+mingw-w64-x86_64-zlib 1.3.1-1
mingw-w64-x86_64-zstd 1.5.5-1
mintty 1~3.7.0-1
mpfr 4.2.1-1
@@ -116,7 +111,7 @@ nano 7.2-1
ncurses 6.4-2
nettle 3.9.1-1
openssh 9.6p1-1
-openssl 3.1.4-1
+openssl 3.2.1-1
p11-kit 0.25.3-1
patch 2.7.6-2
perl 5.38.2-1
@@ -128,7 +123,7 @@ perl-Error 0.17029-2
perl-File-Listing 6.16-1
perl-HTML-Parser 3.81-1
perl-HTML-Tagset 3.20-3
-perl-HTTP-Cookies 6.10-2
+perl-HTTP-Cookies 6.11-1
perl-HTTP-Daemon 6.16-1
perl-HTTP-Date 6.06-1
perl-HTTP-Message 6.45-1
@@ -153,16 +148,16 @@ perl-libwww 6.72-1
perl 5.38.2-1
pinentry 1.2.1-1
sed 4.9-1
-bash 5.2.021-1
+bash 5.2.026-1
ssh-pageant 1.4.r15.gc804ba4-1
subversion 1.14.2-2
tar 1.35-2
tig 2.5.8-1
unzip 6.0-3
-vim 9.0.2143-1
+vim 9.1.0000-1
which 2.21-4
winpty 0.4.3-2
-zlib 1.3-1
+zlib 1.3.1-1
filesystem 2023.02.07-1
dash 0.5.12-1
rebase 4.5.0-4 Quite lengthy, to be sure. The most obvious candidates are |
Oh! I just realized something. To combat DLL injection attacks, there is not only a copy of |
constellation that works, exchanging BOTH files (from v2.43.0 to v2.45.2):
without also exchanging libcurl-openssl-4.dll there is another error: |
Okay, so it's either the OpenSSL update or the cURL update, and unrelated to any Git changes. I haven't found anything on the cURL bug tracker that might explain this... Can you see anything obvious? |
Sadly, there is nothing that jumps out to me. This seemed kind of similar for curl version 8.7.1 (but was "fixed" and the issure closed) Do you think I should create another Issue in curl/curl and link to here? |
It cannot hurt, for sure. |
Setup
defaults?
to the issue you're seeing?
behind corporate proxy
Details
PowerShell
Minimal, Complete, and Verifiable example
this will help us understand the issue.
clone of repository gets created locally
git clone fails with an error message : http.c:868 == Info: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
Additional verbose log
The text was updated successfully, but these errors were encountered: