Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy.golang.org: 410 Gone for simple get request #31995

Closed
myitcv opened this issue May 13, 2019 · 2 comments
Closed

proxy.golang.org: 410 Gone for simple get request #31995

myitcv opened this issue May 13, 2019 · 2 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@myitcv
Copy link
Member

myitcv commented May 13, 2019

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

$ go version
go version go1.12.5 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
GOARCH="amd64"
GOBIN="/home/myitcv/gostuff/src/github.com/myitcv/govim/cmd/govim/.bin"
GOCACHE="/home/myitcv/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/myitcv/gostuff"
GOPROXY="https://proxy.golang.org/"
GORACE=""
GOROOT="/home/myitcv/gos"
GOTMPDIR=""
GOTOOLDIR="/home/myitcv/gos/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/myitcv/gostuff/src/github.com/myitcv/govim/go.mod"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build077283485=/tmp/go-build -gno-record-gcc-switches"

What did you do?

$ go get github.com/gohugioio/hugo

What did you expect to see?

No error; the latest version of hugo to have been "got".

What did you see instead?

go get github.com/gohugioio/hugo: unexpected status (https://proxy.golang.org/github.com/gohugioio/hugo/@v/list): 410 Gone

cc @katiehockman

FYI @rogpeppe

@myitcv myitcv added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. gopls Issues related to the Go language server, gopls. and removed gopls Issues related to the Go language server, gopls. labels May 13, 2019
@myitcv
Copy link
Member Author

myitcv commented May 13, 2019

🤦‍♂ user error here; there's a typo in github.com/gohugioio/hugo; should be github.com/gohugoio/hugo

That said, @katiehockman - should this instead be a 404?

If this is working as intended, please close... and accept my apologies for the noise!

@heschi
Copy link
Contributor

heschi commented May 13, 2019

This is an implementation detail of our HTTP caching. It can cache 410s, but not 404s, and the go command doesn't care which we give, so we we give 410s.

In the next few days you should be able to go to the URL (https://proxy.golang.org/github.com/gohugioio/hugo/@v/list) and see the same error as you'd see without a proxy:

not found: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/2e23c98e9a4d18876e6a489dc5e73c9145655dd9761b24724a763f697c1604f2: exit status 128:
	fatal: could not read Username for 'https://github.com': terminal prompts disabled
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

but that won't do users a ton of good until something happens with #30748.

Closing as WAI, no worries about the "noise".

@heschi heschi closed this as completed May 13, 2019
@golang golang locked and limited conversation to collaborators May 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants