问题
When I run this command:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
into the terminal to download repo, it fails with the following error:
curl: (56) Recv failure: Connection reset by peer while download repo
Why and how to finally succeed in downloading repo (to get the Android sources)?
回答1:
That command works just fine here. Check your network settings. What operating system are you running on? Have you verified that you have internet connectivity?
来源:https://stackoverflow.com/questions/20835455/curl-56-recv-failure-connection-reset-by-peer-while-download-repo