Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-28470

Error 502: Bad Gateway when accessing certain proxied jars on P2 repository.

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.29.2
    • Fix Version/s: None
    • Component/s: P2
    • Labels:

      Description

      Hi. We're using the p2 plugin to proxy the following p2 repository:

      https://download.eclipse.org/releases/neon/201705151400 

      When our build system is trying to access certain jars we get a 502 error response. In the nexus logs we see the following entry:

      *UNKNOWN org.sonatype.nexus.repository.p2.internal.proxy.P2ProxyFacetImpl - Exception java.io.IOException: invalid header field checking remote for update, proxy repo eclipse-neon failed to fetch http://download.eclipse.org/releases/neon/201705151400/plugins/org.apache.xml.resolver_1.2.0.v201005080400.jar, content not in cache.

      I've tracked down the problem to class JarExtractor.java, method getSpecificEntity(). It seems that the first ZIP entry that reaches to the loop is file /META-INF/ECLIPSE_.SF that causes an IOException when trying to build a Manifest object on it.

      I attach the jar downloaded directly from https://download.eclipse.org/releases/neon/201705151400 

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            juan.dominguez Juan Domínguez
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title