RPC failed; curl 56 SSLRead() returned an error
Git failed during cloning or fetching with the following error:
git clone http://stash.company.com:7990/scm/proj/repo.git
Fatal:Early EOF
Fatal:Unexpected hang on remote side
Fatal:indexpack failed
Error:RPC failed; result=56, HTTP code = 200
Completion has errors, see above.
Diagnosis
Temporarily disable any firewall or antivirus software and try cloning again.
To turn on Git debug logging, do the following for different operating systems before using command line push:
On Linux
In Linux, execute the following command from the command line before executing the Git command:
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
On Windows
Before executing the Git command, execute the following command from the command line:
set GIT_TRACE_PACKET=1
set GIT_TRACE=1
set GIT_CURL_VERBOSE=1
Cause
Issue 1:
Error code 56 indicates that curl received a CURLE_RECV_ERROR error, which means that there is some problem in the cloning process that is preventing the data from being received. This is usually caused by network settings, firewalls, VPN clients, or antivirus software that terminates the connection before all data is transferred.
Read More:
- Git: “error: RPC failed; curl 18 transfer closed with outstanding read data remaining”
- [Solved] git error: RPC failed; curl 56 Recv failure:Connection was resetB/s
- [Solved] Git push Warning: error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
- Git Pull Error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errfno 10054
- Git push error: error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
- [Solved] Git push error: error: RPC failed; HTTP 413 curl 22 the requested URL returned error: 413
- Git push error: RPC failed; curl 7 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
- Git Error: error RPC failed; curl 56 OpenSSL SSL_read SSL_ERROR_SYSCALL, errno 10054
- git clone,pod install error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
- [Solved] Github Push Codes Error: “error:RPC failed;curl 56 OpenSSL SSL_read:SSL_ERROR_SYSCALL,errno 10054”
- Github Clone Error: RPC failed; result=56, HTTP code=200
- Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container…
- [Solved] Error while processing statement: FAILED: Execution Error, return code 3 from org.apache.
- The Ajax return value reports an error, and the spring boot development Ajax return value reports an error
- [Solved] Hive Error: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
- [Solved] HiveSQL Error: “Error while processing statement: FAILED: Execution Error, return code 2“
- [Solved] curl error while loading shared libraries libcrypto.so.1.0.0
- HIVE Error: Error: Error while processing statement: FAILED: Execution Error, return code 2 from org.apac
- How to Solve Maven Error: Return code is: 501 , ReasonPhrase:HTTPS Required.
- ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’