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

vps网友提供 12-31 讨论归档 18

换了源之后,不能 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

本文由 vps网友提供,转载请注明出处

本文链接: https://www.vpsvsvps.com/discuss/a/1676471799207956480.html

标签:
G900
02-06

阿里云的渣渣镜像服务器,自己挂了不能用,我改了源还是不行,原来是自己加的代理,真是服了。

LoliconInside

全球最大云工单系统

Balthild
01-02

这都能工单到, 66666

shankerwangmiao

@imydou 需要您的这个结果主要是为了验证阿里云有没有在劫持我们的服务器。这种行为一经发现,我们将保留采取强硬措施的权利。

感谢您的反馈。

Famio
12-31

阿里云的 server agent 会修改 apt 的 proxy 啊……涨知识了。

imydou
12-31

@akwIX 感谢,已解决

imydou
12-31

@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

fsgmhoward
12-31

666

taineric
12-31

@zsj950618 都连接失败了。。

0915240
12-31

工单

Akesudia
12-31

全球最大工单系统果然厉害。。

shankerwangmiao

您好,我是清华大学开源镜像站的管理员,得知您在使用我们的镜像站的时候遇到了问题,我感到很抱歉。请您作以下尝试:

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

然后将返回的结果和其他有助于排查问题的信息发送至 support#tuna.tsinghua.edu.cn ,或者跟帖发送。

Yc1992
12-31

非教育网用户还是用商业公司的源吧

zsj950618
12-31

这是清华源给你做的转跳的吧。。。不然 https 怎么可能给你劫持,或者你系统被植入了阿里云的 CA

Tink
12-31

这个有区别吗

akwIX
12-31

去修改 /etc/apt 里的所有文件
把和阿里有关的都删了

Flygoat
12-31

无解。。。阿狸只是想省点流量,顺便给你速度快点(内网源不限速)