最新消息:20210917 已从crifan.com换到crifan.org

【未解决】Mac中brew安装报错:curl 35 LibreSSL SSL_connect SSL_ERROR_SYSCALL in connection to

Mac crifan 2507浏览 0评论
折腾:
【未解决】Mac中再次尝试安装sshpass
期间,Mac中用berw安装期间报错:
brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb
Updating Homebrew...
Warning: Calling Non-checksummed download of sshpass formula file from an arbitrary URL is deprecated! Use 'brew extract' or 'brew create' and 'brew tap-new' to create a formula file in a tap on GitHub instead.


curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
Error: Failure while executing; `/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.3.0\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.6\)\ curl/7.54.0 --fail --progress-bar --retry 3 --location --remote-time --continue-at 0 --output /Users/xxx/Library/Caches/Homebrew/Formula/sshpass.rb https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb` exited with 35. Here's the output:


curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
后来确定,主要错误是:
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to
后来:期间也出现下载出错:
 curl -O -L https://fossies.org/linux/privat/sshpass-1.06.tar.gz && tar xvzf sshpass-1.06.tar.gz


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to fossies.org:443
mac curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to
LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 · Issue #369 · libressl-portable/portable
https://github.com/libressl-portable/portable/issues/369
试试
curl https://github.com -v
I update with brew, libressl, openssl and curl and reboot my machine. It’s now working.
重新安装?
去看看
curl --version
现在版本是:
 curl --version
curl 7.54.0 (x86_64-apple-darwin18.0) libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz HTTP2 UnixSockets HTTPS-proxy
此处Mac是10.14.6
其提到:
Workaround: install curl, libressl from brew and use the binary located at /usr/local/opt/curl/bin
去试试

转载请注明:在路上 » 【未解决】Mac中brew安装报错:curl 35 LibreSSL SSL_connect SSL_ERROR_SYSCALL in connection to

发表我的评论
取消评论

表情

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

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
93 queries in 0.188 seconds, using 23.39MB memory