文章目录

  • 一、报错信息
  • 二、解决方案

一、报错信息


​GitHub 提交报错 :​

16:37:19.781: [ClassLoader_Demo] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master
fatal: unable to access 'https://github.com/han1202012/ClassLoader_Demo.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
16:43:07.102: [ClassLoader_Demo] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master

【错误记录】GitHub 提交报错 ( OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 )_ssl

再次提交时 , 又报了

16:43:07.102: [ClassLoader_Demo] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master
fatal: unable to access 'https://github.com/han1202012/ClassLoader_Demo.git/': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10053

错误 ;

二、解决方案


先按照之前的博客 【错误记录】GitHub 错误 ( Push failed Unable to access xx:OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054 ) 解决方案 , 操作一遍 , 这个错误与本次错误类似 ;

切换了下 Wifi , 再次尝试提交 , 结果提交成功 ;

16:47:38.490: [ClassLoader_Demo] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master
Delta compression using up to 12 threads
Total 20 (delta 6), reused 0 (delta 0)
To https://github.com/han1202012/ClassLoader_Demo.git
refs/heads/master:refs/heads/master 0898543..f790bdf
Done

【错误记录】GitHub 提交报错 ( OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 )_ssl_02

该问题应该是网络 WIFI 设置问题导致 , 从网上找的其它解决方案 , 执行如下命令 , 不管用 ;

【错误记录】GitHub 提交报错 ( OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 )_git_03

记录这几个命令 , 作为备选方案 ;

git config --global --unset http.proxy

git config --global http.sslVerify false

git config --global --unset https.proxy