As is shown above, I use the following command to clone code
git clone -b Copter-3.5.6 https://github.com/ArduPilot/ardupilot.git
and the speed of cloning is very slow, only several Kb/s sometimes
At last, there will be some error messages as following:
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
or as following:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
I have tried four methods but they all didn’t work :
- git config --global http.postBuffer 5242880000
- git config http.sslVerify “false”
- git init
- add “–depth 1” after the git clone command
I don’t know why,the clone went smoothly last semester.
Maybe the campus wireless network has more restrictions this semester?