Git cloning process failes with curl 56 error

我们两清 提交于 2019-12-23 12:43:04

问题


When I try to clone the repository from TFS, I ended up with the below error :

Cloning into 'Repo'...
error: RPC failed; curl 56 Illegal or missing hexadecimal sequence in chunked-encoding
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Tried many solutions by increasing buffer size but none of them worked for me.


回答1:


I had the same problem while commiting/pushing and The remote end hung up unexpectedly while git cloning helped by raising the buffer with a command like

git config --global http.postBuffer 524288000



回答2:


There is a similar error during Git clone process Git Clone Fails - error: RPC failed; result=56, HTTP code = 200 Please try the solution in the link.

Execute the following in the command line before executing the Git command:

1  set GIT_TRACE_PACKET=1

2  set GIT_TRACE=1

3  set GIT_CURL_VERBOSE=1



回答3:


The problem is maybe the type of compression used, try different type of compression :

git config --global core.compression 1

or

git config --global core.compression 9

or

git config --global core.compression 0

or

git config --global core.compression 6

Chances are one of thoses will solve your problem



来源:https://stackoverflow.com/questions/37277314/git-cloning-process-failes-with-curl-56-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!