gitHub报错10054、443解决办法

本文介绍了如何在尝试从GitHub克隆netty源码时遇到的SSL验证错误和网络超时问题,通过调整git配置并使用git bash命令行解决了这些问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

为了学习netty框架,将netty的源码fork到自己的github账号下,使用IDEA进行下载,报了errno 10054的错误,如下所示:

21:40:24.692: [..\..\javaworkspace] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false clone --progress --recurse-submodules https://github.com/sunyuhuakeyboard/netty.git -- netty
Cloning into 'netty'...
fatal: unable to access 'https://github.com/sunyuhuakeyboard/netty.git/': OpenSSL SSL_read: Connection was reset, errno 10054

在这里插入图片描述
解决办法:
启动git bash 界面,输入如下的命令:

git config --global http.sslVerify "false"

在这里插入图片描述
再次启动下载,又报另外一个错误,如下图所示:

21:44:00.411: [..\..\javaworkspace] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false clone --progress --recurse-submodules https://github.com/sunyuhuakeyboard/netty.git -- netty
Cloning into 'netty'...
fatal: unable to access 'https://github.com/sunyuhuakeyboard/netty.git/': Failed to connect to github.com port 443: Timed out

在这里插入图片描述
解决办法:
直接在git bash中执行git clone 命令,这样可以避免因网络异常而报404的错误。

 git clone https://github.com/sunyuhuakeyboard/netty.git

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

MonkeyKing.sun

对你有帮助的话,可以打赏

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值