Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3504

Very slow dependency resolution with disabled proxy IP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 2.0.8
    • None
    • Performance
    • None
    • Windows Vista x64

    Description

      I have a proxy defined in my settings.xml as follows:

      <proxy>
      <id>xxxx</id>
      <active>false</active>
      <protocol>http</protocol>
      <host>192.168.1.223</host>
      <port>8080</port>
      <nonProxyHosts>192.168.*</nonProxyHosts>
      </proxy>

      This proxy lives on my office network. It is inactive because I am currently working from home. However, although the proxy is inactive, during dependency resolution maven pauses for 15 seconds per dependency per repository. Tracing the network showed multiple ARP requests for 192.168.1.223. After commenting out the inactive proxy performance returned to normal.

      This issue is causing a 2 minute build to take over 1 hour. Using a DNS name for the proxy address would also resolve the issue, but this is not allowed on my work network.

      Attachments

        Activity

          People

            Unassigned Unassigned
            psdillon Paul Dillon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: