Git clone RPC failed; Curl 18 transfer closed with outstanding read data remaining error
Cause 1: buffer overflow
Solution: command line input
git config http.postBuffer 524288000
If the clone fails after executing the above command, consider possible cause 2: slow network download speed
Solution: command line input
git config --global http.lowSpeedLimit 0 git config --global http.lowSpeedTime 999999
If the clone still fails, first shallow clone, and then update the remote library locally
git clone --depth=1 http://gitlab.xxx.cn/yyy/zzz.git git fetch --unshallow
Similar Posts:
- Git Fatal: The remote end hung up unexpectedly [How to Solve]
- Git Error: RPC failed, curl 18 transfer closed with outstanding read data remaining
- error: RPC failed; curl 18 transfer closed with outstanding read data remaining
- [Solved] Gitlab can clone via SSH, cannot clone via HTTP, and cannot pipeline. Prompt port 80: connection rejected
- Git: How to Solve Authentication failed
- Git :git – error: RPC failed; curl 18 transfer closed with outstanding read data remaining
- [Solved] sourceTree pull code error: remote: HTTP Basic: Access denied
- [Solved] Git Clone Error: Please make sure you have the correct access rights and the repository exists.
- How to Solve Gitlab Error: remote: The project you were looking for could not be found.
- fatal:’origin’ does not appear to be a git repository fatal:Could not read from remote re…