错误:RPC失败; result = 22,HTTP代码= 408

时间:2015-11-24 17:19:56

标签: django git

我尝试在我的Asterisk中安装CDR

但我的django有问题。日志是

Cloning http://github.com/jbalogh/django-cache-machine.git 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 http://github.com/jbalogh/django-cache-machine.git /tmp/pip-DpnGzP-build:

 ----------------------------------------
Command "git clone -q http://github.com/jbalogh/django-cache-machine.git /tmp/pip-DpnGzP-build" failed with error code 128 in None

如何使用我的git修复此问题?

来自@HBHB的答案

 root@asteriskteste:/# git clone http://github.com/jbalogh/django-cache- 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. 

1 个答案:

答案 0 :(得分:1)

在没有git clone选项的情况下运行-q总是更好,因为这会抑制克隆的进度。当您遇到错误时,这很重要,这样您就可以看到它显示在哪里。