jueves, 10 de noviembre de 2016

Git clone error: RPC failed; result=22, HTTP code = 500

The other day I was trying to clone a repository with no success, the errr I received was:

$ git clone https://githost/username/repository.git

error: RPC failed; result=22, HTTP code = 500
fatal: The remote end hung up unexpectedly

After a search I found that if you are pretty sure about your connection account and url the problem is with http.postBuffer. To increase the http.postBuffer you should execute the following command:

git config --global http.postBuffer 524288000


The number 524288000 could change according to your necessities.

After that you can run git clone without troubles.

No hay comentarios.:

Publicar un comentario