V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xiaopanzi
V2EX  ›  SSL

如何解决 SSL connect error

  •  
  •   xiaopanzi · Mar 24, 2023 · 1687 views
    This topic created in 1132 days ago, the information mentioned may be changed or developed.

    我之前在 Manjaro 上为 Rust 的 crates 配置了 SJTU 的镜像,一直正常使用,今天发现报SSL connect error,本来以为他们镜像不正常,就换成清华的镜像,结果还是报错。

    Caused by: failed to download from https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/config.json

    Caused by: [35] SSL connect error (OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirrors.tuna.tsinghua.edu.cn:443 )

    我试着运行openssl s_client -connect mirrors.tuna.tsinghua.edu.cn:443 -msg,但结果都是 Verify return code: 0 (ok) ,看起来并没有发现异常,请问这可能是什么原因导致的,应该如何解决这个问题?

    2 replies    2023-03-24 11:12:59 +08:00
    everyx
        1
    everyx  
       Mar 24, 2023
    是不是走代理了,如果是的话可能是代理不稳定导致的
    xiaopanzi
        2
    xiaopanzi  
    OP
       Mar 24, 2023
    @everyx 果然。它会使用 git 的代理,我把 git 的代理关了就行。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1014 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 18:56 · PVG 02:56 · LAX 11:56 · JFK 14:56
    ♥ Do have faith in what you're doing.