1

I want to use Go Remote repository proxying Github. I have created Go remote repo github proxying https://github.com/ and I have created a Go virtual repository as well. Credentials added as mentioned in https://www.jfrog.com/confluence/display/RTF/Go+Registry#GoRegistry-RemoteRepositories.

I did everything explained on the link above but when I tried to get the modules I get that:

go env -w GONOSUMDB="*github.com/xxx/*"
export GOPROXY="https://test:%5Bredacted%[email protected]/artifactory/api/go/go"
go mod download -x
get https://test:%5Bredacted%[email protected]/artifactory/api/go/go/github.com/xxx/platform/@v/v0.21.0.mod
get https://test:%5Bredacted%[email protected]/artifactory/api/go/go/github.com/xxx/platform/@v/v0.21.0.mod: 404 Not Found (0.894s)
go: github.com/xxx/[email protected]: reading https://test:%5Bredacted%[email protected]/artifactory/api/go/go/github.com/xxx/platform/@v/v0.21.0.mod: 404 Not Found

Besides that, I can get public modules from github. Auth seems not working.

1 Answer 1

1

You should upgrade to JFrog Artifactory 6.19+ or 7.4.0+ as this was a missing feature until then (https://www.jfrog.com/jira/browse/RTFACT-19395).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.