2015-11-24 348 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

相關問題