zoukankan      html  css  js  c++  java
  • 【Github Push】解决 OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

    老问题,新答案

    问题:

    有Proxy的时候,会出现这个错误,网络上说:

    git config --global --unset http.proxy
    git config --global http.sslVerify false
    

    我网络不行,我为啥要unset proxy?
    ssl是HTTPS协议的内容,为啥不让校验?

    目前我发现:
    是因为本地仓库没有设置origin remote。

    解决方案

    1. 检查 .gitconfig,是否有无效的Http.proxy, https.proxy
    2. 检查 git remote -v 是否添加了https的origin项目地址。
    3. git remote add origin https://github.com/slankka/xxxx.git

    提示

    • 该走通道的走通道,根本没问题。
    • 别改 git@github.com这种协议,麻烦,还要走ssh协议,费劲。
    • 别改 https://username:password@github.com/,何必暴露自己密码呢,或者配置AccessToken不麻烦?

    正确操作就是什么也别改,去检查凭据管理器

    认证失败

    • 如果密码更换过,去Windows凭据管理器,更新https协议的git密码。
    • 再就是 git config --unset credential.helper或者 git config --system --unset credential.helper
  • 相关阅读:
    Vscode 小白使用介绍
    Vue之父组件向子组件传递方法
    Vue之父组件向子组件传值
    Vue之组件切换
    Vue中组件的data和methods
    Vue之创建组件
    Vue生命周期代码示例
    Vue生命周期示例图
    inline、block和inline-block的区别
    系统测试测试过程
  • 原文地址:https://www.cnblogs.com/slankka/p/15237067.html
Copyright © 2011-2022 走看看