阿里云 ECS ubuntu 用清华大学源被重定向到 mirrors.aliyun.com - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
imydou
0.61D
V2EX    云计算

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

  •  
  •   imydou 2016-12-31 11:18:01 +08:00 14416 次点击
    这是一个创建于 3236 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    第 1 条附言    2016-12-31 14:07:21 +08:00
    /etc/apt/apt.conf

    Acquire::http::Proxy "http://mirrors.aliyun.com/";
    注释掉好了。
    感谢各位朋友,祝大家元旦快乐。
    18 条回复    2017-02-06 01:27:37 +08:00
    Flygoat
        1
    Flygoat  
       2016-12-31 11:39:20 +08:00 via Android
    无解。。。阿狸只是想省点流量,顺便给你速度快点(内网源不限速)
    akwIX
        2
    akwIX  
       2016-12-31 12:09:59 +08:00 via Android
    去修改 /etc/apt 里的所有文件
    把和阿里有关的都删了
    Tink
        3
    Tink  
    PRO
       2016-12-31 12:17:51 +08:00 via iPhone
    这个有区别吗
    zsj950618
        4
    zsj950618  
       2016-12-31 12:20:08 +08:00 via Android
    这是清华源给你做的转跳的吧。。。不然 https 怎么可能给你劫持,或者你系统被植入了阿里云的 CA
    Yc1992
        5
    Yc1992  
       2016-12-31 12:25:37 +08:00 via Android
    非教育网用户还是用商业公司的源吧
    shankerwangmiao
        6
    shankerwangmiao  
       2016-12-31 12:32:20 +08:00 via iPad   9
    您好,我是清华大学开源镜像站的管理员,得知您在使用我们的镜像站的时候遇到了问题,我感到很抱歉。请您作以下尝试:

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

    然后将返回的结果和其他有助于排查问题的信息发送至 support#tuna.tsinghua.edu.cn ,或者跟帖发送。
    Akesudia
        7
    Akesudia  
       2016-12-31 12:37:39 +08:00
    全球最大工单系统果然厉害。。
    0915240
        8
    0915240  
       2016-12-31 13:30:10 +08:00 via iPhone
    工单
    taineric
        9
    taineric  
       2016-12-31 13:39:10 +08:00 via Android
    @zsj950618 都连接失败了。。
    fsgmhoward
        10
    fsgmhoward  
       2016-12-31 13:39:40 +08:00 via iPhone
    666
    imydou
        12
    imydou  
    OP
       2016-12-31 14:04:32 +08:00   1
    @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
        13
    imydou  
    OP
       2016-12-31 14:06:24 +08:00
    @akwIX 感谢,已解决
    Famio
        14
    Famio  
    &nsp;  2016-12-31 23:41:32 +08:00   1
    阿里云的 server agent 会修改 apt 的 proxy 啊……涨知识了。
    shankerwangmiao
        15
    shankerwangmiao  
       2017-01-01 02:20:58 +08:00
    @imydou 需要您的这个结果主要是为了验证阿里云有没有在劫持我们的服务器。这种行为一经发现,我们将保留采取强硬措施的权利。

    感谢您的反馈。
    Balthild
        16
    Balthild  
       2017-01-02 13:41:05 +08:00
    这都能工单到, 66666
    LoliconInside
        17
    LoliconInside  
       2017-01-06 17:00:45 +08:00
    全球最大云工单系统
    G900
        18
    G900  
       2017-02-06 01:27:37 +08:00
    阿里云的渣渣镜像服务器,自己挂了不能用,我改了源还是不行,原来是自己加的代理,真是服了。
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3987 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 28ms UTC 05:25 PVG 13:25 LAX 21:25 JFK 00:25
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86