2

有一件奇怪的事情..我可以克隆小文件回购,但是当它开始需要一些时间时,它就挂断了。喜欢:

$ pip install -e git+https://github.com/django/django.git#egg=Django
Obtaining Django from git+https://github.com/django/django.git#egg=Django
Cloning https://github.com/django/django.git to ./virtualenvs/prp/src/django
error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
Complete output from command /usr/bin/git clone -q https://github.com/django/django.git /home/mamber/virtualenvs/prp/src/django:

----------------------------------------
Command /usr/bin/git clone -q https://github.com/django/django.git     /home/mamber/virtualenvs/prp/src/django failed with error code 128 in None
Storing complete log in /home/mamber/.pip/pip.log

我已经尝试过其他一些公共回购并得到相同的结果。我也尝试只克隆 repo,没有 virtualenv 和 pip,结果相同:

$ git clone https://github.com/django/django.git
Cloning into 'django'...
error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly

也许我需要更改一些超时配置。等待时,我的系统监视器中没有看到任何流量。

我在全新安装的 Linux Mint 中执行此操作,并使用全新安装的 apt-get install git(没有配置)。

有任何想法吗?

4

0 回答 0