美文网首页
解决fatal: unable to access 'https

解决fatal: unable to access 'https

作者: 码农_会写诗 | 来源:发表于2021-12-08 09:38 被阅读0次

    在使用终端导入第三方依赖库时,出现报错,类似于fatal: unable to access 'https://github.com/onevcat/Kingfisher.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

    解决方案:1

    依次执行以下命令就可以正常使用

    git config --global --unset http.proxy

    git config --global --unset https.proxy

    方法2.打开终端在终端中执行以下命令就可以了。

    git config--global--addremote.origin.proxy""

    方法3.若第一种方法输入命令不管用,可以尝试先输入下边命令,然后在执行第一种方法的命令。

    git config--globalhttp.sslBackend"openssl"

    git config--global--addremote.origin.proxy""

    相关文章

      网友评论

          本文标题:解决fatal: unable to access 'https

          本文链接:https://www.haomeiwen.com/subject/zrozxrtx.html