nju-lug / NJU-Mirror-Issue

Issue for NJU Mirror(without frontend issue).
4 stars 0 forks source link

[MER] Mirror Error Report for go #35

Closed CybCom closed 10 months ago

CybCom commented 11 months ago

Note

Error Information

repo url https://repo.nju.edu.cn/repository/go/ error inforation

$ go version
go version go1.21.5 linux/amd64
$ go env -w GOPROXY="https://repo.nju.edu.cn/repository/go/,direct"
$ go install github.com/cloudwego/hertz/cmd/hz@latest
...
go: downloading github.com/spf13/cast v1.3.1
go: downloading golang.org/x/crypto v0.3.0
go: downloading github.com/mitchellh/reflectwalk v1.0.0
go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2
go: downloading github.com/russross/blackfriday/v2 v2.1.0
go/pkg/mod/github.com/cloudwego/hertz/cmd/hz@v0.7.1/protobuf/api/api.pb.go:12:2: zip: not a valid zip file
go/pkg/mod/github.com/cloudwego/hertz/cmd/hz@v0.7.1/protobuf/api/api.pb.go:13:2: zip: not a valid zip file
go/pkg/mod/github.com/cloudwego/hertz/cmd/hz@v0.7.1/protobuf/api/api.pb.go:14:2: zip: not a valid zip file
go/pkg/mod/github.com/cloudwego/hertz/cmd/hz@v0.7.1/protobuf/ast.go:31:2: zip: not a valid zip file
go/pkg/mod/github.com/cloudwego/hertz/cmd/hz@v0.7.1/protobuf/plugin.go:63:2: zip: not a valid zip file
go/pkg/mod/github.com/cloudwego/hertz/cmd/hz@v0.7.1/protobuf/ast.go:32:2: zip: not a valid zip file
go/pkg/mod/github.com/cloudwego/hertz/cmd/hz@v0.7.1/protobuf/ast.go:33:2: zip: not a valid zip file
go/pkg/mod/github.com/cloudwego/hertz/cmd/hz@v0.7.1/protobuf/plugin.go:68:2: zip: not a valid zip file
go/pkg/mod/github.com/cloudwego/thriftgo@v0.1.7/plugin/marshal.go:21:2: zip: not a valid zip file

how to reproduce the problem 按照help的方式换源,再按照hertz文档安装hz,即可复现。注意到使用 $ go env -w GOPROXY=https://goproxy.cn,direct 则不报错。

时间有限,没有继续研究原因,麻烦维护者们了。感谢各位。

yaoge123 commented 10 months ago

删掉重建了一下,应该是正常了,您再测试看看

CybCom commented 10 months ago

没有问题。当时的v0.7.1版本和现在的latest v0.8都恢复正常。感谢处理。