Opened 11 years ago
Last modified 12 months ago
#40706 closed defect
port sync does not work with https source when behind authenticated proxy — at Initial Version
Reported by: | kcrwfrd@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: |
Description
When I follow the directions here: https://trac.macports.org/wiki/howto/PortTreeTarball for using https instead of rsync to get the ports tree, it fails behind our authenticated https proxy server.
We typically set http, https, ftp proxies using environment variables and these are picked up by tools like curl. And port install itself actually works fine for fetching and installing ports once the ports tar is downloaded manually.
But getting the ports tar does not seem to work through a proxy server using the port -d sync command.
I get the following:
---> Updating the ports tree Synchronizing local ports tree from https://distfiles.macports.org/ports.tar.gz Error: Fetching https://distfiles.macports.org/ports.tar.gz failed (Could not resolve host: distfiles.macports.org; nodename nor servname provided, or not known) DEBUG: Synchronization of 1 source(s) failed
while executing
"mportsync [array get global_options]" port sync failed: Synchronization of 1 source(s) failed