Vitor Mazuco Vitor Mazuco - 7 months ago 93
Git Question

error: RPC failed; result=22, HTTP code = 408

I tried to install CDR in my Asterisk

But my django is with problem. The log is

Cloning to /tmp/pip-DpnGzP-build
error: RPC failed; result=22, HTTP code = 408
fatal: The remote end hung up unexpectedly
Complete output from command git clone -q /tmp/pip-DpnGzP-build:

Command "git clone -q /tmp/pip-DpnGzP-build" failed with error code 128 in None

How can I fix this problem with my git?

Answer from @HBHB

root@asteriskteste:/# git clone machine.git /tmp/pip-DpnGzP-build
Cloning into '/tmp/pip-DpnGzP-build'...
remote: Counting objects: 1082, done.
remote: Total 1082 (delta 0), reused 0 (delta 0), pack-reused 1082
Receiving objects: 100% (1082/1082), 225.33 KiB | 369 KiB/s, done.
Resolving deltas: 100% (597/597), done.


It's always better to run git clone without the -q option as this will suppress progress of the clone. This is important when you run into an error so you can see where it manifests itself.