api-umbrella icon indicating copy to clipboard operation
api-umbrella copied to clipboard

Failed to connect to ftp.pcre.org port 443: Connection timed out

Open AndreC10002 opened this issue 3 years ago • 1 comments

Trying to compile API Umbrella from source, received the following error message:

Failed to connect to ftp.pcre.org port 443: Connection timed out

A workaround is to edit 'tasks/deps/openresty' as follows:

#download "https://ftp.pcre.org/pub/pcre/pcre-$pcre_version.tar.bz2" "md5" "$pcre_hash" download "https://cfhcable.dl.sourceforge.net/project/pcre/pcre/8.43/pcre-8.43.tar.bz2" "md5" "$pcre_hash"

AndreC10002 avatar Nov 17 '21 18:11 AndreC10002

Replace the domain in tasks/deps/openresty from pcre.org to exim.org and run make again. Should work.

Had to do it for geolite as well. https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz -> https://web.archive.org/web/20191227182209/https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz

bihinchi avatar Dec 08 '21 11:12 bihinchi