Problem description:
Experiencing checksum mismatch errors and 404 errors while resolving go modules through Artifactory from a virtual repository that includes remote pointing to Github.
What is the expected behavior?
While resolving directly from Github is working as expected while resolving through Artifactory we are seeing the checksum mismatch and 404 errors.
Steps to reproduce:
Create two remote repositories repo1 pointing to “https://github.com” and other pointing repo2 to “https://golang.proxy.org”. Create a virtual repository that includes both the remotes and the order of resolution is repo1 first then repo2.
Run the following go get command: go get -x github.com/Azure/go-autorest/autorest/azure/auth@v0.4.2
This was throwing a checksum mismatch error. I'm attaching a screenshot from my test.
The link to the package in Github:
https://github.com/Azure/go-autorest/releases/tag/autorest%2Fazure%2Fauth%2Fv0.4.2