阿里云 ECS ubuntu 用清华大学源被重定向到 mirrors.aliyun.com

2016-12-31 11:18:01 +08:00
 imydou

换了源之后,不能 update 。 dns 修改成 8.8.8.8 无效, ping mirrors.tuna.tsinghua.edu.cn 返回的 IP 正确。 有解决方案吗?

root@12313132131:~# apt update

Err:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease

Failed to connect to mirrors.aliyun.com port 443: Connection timed out

Err:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease

Failed to connect to mirrors.aliyun.com port 443: Connection timed out

Err:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease

Failed to connect to mirrors.aliyun.com port 443: Connection timed out

Err:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease

Failed to connect to mirrors.aliyun.com port 443: Connection timed out

0% [Working]^C

13793 次点击
所在节点    云计算
18 条回复
Flygoat
2016-12-31 11:39:20 +08:00
无解。。。阿狸只是想省点流量,顺便给你速度快点(内网源不限速)
akwIX
2016-12-31 12:09:59 +08:00
去修改 /etc/apt 里的所有文件
把和阿里有关的都删了
Tink
2016-12-31 12:17:51 +08:00
这个有区别吗
zsj950618
2016-12-31 12:20:08 +08:00
这是清华源给你做的转跳的吧。。。不然 https 怎么可能给你劫持,或者你系统被植入了阿里云的 CA
Yc1992
2016-12-31 12:25:37 +08:00
非教育网用户还是用商业公司的源吧
shankerwangmiao
2016-12-31 12:32:20 +08:00
您好,我是清华大学开源镜像站的管理员,得知您在使用我们的镜像站的时候遇到了问题,我感到很抱歉。请您作以下尝试:

执行 curl -v https://mirrors.tuna.tsinghua.edu.cn/ubuntu/;

然后将返回的结果和其他有助于排查问题的信息发送至 support#tuna.tsinghua.edu.cn ,或者跟帖发送。
Akesudia
2016-12-31 12:37:39 +08:00
全球最大工单系统果然厉害。。
0915240
2016-12-31 13:30:10 +08:00
工单
taineric
2016-12-31 13:39:10 +08:00
@zsj950618 都连接失败了。。
fsgmhoward
2016-12-31 13:39:40 +08:00
666
Zohar
2016-12-31 13:39:58 +08:00
imydou
2016-12-31 14:04:32 +08:00
@shankerwangmiao

curl -v https://mirrors.tuna.tsinghua.edu.cn/ubuntu/;
* Trying 166.111.206.178...
* Connected to mirrors.tuna.tsinghua.edu.cn (166.111.206.178) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 692 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: *.tuna.tsinghua.edu.cn (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: OU=Domain Control Validated,CN=*.tuna.tsinghua.edu.cn
* start date: Mon, 03 Nov 2014 13:19:40 GMT
* expire date: Sun, 03 Nov 2019 04:11:15 GMT
* issuer: C=BE,O=GlobalSign nv-sa,CN=AlphaSSL CA - SHA256 - G2
* compression: NULL
* ALPN, server did not agree to a protocol
> GET /ubuntu/ HTTP/1.1
> Host: mirrors.tuna.tsinghua.edu.cn
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.10.2
< Date: Sat, 31 Dec 2016 06:03:45 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
< Strict-Transport-Security: max-age=31536000
< X-TUNA-MIRROR-ID: nanomirrors
<
<html>
<head><title>Index of /ubuntu/</title></head>
<body bgcolor="white">
<h1>Index of /ubuntu/</h1><hr><pre><a href="../">../</a>
<a href="dists/">dists/</a> 18-Oct-2016 08:56 -
<a href="indices/">indices/</a> 31-Dec-2016 03:38 -
<a href="pool/">pool/</a> 27-Feb-2010 06:30 -
<a href="project/">project/</a> 28-Jun-2013 11:52 -
<a href="ubuntu/">ubuntu/</a> 31-Dec-2016 04:03 -
<a href="ls-lR.gz">ls-lR.gz</a> 31-Dec-2016 03:58 15081865
</pre><hr></body>
</html>
* Connection #0 to host mirrors.tuna.tsinghua.edu.cn left intact
imydou
2016-12-31 14:06:24 +08:00
@akwIX 感谢,已解决
Famio
2016-12-31 23:41:32 +08:00
阿里云的 server agent 会修改 apt 的 proxy 啊……涨知识了。
shankerwangmiao
2017-01-01 02:20:58 +08:00
@imydou 需要您的这个结果主要是为了验证阿里云有没有在劫持我们的服务器。这种行为一经发现,我们将保留采取强硬措施的权利。

感谢您的反馈。
Balthild
2017-01-02 13:41:05 +08:00
这都能工单到, 66666
LoliconInside
2017-01-06 17:00:45 +08:00
全球最大云工单系统
G900
2017-02-06 01:27:37 +08:00
阿里云的渣渣镜像服务器,自己挂了不能用,我改了源还是不行,原来是自己加的代理,真是服了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/331412

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX