As the title says, when I try to install packages via homebrew through my home network, I get the following error:
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to akamai.bintray.com:443
Error: Failed to download resource "rclone"
Download failed: However, I can download from the .tar.gz URL that is specified just fine through my browser.
I know this is only a problem with my home network because when I tether my phone it works fine.
Probably got something to do with my router settings and/or ISP but I am not sure where to look.
Thanks for the help! :)
63 Answers
A thought occurs to me -- have you checked your router to see if it is doing a transparent proxy for you?
If it is, then you may want to turn that off.
If you can't turn it off, then you might want to install a VPN solution that will allow you to bypass it.
Just a thought.
1Since you're using LibreSSL, try re-installing curl with OpenSSL instead of Secure Transport.
The latest brew, it depends on OpenSSL by default, so you've to reinstall it:
brew reinstall curlFor older Brew, there was an option --with-openssl which was removed, e.g.
brew reinstall curl --with-opensslHere are few other suggestions:
- Run
brew options curlto display install options specific to formula. - Compile from the source. Check
curl.rbformula for more details. - Make sure you're not using
http_proxy/https_proxy. - Use
-vtocurlfor more verbose output. - Try using BSD
curlat/usr/bin/curl, runwhich -a curlto list them all. - Make sure you haven't accidentally blocked
curlin your firewall (such as Little Snitch). - Alternatively use
wget.
For those who are still struggling to resolve this.
Please try:
brew update-reset
brew update # This might not be needed.I found this gem here.
1