Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20405

Artifactory to support go client v1.13 checksum verification when sum.golang.org is not accessible.

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.12.2
    • Fix Version/s: None
    • Component/s: Go
    • Labels:

      Description

      This is from stackoverflow - 

      At work we can't do downloads directly from internet but must go through a local proxy based on artifactory. I have specified GOPROXY (GOPROXY=https://repo.mycompany.se/artifactory/api/go/gocenter) to a proxy setup in our local artifactory. When running "go get" the download goes ok what I can see but the checksum verification fails as go try to use sum.golang.org directly instead of getting the checksum through the proxy.

      Response 

      C:\Users\x\go\src\hello2>go get rsc.io/quote@v1.5.2 go: finding rsc.io v1.5.2 go: downloading rsc.io/quote v1.5.2 verifying rsc.io/quote@v1.5.2: rsc.io/quote@v1.5.2: Get https://sum.golang.org/lookup/rsc.io/quote@v1.5.2: dial tcp: lookup sum.golang.org: no such host

      Link to the stackoverflow - https://stackoverflow.com/questions/58410493/local-artifactory-golang-proxy-and-checksum-verification

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stanleyf Stanley Fong
              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: