-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
proxy.golang.org: fails to fetch github.com/gmlewis/go-fonts #67996
Comments
Similar Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
According to https://proxy.golang.org/github.com/gmlewis/go-fonts/@v/list From the proxy's log, I see that proxy.golang.org keeps failing on this repo for unknown reasons. cc @suzmue @golang/tools-team |
Indeed, it seems to be a problem with the origin server.
Disabling the sumdb, it runs to completion, albeit slowly:
So it seems the upstream |
is this the 500MB limit for proxy.golang.org? |
Seems like sumdb is the bottlenneck, but it could be for a similar reason. I don't know, but I bet @suzmue does. |
sum.golang.org and proxy.golang.org have the same limits and issues. It appears that the proxy is not able to even successfully download the module in order to check the 500MB limit, but does seem that this has to do with the size as the fetch uses a lot of memory / takes a long time in the proxy's fetch environment. |
I looked into this. The repo itself is 1.2 GB after git clone --depth=1; 385 MB is the .git directory and 815 MB is the actual content. The limit on the uncompressed size of an individual module is 500 MB (500<<20 bytes). I see that there are many modules in this repo and each is small, but we also have to impose some limit on how large a git repo we are willing to download to get a module. It seems reasonable to me to say that this repo is too large. The solution would be to break it up into multiple modules. Apologies, @gmlewis. |
Thank you, everyone, who looked into this issue! I really appreciate your effort and I'm sorry for the enormity of the repo. Closing with apologies. |
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/gmlewis/go-fonts@v0.16.0
What is your user agent?
Screenshot
What did you do?
I visited https://pkg.go.dev/github.com/gmlewis/go-fonts@v0.16.0 multiple times over the course of about 15 minutes, each time asking for an update.
Eventually, that URL no longer said that that version couldn't be found, but instead started redirecting to the page with the old version.
What did you expect to see?
The latest version.
What did you see instead?
The old version.
The text was updated successfully, but these errors were encountered: