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
go get
on https://go.googlesource.com gets rate-limited on Travis CI
#12933
Comments
If you authenticate as a user, you get a much higher quota. Use a ~/.gitcookies files. Click "Generate Password" at the top of https://go.googlesource.com/ We don't run the Gerrit server, though, so I'm unable to special case anything. I'm closing this because it's not really a Go bug but feel free to mail me bradfitz at golang org if you have questions. |
@bradfitz: This is super helpful. Thank you! |
travis CI occasionally returns daily bandwidth exceeded error. This fix follows golang/go#12933
Should fix messages like this from the Travis builds: ``` Daily bandwidth rate limit exceeded for IP 52.0.240.122. ``` Refs golang/go#12933
Should fix messages like this from the Travis builds: ``` Daily bandwidth rate limit exceeded for IP 52.0.240.122. ``` Refs golang/go#12933
Should fix messages like this from the Travis builds: ``` Daily bandwidth rate limit exceeded for IP 52.0.240.122. ``` Refs golang/go#12933
We (Travis CI build infrastructure team) are also looking into getting in touch about some network level based authentication that could help reduce the work needed for individual users. |
In the meantime, this can be worked around on a per-repo basis... (I did it on Travis but other CI systems may be affected and have similar solutions.)
This makes your git clones authenticated so your rate limits are higher. Edit: Apparently on Travis, this doesn't work for pull requests :( So you have to surround the scripts with |
I don't think it will work on pull request, or a pull request could expose the password. |
Hi,
I work for Travis CI and we have a customer that got rate-limited while doing a
go get
on https://go.googlesource.com and its build failed because of that.Is there any way we could prevent this situation from happening?
Here is the logs he got:
Thanks in advance!
The text was updated successfully, but these errors were encountered: