api-umbrella
api-umbrella copied to clipboard
Failed to connect to ftp.pcre.org port 443: Connection timed out
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"
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