Skip to content

git clone error : RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0 #4997

Open
@tgemvz

Description

@tgemvz
  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

git version 2.45.2.windows.1
cpu: x86_64
built from commit: 91d03cb2e4fbf6ad961ace739b8a646868cb154d
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 10.0.19045.4412]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
> type "$env:USERPROFILE\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

Editor Option: VisualStudioCode
Custom Editor Path:
Default Branch Option: main
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: WinSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Disabled
Enable Pseudo Console Support: Disabled
Enable FSMonitor: Disabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

behind corporate proxy

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

PowerShell

git clone https://[orgname]@dev.azure.com/[orgname]/[project]/_git/[repo]
  • What did you expect to occur after running these commands?

clone of repository gets created locally

  • What actually happened instead?

git clone fails with an error message : http.c:868 == Info: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0

Additional verbose log

14:49:22.803476 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
14:49:22.817429 git.c:465               trace: built-in: git clone https://[orgname]@dev.azure.com/[orgname]/[project]/_git/[repo]
Cloning into '[repo]'...
14:49:22.858109 run-command.c:657       trace: run_command: git remote-https origin https://[orgname]@dev.azure.com/[orgname]/[project]/_git/[repo]
14:49:22.879146 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:22.888111 git.c:750               trace: exec: git-remote-https origin https://[orgname]@dev.azure.com/[orgname]/[project]/_git/[repo]
14:49:22.888111 run-command.c:657       trace: run_command: git-remote-https origin https://[orgname]@dev.azure.com/[orgname]/[project]/_git/[repo]
14:49:22.911111 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:22.942114 http.c:868              == Info: Couldn't find host dev.azure.com in the .netrc file; using defaults
14:49:22.951756 http.c:868              == Info: Host [proxy]:[port] was resolved.
14:49:22.952756 http.c:868              == Info: IPv6: (none)
14:49:22.952756 http.c:868              == Info: IPv4: [proxyIP]
14:49:22.952756 http.c:868              == Info:   Trying [proxyIP]:[port]...
14:49:22.976758 http.c:868              == Info: Connected to [proxy] ([proxyIP]) port [port]
14:49:22.976758 http.c:868              == Info: CONNECT tunnel: HTTP/1.1 negotiated
14:49:22.976758 http.c:868              == Info: allocate connect buffer
14:49:22.979756 http.c:868              == Info: Proxy auth using NTLM with user ''
14:49:22.979756 http.c:868              == Info: Establish HTTP proxy tunnel to dev.azure.com:443
14:49:22.990756 http.c:868              == Info: CONNECT phase completed
14:49:22.990756 http.c:868              == Info: CONNECT tunnel established, response 200
14:49:22.990756 http.c:868              == Info: ALPN: curl offers h2,http/1.1
14:49:22.991786 http.c:868              == Info: TLSv1.3 (OUT), TLS handshake, Client hello (1):
14:49:23.010933 http.c:868              == Info:  CAfile: [pemFilePath]
14:49:23.010933 http.c:868              == Info:  CApath: none
14:49:23.012225 http.c:868              == Info: TLSv1.3 (IN), TLS handshake, Server hello (2):
14:49:23.012225 http.c:868              == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
14:49:23.015177 http.c:868              == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
14:49:23.015726 http.c:868              == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
14:49:23.017894 http.c:868              == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
14:49:23.017894 http.c:868              == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
14:49:23.017894 http.c:868              == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
14:49:23.021402 http.c:868              == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
14:49:23.021402 http.c:868              == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / secp384r1 / rsaEncryption
14:49:23.021402 http.c:868              == Info: ALPN: server did not agree on a protocol. Uses default.
14:49:23.021402 http.c:868              == Info: Server certificate:
14:49:23.022504 http.c:868              == Info:  subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; CN=dev.azure.com
14:49:23.022504 http.c:868              == Info:  start date: Mar 27 20:48:07 2024 GMT
14:49:23.022504 http.c:868              == Info:  expire date: Sep 23 20:48:07 2024 GMT
14:49:23.023016 http.c:868              == Info:  subjectAltName: host "dev.azure.com" matched cert's "dev.azure.com"
14:49:23.023016 http.c:868              == Info:  issuer: C=CH; ST=ZH; L=ZH; O=[CorporationName]; OU=[OU Name] ; CN=[CN]; emailAddress=[ITEmailAdress]
14:49:23.023016 http.c:868              == Info:  SSL certificate verify ok.
14:49:23.023016 http.c:868              == Info:   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
14:49:23.023016 http.c:868              == Info:   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
14:49:23.023016 http.c:868              == Info: using HTTP/1.x
14:49:23.024016 http.c:868              == Info: Request completely sent off
14:49:23.121015 http.c:868              == Info: Ignoring the response-body
14:49:23.121015 http.c:868              == Info: Connection #0 to host [proxy] left intact
14:49:23.121015 http.c:868              == Info: Issue another request to this URL: 'https://[orgname]@dev.azure.com/[orgname]/[project]/_git/[project]/info/refs?service=git-upload-pack'
14:49:23.121015 http.c:868              == Info: Couldn't find host dev.azure.com in the .netrc file; using defaults
14:49:23.121015 http.c:868              == Info: Found bundle for host: 0x1f8d5466040 [serially]
14:49:23.121015 http.c:868              == Info: Can not multiplex, even if we wanted to
14:49:23.121015 http.c:868              == Info: Re-using existing connection with proxy [proxy]
14:49:23.122014 http.c:868              == Info: Server auth using Basic with user '[orgname]'
14:49:23.122014 http.c:868              == Info: Request completely sent off
14:49:23.184670 http.c:868              == Info: Authentication problem. Ignoring this.

14:49:23.186669 http.c:868              == Info: Connection #0 to host [proxy] left intact
14:49:23.186669 run-command.c:657       trace: run_command: 'git credential-manager get'
14:49:23.251288 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:23.260288 git.c:750               trace: exec: git-credential-manager get
14:49:23.261289 run-command.c:657       trace: run_command: git-credential-manager get
14:49:23.361417 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:23.371416 git.c:465               trace: built-in: git config --null --list
14:49:23.524251 http.c:868              == Info: Found bundle for host: 0x1f8d5466040 [serially]
14:49:23.524251 http.c:868              == Info: Can not multiplex, even if we wanted to
14:49:23.524251 http.c:868              == Info: Re-using existing connection with proxy [proxy]
14:49:23.524251 http.c:868              == Info: Server auth using Basic with user '[UserEmailAdress]'
14:49:23.524783 http.c:868              == Info: Request completely sent off
14:49:23.821775 http.c:868              == Info: Connection #0 to host [proxy] left intact
14:49:23.821775 run-command.c:657       trace: run_command: 'git credential-manager store'
14:49:23.897409 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:23.906409 git.c:750               trace: exec: git-credential-manager store
14:49:23.906409 run-command.c:657       trace: run_command: git-credential-manager store
14:49:23.995027 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:24.001028 git.c:465               trace: built-in: git config --null --list
14:49:24.152702 run-command.c:657       trace: run_command: 'git credential-manager store'
14:49:24.216791 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:24.225791 git.c:750               trace: exec: git-credential-manager store
14:49:24.225791 run-command.c:657       trace: run_command: git-credential-manager store
14:49:24.319423 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:24.325424 git.c:465               trace: built-in: git config --null --list
14:49:24.476084 pkt-line.c:86           packet:          git< # service=git-upload-pack
14:49:24.476084 pkt-line.c:86           packet:          git< 0000
14:49:24.476084 pkt-line.c:86           packet:          git< 284375f673bb7bb2c3574f1896eb590b2da64843 HEAD\0 multi_ack thin-pack side-band side-band-64k no-progress multi_ack_detailed no-done shallow allow-tip-sha1-in-want filter symref=HEAD:refs/heads/main
14:49:24.476084 pkt-line.c:86           packet:          git< 284375f673bb7bb2c3574f1896eb590b2da64843 refs/heads/main
14:49:24.500085 run-command.c:657       trace: run_command: git fetch-pack --stateless-rpc --stdin --lock-pack --thin --check-self-contained-and-connected --cloning https://[orgname]@dev.azure.com/[orgname]/[project]/_git/[project]/
14:49:24.523085 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:24.537085 git.c:465               trace: built-in: git fetch-pack --stateless-rpc --stdin --lock-pack --thin --check-self-contained-and-connected --cloning https://[orgname]@dev.azure.com/[orgname]/[project]/_git/[project]/
14:49:24.538084 pkt-line.c:86           packet:   fetch-pack< 284375f673bb7bb2c3574f1896eb590b2da64843 refs/heads/main
14:49:24.546086 http.c:868              == Info: Found bundle for host: 0x1f8d5466040 [serially]
14:49:24.546086 http.c:868              == Info: Can not multiplex, even if we wanted to
14:49:24.547084 http.c:868              == Info: Re-using existing connection with proxy [proxy]
14:49:24.547084 http.c:868              == Info: Server auth using Basic with user '[UserEmailAdress]'
14:49:24.548085 http.c:815              => Send header, 0000000412 bytes (0x0000019c)
14:49:24.548085 http.c:827              => Send header: POST /[orgname]/[project]/_git/[project]/git-upload-pack HTTP/1.1
14:49:24.548085 http.c:827              => Send header: Host: dev.azure.com
14:49:24.548085 http.c:827              => Send header: Authorization: Basic <redacted>
14:49:24.548085 http.c:827              => Send header: User-Agent: git/2.45.1.windows.1
14:49:24.548085 http.c:827              => Send header: Accept-Encoding: deflate, gzip, br, zstd
14:49:24.548085 http.c:827              => Send header: Content-Type: application/x-git-upload-pack-request
14:49:24.548085 http.c:827              => Send header: Accept: application/x-git-upload-pack-result
14:49:24.548085 http.c:827              => Send header: Content-Length: 364
14:49:24.548085 http.c:827              => Send header:
14:49:24.548085 http.c:868              == Info: upload completely sent off: 364 bytes
14:49:25.870141 pkt-line.c:86           packet:   fetch-pack< NAK
14:49:25.870141 pkt-line.c:86           packet:   fetch-pack> 0000
14:49:25.871142 pkt-line.c:86           packet:     sideband< \2Azure Repos
remote: Azure Repos
14:49:25.871142 pkt-line.c:86           packet:     sideband< \2\15Found 1385 objects to send. (93 ms)
remote: Found 1385 objects to send. (93 ms)
14:49:25.871142 pkt-line.c:86           packet:     sideband< PACK ...
14:49:25.878124 run-command.c:657       trace: run_command: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 78064 on [hostname]' --check-self-contained-and-connected --pack_header=2,1385
14:49:25.898248 exec-cmd.c:243          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
14:49:25.908248 git.c:465               trace: built-in: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 78064 on [hostname]' --check-self-contained-and-connected --pack_header=2,1385
14:49:25.932242 http.c:868              == Info: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
14:49:25.933242 http.c:868              == Info: Closing connection
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
14:49:25.935365 pkt-line.c:86           packet:     sideband< 0000
Receiving objects: 100% (1385/1385), 292.44 KiB | 12.71 MiB/s, done.
Resolving deltas: 100% (886/886), done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions