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

502 error if a nuget-v3 group contains a proxy with different nuget version

    Details

      Description

      SYMPTOM:

      The link in "Path" does not work if a Nuget group repot contains any Nuget V3 proxy repo.

      In above screen capture, clicking the blue "coverlet.console/1.7.0" open a new window with "HTTP/1.1 502 The group repository nuget-v3-group contains a proxy with different nuget version" error.

      REPRODUCE STEPS:

      1. Install Nexus version 3.26 or 3.27
      2. Create a Nuget proxy repo which remote URL is "https://api.nuget.org/v3/index.json"
      3. Create a Nuget hosted repo
      4. Create a Nuget group repo with above two reop as member
      5. Upload any nuget package into the Nuget hosted repo (using web UI would be easier)
      6. Browse and try downloading the uploaded nuget package via Nuget Group repo

      EXPECTED BEHAVIOUR

      Should be able to download any existing packages.

      ACTUAL BEHAVIOUR

      HTTP/1.1 502 error.

      NOTE: Using curl also returns same error:

      $ curl -I -u admin:admin123 -s "http://localhost:8081/repository/nuget-v3-group/coverlet.console/1.7.0"
      HTTP/1.1 502 The group repository nuget-v3-group contains a proxy with different nuget version
      Server: Nexus/3.27.0-03 (PRO)
      X-Content-Type-Options: nosniff
      Content-Security-Policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation
      X-XSS-Protection: 1; mode=block
      Cache-Control: no-cache, no-store, max-age=0, must-revalidate, post-check=0, pre-check=0
      Pragma: no-cache
      Expires: 0
      X-Frame-Options: DENY
      Content-Type: text/html
      Content-Length: 2138
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aishchenko Artem Ishchenko
              Reporter:
              hosako Hajime Osako
              CC:
              Chandan Sathyanarayana
              Last Updated By:
              Joe Tom Joe Tom
              Team:
              NXRM - Trinity
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title