2015-11-24 351 views
0

我试图在我的星号安装CDR错误:RPC失败;结果= 22,HTTP代码= 408

但我的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

[email protected]:/# 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

尝试再次克隆没有'-q'标志并发布输出 – houtanb

+0

是的,我认为这解决了它? –

+0

我不确定这些都是你的问题,但该回购转移到'django-cache-machine/django-cache-machine',并且Github只能用于https这些天(但它应该将http重定向到https为你)。 –

回答

1

回答它总是最好不-q选项运行git clone,因为这将打压克隆的进度。当遇到错误时,这一点很重要,以便您可以看到它在哪里出现。

+0

非常感谢 –

+1

没问题.... :) – houtanb

相关问题