Skip to content

x/website: go-import meta tags not served for golang.org/x subrepos in china #47905

@DemonsLu

Description

@DemonsLu

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

go version go1.17 darwin/amd64

Does this issue reproduce with the latest release?

yes.

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

GOHOSTARCH="amd64"
GOHOSTOS="darwin"

What did you do?

  1. use go mod init xxx to create a mod file.
  2. go get golang.org/x/sys

PS: My go env variable GOPROXY setting is direct, and my IP address is in Hong Kong. When I curl this link https://golang.org/x/sys?go-get=1, I got this response: <a href="https://golang.google.cn/x/sys?go-get=1">Found</a>.
So I curl https://golang.google.cn/x/sys?go-get=1 again, and then got the error open _content/x/sys: no such file or directory in html response.

What did you expect to see?

Dependencies can be downloaded normally

What did you see instead?

Got error message: go get: unrecognized import path "golang.org/x/sys": reading https://golang.org/x/sys?go-get=1: 404 Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions