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/Azurefirstname.lastname@example.org
This was throwing a checksum mismatch error. I'm attaching a screenshot from my test.
The link to the package in Github: