curl: (56) Recv failure: 下载 repo 时由对等方重置连接 [英] curl: (56) Recv failure: Connection reset by peer while download repo

查看:172
本文介绍了curl: (56) Recv failure: 下载 repo 时由对等方重置连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行这个命令时:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

进入终端下载repo,失败并提示以下错误:

into the terminal to download repo, it fails with the following error:

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

为什么以及如何最终成功下载 repo(以获取 Android 源)?

Why and how to finally succeed in downloading repo (to get the Android sources)?

推荐答案

该命令在这里工作得很好.检查您的网络设置.你在什么操作系统上运行?您是否已确认您有互联网连接?

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?

这篇关于curl: (56) Recv failure: 下载 repo 时由对等方重置连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆