我是靠谱客的博主 爱撒娇摩托,这篇文章主要介绍go get connectex: A connection attempt failed because the connected party did not properly respond,现在分享给大家,希望可以做个参考。
今天 go get 时出现了截图中的这个问题:

go: finding module for package github.com/Sirupsen/logrus
csphere-test/my-log imports
github.com/Sirupsen/logrus: module github.com/Sirupsen/logrus: Get "https://proxy.golang.org/github.com/%21sirupsen/logrus/@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

最后
以上就是爱撒娇摩托最近收集整理的关于go get connectex: A connection attempt failed because the connected party did not properly respond的全部内容,更多相关go内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复