-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Invalidate artifacts on CloudFront more reliably #21239
Comments
Nominating because the cdn sync issues tend to cause a lot of confusion. |
polish issue, assigning to 1.0 (but not 1.0 beta). |
Can't install rust on Debian 7. error: invalid sha2 rustup: Downloading https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz to /tmp/tmp.fVUn9l8nsY/rust-nightly-x86_64-unknown-linux-gnu.tar.gz |
Is there a workaround for this? Currently getting hash mismatches on OSX:
|
@wildlyinaccurate the workaround is 'wait a while' 😦 |
Managed to get it installed via Homebrew on OSX. I realise that's not very helpful for anybody on Linux, though... |
I had this issue for days now and i never had this for the last months... it's truely annoying.. :( |
Also experiencing this with Debian 😞 : |
In ubuntu12.04, also encounter this problem.
|
Works here now |
@wildlyinaccurate Download the |
@brson you really must fix this by 1.0. |
Just a suggestion, but maybe there is a way to automatically invalidate the cache?
I now have to wait an hour before the tar is up-to-date with the pgp signature. I would recon that the script that automatically uploads the nightlies could also trigger something like describeded on this stackoverflow answer? |
This bit me too. It's really annoying having to wait for several hours, and confuses new users. @mvdnes: The files seem to have been updated. |
@mvdnes Yeah, we could probably update our build infrastructure to generate an invalidation and submit it. Even if we do that there will be windows where things are not in sync, but it should be pretty short. We do a daily invalidation now, but the timing is loose, and it's a fixed list of files that don't always correspond to what has actually changed. |
Removing from 1.0 milestone. |
Instead of moving off cloudfront we might just modify rust-buildbot to do the correct invalidations at upload time. |
cloudfront now supports wildcard invalidations, which should make it much easier to invalidate the correct things. |
Updated title to reflect current plan. |
Plan:
|
TODO: add master config step that runs invalidation at end of nightly build. |
Done! |
We're only on cloudfront because it was an easy way to set up HTTPS, but it's been a huge pain because our files are always out of sync. Since for #20629 we probably need at HTTPS proxy anyway, we should just do it ourselves with nginx.
The text was updated successfully, but these errors were encountered: