unable to access ‘https://github.com/***.git‘: OpenSSL SSL_read: Connection was reset, errno 10054(代

Posted Alex Hub

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了unable to access ‘https://github.com/***.git‘: OpenSSL SSL_read: Connection was reset, errno 10054(代相关的知识,希望对你有一定的参考价值。

Git提交项目报错:

unable to access 'https://github.com/***.git': OpenSSL SSL_read: Connection was reset, errno 10054

Error Message

刚创建了一个项目想上传到GitHub,结果突然间说SSL认证出错。

PS G:\\TUST\\每日健康填报> echo "# ChaoXingDailyHealthReport" >> README.md
PS G:\\TUST\\每日健康填报> git init
Initialized empty Git repository in G:/TUST/每日健康填报/.git/
PS G:\\TUST\\每日健康填报> git add README.md
PS G:\\TUST\\每日健康填报> git commit -m "first commit"
[master (root-commit) 64ca6bf] first commit
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 README.md
PS G:\\TUST\\每日健康填报> git branch -M main
PS G:\\TUST\\每日健康填报> git remote add origin https://github.com/Matrix-King-Stu
dio/ChaoXingDailyHealthReport.git
PS G:\\TUST\\每日健康填报> git push -u origin main
fatal: unable to access 'https://github.com/Matrix-King-Studio/ChaoXingDailyHealt
hReport.git/': OpenSSL SSL_read: Connection was reset, errno 10054

Solve

关掉SSL验证就可以了。

git config --global http.sslVerify "false"

以上是关于unable to access ‘https://github.com/***.git‘: OpenSSL SSL_read: Connection was reset, errno 10054(代的主要内容,如果未能解决你的问题,请参考以下文章

git clone 出现fatal: unable to access https://github 类错误解决方法

Unable to access the IIS metabase

fatal: unable to access ‘https://github.com/NEGVS/the-economist-ebooks.git/‘: schannel: failed to re

git clone出现: unable to access错误

GitHub Desktop报错fatal: unable to access 'https://github.com……: schannel: failed to open CA file

(转)git clone出现 fatal: unable to access 'https://github.com/...'的解决办法