When using git to update or submit a project, “fatal: the remote end hung up unexpectedly” appears because the pushed file is too large
That’s simple, either the cache is not enough, or the network is not good, or the wall is the reason
Especially when the resource pool is abroad. This problem may be caused by the network
Method 1:
Modify the commit cache size to 500m or larger
git config –global http.postBuffer 524288000
# some comments below report having to double the value:
git config –global http.postBuffer 1048576000
Or modify the generated config file under the. Git directory generated by clone/create version library and add it as follows:
[http]
postBuffer = 524288000
It is amended as follows:
Then push again
Method 2:
Configure the minimum speed and minimum speed time of GIT:
Git config — global http.lowspeedlimit 0
git config — global http.lowspeedtime 999999 unit second
— the global configuration is effective for the current user. If it needs to be effective for all users, use — system
Method 3:
fatal: the remote end hung up unexpected lyb | 2.00 KIB/s
Mine is like this, with | 2.00kib/s at the back
This sentence shows that the remote end is suspended | 2kib/s
It should be due to the wall that the network speed is too slow, and the project is a little too big to upload
Similar Posts:
- Git clone Error: RPC failed; curl 18 transfer closed with outstanding read data remaining
- [Quickly Solved] The remote end hung up unexpectedly while git cloning
- [Solved] Git Submit Error: (OpenSSL SSL_read: Connection was reset, errno 10054)
- Git :git – error: RPC failed; curl 18 transfer closed with outstanding read data remaining
- RPC failed; curl 56 SSLRead() return error -9806
- Git Error: RPC failed, curl 18 transfer closed with outstanding read data remaining
- Git Error: fatal protocol error bad pack header [How to Solve]
- Failed to connect to github.com port 443:connection timed out
- [Solved] Fatal: the remote end hung up unexpectedly reported when Git push
- [Solved] Github Push Error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443