curl: (56) Recv failure: Connection reset by peer while download repo

巧了我就是萌 提交于 2019-12-25 02:33:14

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!