我这里有一个全新的OS X安装(新虚拟机),尝试安装Homebrew时,出现了SSL错误。
fatal: unable to access 'https://github.com/Homebrew/homebrew/': Unknown SSL protocol error in connection to github.com:-9847
Failed during: git fetch origin master:refs/remotes/origin/master -n --depth=1
这是我正在使用的命令:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
我查了一下并尝试添加--insecure(或-k)并从https中删除s,但似乎没有帮助。使用--insecure,我只得到服务器终止了SSL握手。
有人知道这里出了什么问题吗?"xcode-select --install"也已经运行过了。
编辑:根据下面的建议,我将打包文件转储到pcap文件中,并使用tshark打开。从中我得到:
1 0.000000 我的IP地址被删除 -> 192.30.252.130 TCP 78 49451→443 [SYN] Seq = 0 Win = 65535 Len = 0 MSS = 1460 WS = 32 TSval = 170479114 TSecr = 0 SACK_PERM = 1 2 0.128228 192.30.252.130 -> 我的IP地址被删除 TCP 78 443→49451 [SYN,ACK] Seq = 0 Ack = 1 Win = 14240 Len = 0 MSS = 1436 SACK_PERM = 1 TSval = 2830778812 TSecr = 170479114 WS = 1024 [ETHERNET FRAME CHECK SEQUENCE INCORRECT] 3 0.128303 我的IP地址被删除 -> 192.30.252.130 TCP 66 49451→443 [ACK] Seq = 1 Ack = 1 Win = 132416 Len = 0 TSval = 170479237 TSecr = 2830778812 4 0.150128 我的IP地址被删除 -> 192.30.252.130 SSL 255 客户端Hello 5 0.150913 192.30.252.130 -> 我的IP地址被删除 SSL 1158 连续数据[以太网帧校验序列不正确]6 0.150916 192.30.252.130 -> 81.26.52.196 TCP 64 443→49451 [FIN,ACK] Seq = 1101 Ack = 190 Win = 4237312 Len = 0 [ETHERNET FRAME CHECK SEQUENCE INCORRECT] 7 0.150961 我的IP地址被删除 -> 192.30.252.130 TCP 66 49451→443 [ACK] Seq = 190 Ack = 1101 Win = 131328 Len = 0 TSval = 170479257 TSecr = 2830778812 8 0.150990 我的IP地址被删除 -> 192.30.252.130 TCP 66 49451→443 [ACK] Seq = 190 Ack = 1102 Win = 131328 Len = 0 TSval = 170479257 TSecr = 2830778812 9 0.151046 我的IP地址被删除 -> 192.30.252.130 TCP 66 49451→443 [FIN,ACK] Seq = 190 Ack = 1102 Win = 132416 Len = 0 TSval = 170479257 TSecr = 2830778812 10 0.151156 192.30.252.130 -> 我的IP地址被删除 TCP 64 443→49451 [RST] Seq = 1102 Win = 4237312 Len = 0 [ETHERNET FRAME CHECK SEQUENCE INCORRECT]
git clone 'https://github.com/Homebrew/homebrew/'
,会发生什么? - Andrew JankeHackintosh
吗?其余的网络工作正常吗? - Mark Setchell