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
  • 相关阅读:
    Linux内核info leak漏洞
    ELK Stack部署
    centos下安装opencv
    windows10 进入BIOS
    Dockerfile语法简介
    JAVA 容器配置 JVM 监控
    docker registry
    squid
    正反向代理
    安装plsql
  • 原文地址:https://www.cnblogs.com/slankka/p/15237067.html
Copyright © 2011-2022 走看看