gitHub报错10054、443解决办法

约定不等于承诺〃 2022-10-14 13:53 548阅读 0赞

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

  1. 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
  2. Cloning into 'netty'...
  3. fatal: unable to access 'https://github.com/sunyuhuakeyboard/netty.git/': OpenSSL SSL_read: Connection was reset, errno 10054

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

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

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

  1. 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
  2. Cloning into 'netty'...
  3. 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的错误。

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

在这里插入图片描述

发表评论

表情:
评论列表 (有 0 条评论,548人围观)

还没有评论,来说两句吧...

相关阅读

    相关 vue及其解决办法

    导语: 初学者在学习vue的时候,特别是刚开始使用vue-cli的时候,在开发过程中经常会出现很多的报错,因此感觉人生不值得,今天一篇文章,帮你搞定所有报错,人生是值得的!!