Error: RPC failed; curl 18 transfer closed with standing read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index pack failed
If git item is too large, this error may occur when pulling code.
Error cause analysis
git has two ways to pull code, one is HTTP, the other is SSH. The HTTP bottom layer of Git is through curl. The bottom layer of HTTP is based on TCP, and the implementation of TCP protocol has buffer.
so this error basically means that the connection has been closed, but there is unfinished data at this time.
Solution
increase the buffer size.
after cutting to git project directory, execute the following command,
//The unit of 524288000 represents B, and 524288000b is 500MB.
//the size of this value can be set by yourself.
git config –-global http.postBuffer 524288000
and then check whether the setting is successful,
git config –list | grep postbuffer
If none of the above works, use below:
The configuration is as follows:
$ git config –global http.postBuffer twenty-four million two hundred and eighty-eight thousand
$ git config –list
Read More:
- Git push error: error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
- Git Pull Error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errfno 10054
- 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] git error: RPC failed; curl 56 Recv failure:Connection was resetB/s
- [Solved] Git push error: error: RPC failed; HTTP 413 curl 22 the requested URL returned error: 413
- [Solved] Git push Warning: error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
- [Solved] Github Push Codes Error: “error:RPC failed;curl 56 OpenSSL SSL_read:SSL_ERROR_SYSCALL,errno 10054”
- RPC failed; curl 56 SSLRead() return error
- Github Clone Error: RPC failed; result=56, HTTP code=200
- [Solved] fatal: not in a git directory Error: Command failed with exit 128: git
- Solve the data transfer between vue irrelevant components error: this.$store.commit is not a function
- [Solved] Git OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
- Spark ERROR client.TransportResponseHandler: Still have 1 requests outstanding when connection from
- [Solved] Hbase …ERROR: Unable to read .tableinfo from file:/hbaseData/data/default/table1/xxxx
- [Solved] Mac M1 Brew install Error: Command failed with exit 128:git
- [Solved] Failed to load response data: no data found for resource with given identifier
- [Solved] Git Push Error: &fatal: the remote end hung up unexpectedly
- Git pull and Git pull origin master Warning: Pulling without specifying how to reconcile divergent branches