Couldn't connect to server


(Akira) #1

It seems like I cannot transfer data from some URLs. I get the curl: (7) Couldn't connect to server error messages when I try to install or update.

I thought it was because of the proxy server, but I still get the same errors even when I am not using it.

Here is the error messages:

~> brew install httrack
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
babel            jenkins          jenkins-lts      macvim           taskell          webpack

==> Installing dependencies for httrack: openssl
==> Installing httrack dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2q.high_sierra.bottle.tar.gz

curl: (7) Couldn't connect to server
Error: Failed to download resource "openssl"
Download failed: https://homebrew.bintray.com/bottles/openssl-1.0.2q.high_sierra.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://www.openssl.org/source/openssl-1.0.2q.tar.gz

curl: (7) Couldn't connect to server
Trying a mirror...
==> Downloading https://dl.bintray.com/homebrew/mirror/openssl--1.0.2q.tar.gz

curl: (7) Couldn't connect to server
Trying a mirror...
==> Downloading https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.0.2q.tar.gz

curl: (7) Couldn't connect to server
Trying a mirror...
==> Downloading http://artfiles.org/openssl.org/source/openssl-1.0.2q.tar.gz

curl: (7) Couldn't connect to server
Error: An exception occurred within a child process:
  DownloadError: Failed to download resource "openssl"
Download failed: http://artfiles.org/openssl.org/source/openssl-1.0.2q.tar.gz

Any idea what the problem is here?

Thanks in advance!


(Sean Molenaar) #2

what happens when you try to manually call these urls? curl -v https://www.openssl.org/source/openssl-1.0.2q.tar.gz for example?