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

你好,我设置了GOPROXY为goproxy.cn后,go get 下载gorm出现依赖下载404 #25

Closed
SJYeon opened this issue Sep 19, 2019 · 5 comments

Comments

@SJYeon
Copy link

SJYeon commented Sep 19, 2019

image

在公司因为公司网可以直接翻墙,将GOPROXY设置为空后,下载就正常了。
帮忙看一下是什么问题吧~
3Q~

@aofei
Copy link
Member

aofei commented Sep 19, 2019

你好,这是一个 bug,原因是 jcmturner/rpc 这个模块的作者事先发布了 v1.1.1 版本,接着被模块代理给缓存了,然后作者又删除了它才导致的这个错误发生,我们正在协商修复当中,具体请看 golang/go#34141

在这个 bug 被修复之前,暂时的解决办法是更新时忽略掉这个模块,如果你是 Go 1.13 的话可以将 GOPROXY 设置为 https://goproxy.cn,direct,这样子就可以解决这个问题了,原理是当代理返回 404 时就去源头抓取。

@aofei
Copy link
Member

aofei commented Sep 19, 2019

不好意思,发错 issue 了,应该是这个:golang/go#34033

@SJYeon
Copy link
Author

SJYeon commented Sep 19, 2019

没事 我的问题也帮忙看一下吧 哈哈哈

@aofei
Copy link
Member

aofei commented Sep 19, 2019

我的意思是我引用错 issue 了,我最上面回答的内容就是针对你的这个问题的。😅

@aofei
Copy link
Member

aofei commented Oct 23, 2019

你好,当前这个 Bug 已经被修复了,所以我就关闭这个 Issue 了哈,如果有后续问题可以继续反馈。😊

@aofei aofei closed this as completed Oct 23, 2019
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