-
Notifications
You must be signed in to change notification settings - Fork 212
docs.rs does not load in China anymore #979
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
Comments
I guess this is pretty strong motivation for #921. We did switch to fontawesome 5 recently which uses a different CDN, but from your screenshot it looks like even the old files aren't loading. |
Is the site completely broken or is it just the css missing? We can move it from |
Thanks for taking a look! It's completely broken as one only sees a white screen, due to the CSS not loading. The HTML is present though, it just won't ever be displayed. Firefox would display 'ghosts' of the page while in dev mode for some reason, and Curl can also get anything hosted on docs.rs. That workaround of moving the CSS sounds great, I would love to give it a try. |
I think vendoring all those files is as easy as shuffling things around, I'd avoid messing with the ordering. |
If we need to we can vendor our CSS, that's the recommended way to use FA 5 |
#981 was reverted in production. |
@jyn514 YES 🎉! So good to have docs.rs back! It really is a vital piece of the Rust infrastructure! Never thought about it, until now. Thanks for all of your help to get this fixed! |
No problem! |
Fun fact: I waited about a week until I reported this issue, assuming it's just something temporary mixed with "somebody else will probably report it first". This makes me question whether I am the only user coming in from China without a VPN. Do you have statistics on usage by country? VPN users usually come from Hong Kong, otherwise they should be identifiable as coming from mainland China. |
Hmm, all our visits are proxied through cloudfront so I don't have access to the statistics, but @pietroalbini or @Mark-Simulacrum might know. |
I'd kinda prefer not to make traffic stats public :( |
Interesting stance, I am sure you have a good reason. Since I am kind of isolated in this country, I have no idea if a Chinese Rust community even exist, and if it does, where they hang out. It's all sealed off from me due to me not speaking/reading the language. By asking this I guess I wanted to feel like there is in fact a community that one fine day, I might even discover :D . Anyhow, moving on. |
@Byron you might be interested in https://www.youtube.com/watch?v=j_ha1-1w6sw |
This is what I see when debugging this in Firefox - it appears only a few resources are not loading:
I thought it might be related to the recent move of blocking TLS 1.3 and ESNI, but I couldn't verify it for sure.
I am happy to provide further data to help resolving this issue, if at all possible.
Thank you
The text was updated successfully, but these errors were encountered: