ppy / osu-web

the browser-facing portion of osu!
https://osu.ppy.sh
GNU Affero General Public License v3.0
974 stars 381 forks source link

The website loads slowly due to government internet censonship in russia #10753

Closed its0ka closed 9 months ago

its0ka commented 10 months ago

*.ppy.sh uses a very common cloudflare ip address (it may change depending on your location, but for me its 188.114.98.224 and 188.114.99.224) image

Some websites banned by the government also use the same IP address, so they had to implement a Deep Packet Inspection system that blocks them, but they messed it up and now the QUIC protocol on those IP addresses is broken. image you can see on the screenshot that my web browser tried to use h3 (http3) and it failed(timeout) after getting 469 bytes (after that my browser falls back to http2 and continues to work fine until it tries to use http3 again).

i also used wireshark and you can see that in the end my pc sends data but doesn't get any response (government DPI system blocked the connection after packet no. 27) image

to fix this i can manually assign another ip address (for example 172.67.0.128 from another cloudflare website) for *.ppy.sh using hosts file or disable QUIC protocol in my web browser completely. But can you please do it on your side to fix this issue for users in russia? Changing ip adress is problematic on cloudflare but you can disable QUIC (cloudflare dash - ppy.sh - speed - optimization - protocol optimization - HTTP/3 with QUIC), can you do it please? thank you

its0ka commented 10 months ago

i already have 2 people who have this issue https://osu.ppy.sh/community/forums/topics/1848583

nanaya commented 10 months ago

if it's a cloudflare wide thing, wouldn't it be better to do it on the browser itself? Or are you going to request all websites hosted on cloudflare to turn off quic?

its0ka commented 10 months ago

@nanaya only some of cloudflare websites suffer from this, and yes i can disable it on my side, but most other people won't because they have no clue

peppy commented 9 months ago

@ThePooN thoughts on this?

ThePooN commented 9 months ago

from what I've seen on Twitter yesterday, this may not affect just Russia. i think HTTP3/QUIC is pretty bleeding edge still and the biggest performance improvements are in HTTP2, so i wouldn't mind disabling it for now

its0ka commented 9 months ago

@ThePooN the QUIC is not a problem at all, it's really good when it works. it's the government that accidentally breaks the internet, i remember when they blocked the ip address of osu.ppy.sh completely for 3 days https://osu.ppy.sh/community/forums/topics/1629771?n=1

its0ka commented 9 months ago

@ThePooN did you see this? https://github.com/ppy/osu-web/issues/10263

ThePooN commented 9 months ago

have you confirmed this is still an issue to this day? as in, have you tried re-enabling QUIC today and see if it breaks?

QUIC is not essential for us, we can easily disable it, but it's a nuclear work-around for 3 testimonies from a massive country. i've bumped the forum thread just in case.

its0ka commented 9 months ago

@ThePooN it's still an issue. it doesn't affect everyone because different isps use different filters, and some of them don't block quic. it's an issue on my rostelecom home internet but not on my mobile megafon internet

ThePooN commented 9 months ago

have disabled QUIC for now