还多新手朋友在编译go的过程中是不是经常会遇到这样的报错
module ***: Get "https://proxy.golang.org/***": dial tcp 172.217.160.113:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
你可以试着访问一下proxy.golang.org,怎么样,访问不了吧,没错,这是被我们伟大的长城防火墙给屏蔽了,你需要改成我们国内可用的代理地址,直接在命令行执行go env -w GOPROXY=https://goproxy.cn,然后再次尝试执行你的go命令试试看,搞定了吧

Last modification:June 15th, 2020 at 10:24 am
If you think my article is useful to you, please feel free to appreciate