概述
2022.10.15自主学习GoLang下载Mysql包时报编译错误
报错如下:
go: module github.com/go-sql-driver/mysql: Get "https://proxy.golang.org/github.com/go-sql-driver/mysql/@v/list": dial tcp 172.217.160.81: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.
翻译:
连接尝试失败,因为被连接方在一段时间后没有正确响应,或建立的连接失败,因为被连接的主机没有响应。
解决办法:更改为国内可用的代理地址
在命令提示符输入: go env -w GOPROXY=https://goproxy.cn
最后
以上就是糟糕鸡翅为你收集整理的Golang下载资源编译错误 connection attempt failed because the connected party did not properly的全部内容,希望文章能够帮你解决Golang下载资源编译错误 connection attempt failed because the connected party did not properly所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复