错误记录GitHub 提交报错 ( OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 )
Posted 韩曙亮
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了错误记录GitHub 提交报错 ( OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 )相关的知识,希望对你有一定的参考价值。
一、报错信息
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
再次提交时 , 又报了
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
该问题应该是网络 WIFI 设置问题导致 , 从网上找的其它解决方案 , 执行如下命令 , 不管用 ;
记录这几个命令 , 作为备选方案 ;
git config --global --unset http.proxy
git config --global http.sslVerify false
git config --global --unset https.proxy
以上是关于错误记录GitHub 提交报错 ( OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 )的主要内容,如果未能解决你的问题,请参考以下文章
错误记录Android Studio 向 GitHub 提交代码报错 ( Push failed: Failed with error: Could not read | 使用命令行提交代码 )(代码
错误记录Android Studio 向 GitHub 提交代码报错 ( Push failed: Failed with error: Could not read | 使用命令行提交代码 )(代码
错误记录Android Studio 向 GitHub 提交代码报错 ( Push failed: Failed with error: Could not read from remote )(代码
错误记录Android Studio 向 GitHub 提交代码报错 ( Push failed: Failed with error: Could not read from remote )(代码
错误记录编译 Linux 内核报错 ( fatal error: openssl/opensslv.h: No such file or directory )