Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
607 views
in Technique[技术] by (71.8m points)

go get github.com/**/* 遇到这样的问题 dial tcp : i/o timeout

Get "https://proxy.golang.org/*/": dial tcp 34.64.4.113:443: i/o timeout

运行以下两行代码

go env -w GOPROXY=https://goproxy.cn
go env -w GOSUMDB=off

参考:请求增加go语言镜像代理服务


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

设置的proxy没有生效吧,看报错还是从https://proxy.golang.org拉的包


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...