Changes between Version 5 and Version 6 of MisbehavingServers


Ignore:
Timestamp:
Jun 23, 2011, 4:34:53 PM (13 years ago)
Author:
rogerdpack@…
Comment:

note how to overcome the failure

Legend:

Unmodified
Added
Removed
Modified
  • MisbehavingServers

    v5 v6  
    1313 * '''You are behind a proxy that is denying access to the download site.''' Many proxies serve an HTML error page in this case, and some do not use the correct HTTP response code. Ask your network administrator to allow access to the relevant site, and to configure the proxy to use the correct response code when serving error pages.
    1414
    15  * '''The download site no longer has the file, and does not indicate this with the correct response code.''' Usually such mirrors should be removed from portfiles, so feel free to ask the maintainer to do so. You could also ask the owner of the mirror to fix their server configuration.
     15 * '''The download site no longer has the file, and does not indicate this with the correct response code.''' Usually such mirrors should be removed from portfiles, so feel free to ask the maintainer to do so. You could also ask the owner of the mirror to fix their server configuration. 
     16
     17 * '''Overcoming the failure''' It may be that the mirror is temporarily down, so you'll need to download it manually.  You can tell which mirror you are downloading from the output's ''Attempting to fetch xx from http://yyy/zzz'' which means you are attempting to download the file http://yyy/zzz/xx.  You can navigate there in a browser and see if the file and its neighbors look normal or not.  If not then report this to the mailing list or ask the mirror owner to fix their server configuration, or wait to see if it gets fixed over time.  In the meantime you could try searching for that specific file, download it manually, and copy it over the top (to replace) your local downloaded version of that file (located somewhere in /opt/local/...), then attempt the install again.  It should pick up the "now working" file and continue as normal.  For a list of mirrors you could use, you can look in the port file ([https://trac.macports.org/browser/trunk/dports/textproc/texi2html/Portfile example]) for "master_sites" then lookup that master site in the list of [https://trac.macports.org/browser/trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl master sites].