Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-254

connecting proxied repositories without http-proxy fails

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • None
    • 1.0-alpha-2
    • remote proxy
    • None
    • archiva-trunk on SuSE-Linux in intranet-environment behind a firewall and with http-proxy

    Description

      If one configures Archiva to proxy another inhouse repository, Archiva struggles to connect to the proxied repository. The log file contains 503 HTTP Error Codes for any attempt to connect to the second repo. This is because Archiva tries to connect to the second server via http-proxy-connection (even though the proxied repository is configured not to connect through http-proxy).

      First thing, the "Use HTTP Proxy" option doesn't work properly since Archiva does open proxy-connections even with that option inactive.

      Second: I figured out, that there's a hidden option for HTTP-Proxy, only configurable in Archiva's archiva.xml file. If the proxy-element contains a "nonProxyHosts"-element (same as in maven settings.xml) and that element lists the second server, all 503 return codes vanish.

      Conclusion: either the "Use HTTP proxy"-option is screwed or serves a different purpose. If first, please fix that issue. If second, please make "nonProxyHosts" configurable via UI.

      Cheers,
      Stefan

      Attachments

        Activity

          People

            fabemn Fabrice Bellingard
            stefanhuebner Stefan Hübner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: