OpenSSL SSL_read: Connection was reset, errno 10054,Failed to connect to github.com port 443: Timed

1、开始使用的码云开发提交代码的,切换成GitHub出现以下报错:

在这里插入图片描述

解决办法:

git config --global http.sslVerify "false"
git config --global https.sslVerify "false"

2、第1个问题解决后又遇到这样一个问题:

在这里插入图片描述

这个错误大致是说连接到github的时候超时了,查询了好久,其实很简单,超时了无非就是代理出了点问题,不过好在git上用几个命令就能够很快搞定。

git config --global --unset http.proxy
git config --global --unset https.proxy

然后进行git push就成功拉。

15:58:08: 为项目CTK执行步骤 ... 15:58:08: Persisting CMake state... 15:58:19: 正在启动 "D:\BaiduNetdiskDownload\cmake-3.16.0-win64-x64\bin\cmake.exe" --build . --target all Scanning dependencies of target Log4Qt [ 4%] Creating directories for 'Log4Qt' [ 8%] Performing download step (git clone) for 'Log4Qt' Cloning into 'Log4Qt'... fatal: unable to access 'https://github.com/MEONMedical/Log4Qt.git/': OpenSSL SSL_read: Connection was reset, errno 10054 Cloning into 'Log4Qt'... fatal: unable to access 'https://github.com/MEONMedical/Log4Qt.git/': OpenSSL SSL_read: Connection was reset, errno 10054 Cloning into 'Log4Qt'... fatal: unable to access 'https://github.com/MEONMedical/Log4Qt.git/': Failed to connect to github.com port 443: Timed out -- Had to git clone more than once: 3 times. CMake Error at Log4Qt-cmake/tmp/Log4Qt-gitclone.cmake:31 (message): Failed to clone repository: 'https://github.com/MEONMedical/Log4Qt.git' NMAKE : fatal error U1077: “D:\BaiduNetdiskDownload\cmake-3.16.0-win64-x64\bin\cmake.exe”: 返回代码“0x1” Stop. NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"”: 返回代码“0x2” Stop. NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"”: 返回代码“0x2” Stop. 15:59:23: 进程"D:\BaiduNetdiskDownload\cmake-3.16.0-win64-x64\bin\cmake.exe"退出,退出代码 2 。 Error while building/deploying project CTK (kit: cmake-3.16.0) The kit cmake-3.16.0 has configuration issues which might be the root cause for this problem. When executing step "CMake Build"
07-22
这个错误通常表示在进行网络通讯时出现了问题。错误消息中的"RPC failed"表示远程过程调用失败,而"curl 56 OpenSSL SSL_read: Connection was reset, errno 10054"则指示连接被重置。 解决这个问题的方法有以下几种: 1. 检查网络连接:首先,请确保您的网络连接是正常的。您可以尝试连接其他网站或使用其他网络来验证是否存在网络问题。 2. 检查防火墙和代理设置:如果您使用防火墙或代理服务器,可能会导致连接被拦截或重置。请检查您的防火墙和代理设置,确保它们不会干扰到您的网络连接。 3. 更新Git版本:有时,旧版本的Git可能存在与网络通讯相关的问题。尝试更新您的Git版本到最新的稳定版本,以确保您使用的是最新的修复和改进。 4. 调整Git的配置:您可以尝试调整Git的配置以优化网络连接。例如,您可以增加Git的缓冲区大小或调整超时时间。具体操作可以参考中提到的解决方法。 总之,RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054错误通常与网络连接问题有关。您可以通过检查网络连接、防火墙和代理设置,更新Git版本以及调整Git的配置来解决这个问题。 : https://stackoverflow.com/questions/12837748/rpc-failed-curl-56-openssl-ssl-read-connection-was-reset-errno-10054 : https://blog.csdn.net/StraightenupRyan/article/details/82801580 : 根据提供的资料,未能找到对应的解决方法。请提供正确的参考资料。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值