dpglo66848 2019-01-17 10:59
浏览 550

将GOPROXY与JFrog Artifactory一起使用时找不到404

A go repository called go-feature is used in Artifactory. Go modules have been uploaded using jfrog rt gp. The env var GOPROXY is set to the value provided by Artifactory in the 'Set Me Up' window. All go get calls fail with a 404. The Artifactory version is 6.6.1

$ go get -v speechmatics.com/cockroachdbingestor@v1.0.1
go: finding speechmatics.com/cockroachdbingestor v1.0.1
go: speechmatics.com/cockroachdbingestor@v1.0.1: unexpected status (http://user:token@fake_artifactory_url.com/speechmatics/api/go/go-feature/speechmatics.com/cockroachdbingestor/@v/v1.0.1.info): 404 Not Found
go: error loading module requirements

The speechmatics/cockroachdbingestor module exists in Artifactory with the 1.0.1 version. It can be seen in the web browser.

It was expected that the go get would work.

Manually running curl against the URL returns a 404 as well. An Artifactory header is returned so the route to the server works.

  • 写回答

1条回答 默认 最新

  • douhui9380 2019-02-22 08:59
    关注

    After upgrading to 6.8.2 go get works.

    评论

报告相同问题?