今天是做离线冷备的日子,顺便更新 rpm 包的时候,发现 dnf 频繁出现以下错误
Failed to synchronize cache for repo 'elrepo', ignoring this repo.
Failed to synchronize cache for repo 'elrepo-extras', ignoring this repo.
Failed to synchronize cache for repo 'updates', ignoring this repo.
Failed to synchronize cache for repo 'extras', ignoring this repo.
好不容易同步成功,下载包又出现如下错误
Total download size: 9527 k
Is this ok [y/N]: y
Downloading Packages:
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
Curl error (35): SSL connect error for https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir [TCP connection reset by peer]
最初以为是机房又被打了,经询问得知网络正常,于是 curl 得到以下结果
curl -v https://mirrors.fedoraproject.org
* About to connect() to mirrors.fedoraproject.org port 443 (#0)
* Trying 38.145.60.20...
* Connected to mirrors.fedoraproject.org (38.145.60.20) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -5961 (PR_CONNECT_RESET_ERROR)
* TCP connection reset by peer
* Closing connection 0
curl: (35) TCP connection reset by peer
第一反应是被 CDN 屏蔽这台服务器的 IP 了,于是让机房加了另一个段,但一样报错
随后又用腾讯云、百度云、京东云和其它机房测试,均出现类似错误,香港机器则正常
1
mhycy 2021-07-21 17:13:49 +08:00
运维看到 reset 第一反应不应该是防火墙么?
|
2
learningman 2021-07-21 17:15:23 +08:00 via Android
是的,今天早上一觉起来所有海外服务器全失联,人都傻了,还以为自己还在做噩梦。。。
|
3
ragnaroks OP |
4
ruixue 2021-07-21 17:43:49 +08:00 1
从本月 8 日开始,电信 163 网出口频频被重置连接。有网友称在 12 日重置现象好转,开始恢复到正常水平,而 14 日重置频率再度提升
亦有网友通过网络探针日志表明,这一现象实际未见显著好转,经常捕获到 Connection Reset 状态 海外回国访问用户受此影响较大,此外它还严重干扰到了跨境 API 调用需求的用户 ——有可能是最近 163 出口随机劣化跨境流量的锅,参考 /t/788719 |
5
love 2021-07-21 18:47:26 +08:00
看这个帖 https://www.v2ex.com/t/788719
我的对外网有连接的程序也是,十几天了,中间就好用二三天没 reset,这几天又 reset 上了 好在这个 reset 不是完全一点不通,否则就是白名单到来了👿 |
7
AngryPanda 2021-07-21 20:45:32 +08:00 via iPhone
跨境访问,出境入境流量均会如此
|