Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-87

downloads not rejected when a proxy returns 302; repository gets corrupted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • wagon-http-lightweight
    • None
    • WinxP laptop, running on a WLAN that has one of those restricted-access-login pages; all HTTP requests are turned into a 302 responses redirecting to the login page.
    • Patch

    Description

      I was trying to do a build in a meeting, but site IT have just changed their security policy for guests; instead of a transparent proxy, we have a transparent proxy that 302s all requests from an unknown client to their login page.

      Here is a bit of the log:

      [m2:libraries] Downloading: servletapi/servletapi/2.3/servletapi-2.3.pom
      [m2:libraries] [WARNING] Unable to get resource from repository remote (file:///
      C:/Projects/SmartFrog/core/antbuild/repository/)
      [m2:libraries] Downloading: servletapi/servletapi/2.3/servletapi-2.3.pom
      [m2:libraries] [WARNING] Unable to get resource from repository remote (file:///
      C:/Projects/SmartFrog/core/components/lib/)
      [m2:libraries] Downloading: servletapi/servletapi/2.3/servletapi-2.3.pom
      [m2:libraries] Transferring 0K
      [m2:libraries] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca
      l = '46b0527200bcc179e835380eb454b48f6cc16e81'; remote = '<HTML>
      [m2:libraries] <HEAD>
      [m2:libraries] <TITLE>302' - RETRYING
      [m2:libraries] Downloading: servletapi/servletapi/2.3/servletapi-2.3.pom
      [m2:libraries] Transferring 0K
      [m2:libraries] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca
      l = '46b0527200bcc179e835380eb454b48f6cc16e81'; remote = '<HTML>
      [m2:libraries] <HEAD>
      [m2:libraries] <TITLE>302' - IGNORING
      [m2:libraries] [WARNING] POM for: 'servletapi:servletapi:pom:2.3' does not appea
      r to be valid. Its will be ignored for artifact resolution.

      this is going to be a dog to test.

      Attachments

        Activity

          People

            brett Brett Porter
            steve_l Steve Loughran
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: