git00ll
V2EX  ›  GitHub

github 间歇性连不上

  •  
  •   git00ll · Nov 1, 2024 · 2160 views
    This topic created in 584 days ago, the information mentioned may be changed or developed.

    使用 git 拉代码,https 方式。间歇性连接超时,报这个错

    $git pull
    
    Failed to connect to github.com port 443 after 130866 ms: Couldn't connect to server
    
    $git pull
    
    error: RPC failed; curl 16 Error in the HTTP2 framing layer
    fatal: expected flush after ref listing
    
    

    多试几次有时又可以。

    dns 已经使用 doh 优化过,获取到的 ip 确认是 github 的没错。

    访问不通时,正常 ping 能够访问
    curl github.com 也 ok
    curl https://github.com 就不行

    这是 https 的问题吗

    6 replies    2024-11-01 15:20:18 +08:00
    datocp
        1
    datocp  
       Nov 1, 2024
    咦,我记得下软件老有问题的,有时候连带 github 都打开。

    当年电信线路对一些知名的 vps 下载测试链接,直接就是 1 秒丢来 6 个 tcp reset 的。。。至于 github ,印象中我都一直挂代理下载的,不挂就那蜗牛速度下到猴年马月。想办法挂代理吧。linux 挂全局 socks5 代理应该很简单。
    git00ll
        2
    git00ll  
    OP
       Nov 1, 2024
    @datocp 我前一阵子下代码一直挺正常的,代码文件也比较小很顺利。下载 release 里的文件下载不了
    XIU2
        3
    XIU2  
       Nov 1, 2024
    看我 21 年发的贴子:
    /t/758568
    omega3
        4
    omega3  
       Nov 1, 2024
    网络科学了吗?科学不稳定的话可以试试我的配置 tg:wavevwe
    git00ll
        5
    git00ll  
    OP
       Nov 1, 2024
    @XIU2 和你描述的非常相似,我也是联通
    git00ll
        6
    git00ll  
    OP
       Nov 1, 2024
    @omega3 没科学
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   959 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 21:54 · PVG 05:54 · LAX 14:54 · JFK 17:54
    ♥ Do have faith in what you're doing.