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

go build main.go之后就报错 #64

Open
tm1233 opened this issue May 21, 2023 · 1 comment
Open

go build main.go之后就报错 #64

tm1233 opened this issue May 21, 2023 · 1 comment

Comments

@tm1233
Copy link

tm1233 commented May 21, 2023

pkg/runner/cel.go:15:2: google.golang.org/genproto@v0.0.0-20210831024726-fe130286e0e2: Get "https://proxy.golang.org/google.golang.org/genproto/@v/v0.0.0-20210831024726-fe130286e0e2.zip": dial tcp 172.217.163.49:443: i/o timeout
pkg/proto/http.pb.go:10:2: google.golang.org/protobuf@v1.28.1: Get "https://proxy.golang.org/google.golang.org/protobuf/@v/v1.28.1.zip": dial tcp 172.217.163.49:443: i/o timeout
pkg/proto/http.pb.go:11:2: google.golang.org/protobuf@v1.28.1: Get "https://proxy.golang.org/google.golang.org/protobuf/@v/v1.28.1.zip": dial tcp 172.217.163.49:443: i/o timeout
pkg/poc/poc.go:9:2: gopkg.in/yaml.v2@v2.4.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.4.0.zip": dial tcp 172.217.163.49:443: i/o timeout
就主要报这个错,师傅我该怎么解决呀,用代理也不行

@zan8in
Copy link
Owner

zan8in commented May 21, 2023

设置下面 go 环境变量试试

go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants