8000 sum.golang.org: returns 404 not found for an existing version of very large repo · Issue #56174 · golang/go · GitHub 8000
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
sum.golang.org: returns 404 not found for an existing version of very large repo #56174
Open
@tbruyelle

Description

@tbruyelle

What version of Go are you using (go version)?

$ go version
go version go1.19.2 linux/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/tom/.cache/go-build"
GOENV="/home/tom/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/tom/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/tom/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19.2"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1236717261=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Update the ignite/cli dependency in a module to a newer version dffafa16f6fd91d9ef4462570038210c518d08dd

$ go get github.com/ignite/cli@dffafa16f6fd91d9ef4462570038210c518d08dd
go: downloading github.com/ignite/cli v0.24.1-0.20221012132336-dffafa16f6fd
go: github.com/ignite/cli@dffafa16f6fd91d9ef4462570038210c518d08dd: github.com/ignite/cli@v0.24.1-0.20221012132336-dffafa16f6fd: verifying module: github.com/ignite/cli@v0.24.1-0.20221012132336-dffafa16f6fd: reading https://sum.golang.org/lookup/github.com/ignite/cli@v0.24.1-0.20221012132336-dffafa16f6fd: 404 Not Found
	server response: not found:

The problem is reproducible without using a specific module :

  1. Fetch the pseudo-version
$ go list -m -json github.com/ignite/cli@dffafa16f6fd91d9ef4462570038210c518d08dd
{
	"Path": "github.com/ignite/cli",
	"Version": "v0.24.1-0.20221012132336-dffafa16f6fd",
	"Query": "dffafa16f6fd91d9ef4462570038210c518d08dd",
	"Time": "2022-10-12T13:23:36Z",
	"Origin": {
		"VCS": "git",
		"URL": "https://github.com/ignite/cli",
		"TagSum": "t1:yeejinhZSpi1V0OWB9y12hJfyz/MNKldv/v/ajQ87xE=",
		"Hash": "dffafa16f6fd91d9ef4462570038210c518d08dd"
	}
}
  1. Request sumdb with the pseudo-version
$ curl https://sum.golang.org/lookup/github.com/ignite/cli@v0.24.1-0.20221012132336-dffafa16f6fd
not found: 

What did you expect to see?

sum.golang.org should return the checksum data instead of 404.

What did you see instead?

sum.golang.org returns a 404 not found error.

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.proxy.golang.org

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0