Error: RPC failed; result = 6, HTTP code = 0

On my intermediate server running Ubuntu, I am running git pull , I kept getting:

error: RPC error; result = 6, HTTP code = 0 fatal: the remote end hung up unexpectedly

I increased the Git s HTTP buffer by setting.

git config --global http.postBuffer 2M

and do git pull again and still get the same error.

How to fix this to execute my git pull again?

+6
source share
1 answer

This may mean that either the host cannot be resolved (you can check this, for example, by checking it), or this curl is not installed ( apt-get install curl or yum install curl )

0
source

All Articles