Opened 11 years ago
Closed 13 months ago
#40706 closed defect (worksforme)
port sync does not work with https source when behind authenticated proxy
Reported by: | kcrwfrd@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
When I follow the directions here: 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
Change History (5)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:2 Changed 10 years ago by s.mahajan1@…
I am getting a similar error too as reported below for Macports 2.3.0 on Mac OS X 2.9
Error: Extracting https://distfiles.macports.org/ports.tar.gz failed (can't read "verboseflag": no such variable) DEBUG: Synchronization of 1 source(s) failed
while executing
"mportsync [array get global_options]" port sync failed: Synchronization of 1 source(s) failed
I can however open http://distfiles.macports.org in the web browser. But where do I store the ports.tar.gz file and then use it to install the requisite ports?
comment:3 Changed 10 years ago by mf2k (Frank Schima)
Keywords: | proxy sources https removed |
---|
comment:4 Changed 10 years ago by neverpanic (Clemens Lang)
comment:5 Changed 13 months ago by jmroot (Joshua Root)
Milestone: | MacPorts Future |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Closing since there has been no response to the request for additional information in comment:1.
That looks like a DNS problem. Does DNS go through a proxy server as well? I'm not really familiar with how they work. Are you able to visit http://distfiles.macports.org in a web browser?