最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】carthage update出错:Failed to connect to github.com port 443: Operation timed out

Mac crifan 6996浏览 0评论

Mac中去carthage update出错:

brancepengdeMacBook-Pro:keyoutong minglong$ carthage update
*** Fetching SwiftHTTPStatusCodes
A shell task (/usr/bin/env git fetch –prune –quiet https://github.com/rhodgkins/SwiftHTTPStatusCodes.git refs/tags/*:refs/tags/* +refs/heads/*:refs/heads/*) failed with exit code 128:
fatal: unable to access ‘https://github.com/rhodgkins/SwiftHTTPStatusCodes.git/’: Failed to connect to github.com port 443: Operation timed out

之前以为是没法翻墙导致的

后来去用ss翻墙后,问题依旧。

对应的git版本是

2.7.2

我自己这里没问题,git版本是:

➜  pic git –version
git version 2.8.4 (Apple Git-73)

搜:

Failed to connect to github.com port 443: Operation timed out

参考:

error fatal: unable to access ‘https://github.com/gruntjs/node-http2.git/’ · Issue #11979 · npm/npm · GitHub

mac 升级git版本

OSX下的Git升级 – 简书

macos – Mac OS X Lion 下 Git 如何升级? – SegmentFault

升级Mac OS X上的git – 1993奇葩 – 博客频道 – CSDN.NET

通过Homebrew安装Git

brew install git

git failed to connect to github port 443 timed out

failed to connect to github port 443 timed out

git – GitHub – failed to connect to github 443 windows/ Failed to connect to gitHub – No Error – Stack Overflow

git config –global http.proxy 127.0.0.1:1080

无效。

Error: git-2.7.2 already installed
To install this version, first `brew unlink git`

To install this version, first brew unlink git

Cannot install git through homebrew on yosemite – Stack Overflow

Problem installing git on yosemite · Issue #37150 · Homebrew/legacy-homebrew · GitHub

Failure to install git because of some environment problem · Issue #37250 · Homebrew/legacy-homebrew · GitHub

brew install git Error: git-2.7.2 already installed

brew update fails: Error: Git must be installed and in your PATH! · Issue #49736 · Homebrew/legacy-homebrew · GitHub

brew 升级 git

homebrew – How to properly update git on mac? – Ask Different

HOW TO: 升级Mac OS X上的GIT – Jeeker

请教如何升级 git 版本 · Ruby China

HOW TO: 升级Mac OS X上的GIT – Jeeker
Git Vulnerability on Mac OS X and Windows · RayHightower.com
请教如何升级 git 版本 · Ruby China

【后记】

后来解决了:

【已解决】git clone出错:Failed to connect to github.com port 443 Operation timed out

转载请注明:在路上 » 【已解决】carthage update出错:Failed to connect to github.com port 443: Operation timed out

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
89 queries in 0.186 seconds, using 22.08MB memory