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

Go-group returns 404 for all existing/proxied components (regression)

    Details

    • Story Points:
      3
    • Sprint:
      NXRM MadMax Sprint 22
    • Notability:
      2

      Description

      Problem
      Unable to retrieve Go components/modules via go-group

      Description
      Go modules can be retrieved from a go-proxy without issue, however as soon as the proxy is added to a go-group, only 404s are returned.

      Steps to reproduce

      • set up NxRM (traditional OrientDB)
      • create a go-proxy repository pointing to 'https://proxy.golang.org/'
      • create a go-group and add the above proxy to it's list of members.
      • install and set up a Golang client (in my case it's go version go1.16.7 linux/amd64

      Test go-proxy repository

      Run go get -v -u golang.org/x/lint/golint

      • should work OK and packages should be downloaded

      Test go-group repository

      Run go get -v -u golang.org/x/lint/golint again

      127.0.0.1 - - [04/Nov/2021:14:05:58 +0000] "GET /repository/go-group/golang.org/x/lint/@v/list HTTP/1.1" 404 - 1850 8 "Go-http-client/1.1" [qtp446362830-96]
      127.0.0.1 - - [04/Nov/2021:14:05:58 +0000] "GET /repository/go-group/golang.org/x/lint/golint/@v/list HTTP/1.1" 404 - 1880 3 "Go-http-client/1.1" [qtp446362830-600]
      127.0.0.1 - - [04/Nov/2021:14:05:58 +0000] "GET /repository/go-group/golang.org/x/@v/list HTTP/1.1" 404 - 1820 10 "Go-http-client/1.1" [qtp446362830-623]
      127.0.0.1 - - [04/Nov/2021:14:05:58 +0000] "GET /repository/go-group/golang.org/@v/list HTTP/1.1" 404 - 1790 2 "Go-http-client/1.1" [qtp446362830-576]
      
      • there seems little to no debug statements in any of the org.sonatype.nexus.repository.golang classes so not much luck on the logging.

      This appears to be a regression since 3.33.0/3.33.1, makes me think it's related to NEXUS-28422 

      Note: make sure this is not happening in both Orient and NewDB

        Attachments

          Activity

            People

            Assignee:
            mlukaretkyi Maksym Lukaretkyi
            Reporter:
            astrachan Alex Strachan
            Last Updated By:
            LeanJiang LeanJiang
            Team:
            NXRM - Mad Max
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title