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

Retrieval of some packages from PyPI fails

    XMLWordPrintable

    Details

    • Notability:
      2

      Description

      Set up a pypi proxy repository with remote of https://pypi.python.org/.

      Then attempt to retreive "chardet-3.0.4-py2.py3-none-any.whl" through it:

      http://localhost:8081/repository/pypi/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl

      This fails with the following exception:

      2020-04-03 10:12:48,932-0500 WARN  [qtp1316178961-176]  admin org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure servicing: GET /repository/PyPI/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
      org.sonatype.nexus.repository.pypi.internal.PyPiProxyFacetImpl$NonResolvablePackageException: Unable to find reference for chardet-3.0.4-py2.py3-none-any.whl in package bc
          at org.sonatype.nexus.repository.pypi.internal.PyPiProxyFacetImpl.getPackageUrl(PyPiProxyFacetImpl.java:178)
          at org.sonatype.nexus.repository.pypi.internal.PyPiProxyFacetImpl.getUrl(PyPiProxyFacetImpl.java:163)
          at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.fetch(ProxyFacetSupport.java:402)
          at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.doGet(ProxyFacetSupport.java:269)
          at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.lambda$1(ProxyFacetSupport.java:245)
          at org.sonatype.nexus.common.io.CooperatingFuture.performCall(CooperatingFuture.java:122)
          at org.sonatype.nexus.common.io.CooperatingFuture.call(CooperatingFuture.java:64)
          at org.sonatype.nexus.common.io.ScopedCooperationFactorySupport$ScopedCooperation.cooperate(ScopedCooperationFactorySupport.java:99)
      
      

      The exact same test using version 3.18.1 works.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dsawa Dawid Sawa
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Wes Wannemacher
              Team:
              NXRM - Operations/Groot
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title

                    PagerDuty