open-mmlab / mmaction

An open-source toolbox for action understanding based on PyTorch
https://open-mmlab.github.io/
Apache License 2.0
1.86k stars 353 forks source link

error: RPC failed; curl 52 Empty reply from server #118

Open SkySailing opened 4 years ago

SkySailing commented 4 years ago

image it's get wrong when clone the reporsitory easylogging++ the error log is as below:

Cloning into 'include/easylogging++'...
error: RPC failed; curl 52 Empty reply from server
fatal: The remote end hung up unexpectedly
fatal: clone of 'https://github.com/easylogging/easyloggingpp' into submodule path 'include/easylogging++' failed
Failed to recurse into submodule path 'third_party/dense_flow'
The command '/bin/sh -c git config --global http.postBuffer 2000000000 && git clone --recursive https://github.com/open-mmlab/mmaction.git' returned a non-zero code: 128

the command line in the docker file is Step 9/14 : RUN git config --global http.postBuffer 2000000000 && git clone --recursive https://github.com/open-mmlab/mmaction.git

mynameismaxz commented 4 years ago

Hi @SkySailing ,

I cannot see about step 9/14 to run git config --global http.postBuffer 20k. So could you attach link of Dockerfile when you see in this step?

SkySailing commented 4 years ago

Hi @SkySailing ,

I cannot see about step 9/14 to run git config --global http.postBuffer 20k. So could you attach link of Dockerfile when you see in this step?

https://github.com/open-mmlab/mmaction/blob/master/Dockerfile

thanks for your reply.

i solve this problem by replace the git clone by "COPY ./mmaction_copy /mmaction_copy " in dockerfile to avoid the download things.

mynameismaxz commented 4 years ago

Hi @SkySailing , I cannot see about step 9/14 to run git config --global http.postBuffer 20k. So could you attach link of Dockerfile when you see in this step?

https://github.com/open-mmlab/mmaction/blob/master/Dockerfile

thanks for your reply.

i solve this problem by replace the git clone by "COPY ./mmaction_copy /mmaction_copy " in dockerfile to avoid the download things.

It maybe cannot clone this repository in container file. I have tested with digitalocean to build then it passed. Could you check about your proxy and connection?