[Mac M2] curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
一:curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused。二:error: RPC failed;设置DNS Server为8.8.8.8。
·
安装Homebrew过程的报错:
一:curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
原来的:

设置DNS Server为8.8.8.8
二:error: RPC failed; curl 16 Error in the HTTP2 framing layer
fatal: expected flush after ref listing
Failed during: /usr/bin/git fetch --force origin
解决:
官方指令:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
在官方给的安装指令上多加上 HTTP/1.1
完整版如下:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" HTTP/1.1
总结:成功转上

reference:
hyperledger fabric - curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused - Stack Overflowhttps://stackoverflow.com/questions/72987674/git-pull-error-rpc-failed-curl-16-error-in-the-http2-framing-layer-fatal-exp
更多推荐
所有评论(0)