Questions
Use git command to clone Android kernel from Tsinghua open source software image station in Ubuntu, but the following error is reported:
$ git clone https://aosp.tuna.tsinghua.edu.cn/kernel/goldfish
Cloning into 'goldfish'...
remote: Enumerating objects: 116, done.
remote: Counting objects: 100% (116/116), done.
remote: Compressing objects: 100% (69/69), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Treatment method
After querying some blogs, this error is summed up as the reason why the file is too large
According to the method of the first problem in reference 1, execute the following commands respectively to solve the problem:
Set git minimum speed
$ git config --global http.lowSpeedLimit 0
$ git config --global http.lowSpeedTime 999999
Set http cache
$ git config --global http.postBuffer 1048576000
Among them, postbuffer is used to set HTTP cache, which can be set larger, such as 1g: git config — global http.postbuffer 1048576000, or 3G 3194304000
Read More:
- How to Solve Git clone Error: error: RPC failed; result=35, HTTP code = 0
- Git Clone Error: ‘fatal: HTTP request failed‘
- Git Clone RPC failed;curl 18 transfer closed with outstanding read data remaining
- [Solved] Git Clone Failed Error: 4069 bytes of body are still expected
- How to Solve Android Linux5.10 Kernel do_gettimeofday Function Error
- Github Clone Failed SSL_ERROR_SYSCALL in connection to github.com:443
- [ERROR SystemVerification]: failed to parse kernel config: unable to load kernel module: “configs“
- [Solved] ERROR: Command errored out with exit status 128: git clone -q
- [Solved] fatal: not a git repository (or any of the parent directories): .git
- [Solved] linux kernel load driver Error: module verification failed: signature and/or required key missing – tainting kernel
- Git Error: remote: HTTP Basic: Access denied [How to Solve]
- [Solved] git error – remote: http basic: access denied
- How to Solve Git Filename too long Error
- [Solved] Shell error: syntax error: unexpected end of file
- How to Solve Ubuntu “Failed to fetch” Error
- [Solved] Ubuntu tab Error: _complete:96: bad math expression: operand expected at end of string
- Ubuntu shell Script syntax error near unexpected token `$‘{\r‘‘
- How to open X Display on the server side (locally operable remote interface)
- Git: How to delete stash content
- [Solved] Git push error: failed to push some refs to ‘[email protected]:daisy_yangyang/fed-e-task-04-01.git‘