Closed 89ao closed 2 weeks ago
我们的 rsync 服务不会返回 HTTP 错误码,请检查你自己的代理设置
非常感谢,主要是取消proxy了之后直接报无法连接,所以才用proxy试试,请问这里有连接上的限制策略吗?
# /usr/bin/rsync -rtlzv -P --delete rsync://mirrors.ustc.edu.cn/rubygems/ ./test/
rsync: failed to connect to mirrors.ustc.edu.cn (202.141.160.110): Connection refused (111)
rsync: failed to connect to mirrors.ustc.edu.cn (2001:da8:d800:95::110): Network is unreachable (101)
rsync error: error in socket IO (code 10) at clientserver.c(128) [Receiver=3.1.3]
[root@VM-12-12-centos ~]# curl mirrors.ustc.edu.cn/rubygems/
<html>
<head><title>Index of /rubygems/</title></head>
<body>
<h1>Index of /rubygems/</h1><hr><pre><a href="../">../</a>
<a href="gems/">gems/</a> 01-Sep-2024 06:13 -
<a href="quick/">quick/</a> 23-Apr-2020 17:05 -
<a href="latest_specs.4.8">latest_specs.4.8</a> 01-Sep-2024 06:11 5065205
<a href="latest_specs.4.8.gz">latest_specs.4.8.gz</a> 01-Sep-2024 06:11 1541363
<a href="prerelease_specs.4.8">prerelease_specs.4.8</a> 01-Sep-2024 06:11 1840495
<a href="prerelease_specs.4.8.gz">prerelease_specs.4.8.gz</a> 01-Sep-2024 06:11 411305
<a href="specs.4.8">specs.4.8</a> 01-Sep-2024 06:11 21625933
<a href="specs.4.8.gz">specs.4.8.gz</a> 01-Sep-2024 06:11 5436694
<a href="versions">versions</a> 01-Sep-2024 06:11 20359940
<a href="versions.md5sum">versions.md5sum</a> 01-Sep-2024 06:11 54
</pre><hr></body>
</html>
@iBug
请阅读 https://mirrors.ustc.edu.cn/help/rsync-guide.html
如需使用 rsync 协议访问科大开源镜像站,请使用 rsync 专用的域名:rsync.mirrors.ustc.edu.cn。
@taoky tao 非常感谢提供文档,问题已解决,多谢!
问题描述 / Bug description
/usr/bin/rsync -rtlzv -P --delete rsync://mirrors.ustc.edu.cn/rubygems/ /backup-repo/rubygems/
bad response from proxy -- HTTP/1.1 503 Service Unavailable rsync error: error in socket IO (code 10) at clientserver.c(127) [Receiver=3.1.3]
请问这个是什么原因?