ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.05k stars 2.22k forks source link

Game does not use system configured proxy in all cases #25008

Open fantasyzhjk opened 11 months ago

fantasyzhjk commented 11 months ago

Type

Other

Bug description

I encountered an issue where the osu!lazer client doesn't utilize the system's proxy settings, causing timeouts when downloading beatmaps, especially in network environments like China. Unlike osu!stable, which automatically retrieves system proxy information, osu!lazer currently does not.

Screenshots or videos

image

Version

2023.924.1

Logs

runtime.log updater.log database.log input.log network.log performance.log

peppy commented 11 months ago

Related: https://github.com/ppy/osu/discussions/17897

DGCK81LNN commented 7 months ago

I often launch lazer and then turn on proxy, and find out that lazer isn't connecting to the server properly, then I restart it and it connects. It seems as if the proxy configurations were reloaded when I restart lazer.

Also I would really appreciate it if lazer had its own proxy setting, i have problems connecting to the osu server but my obs streaming should not use a proxy

ChiNoel-osu commented 3 months ago

I toggle my system proxy a lot, I play lazer sometimes with and sometimes without proxy. And occasionally for some reason lazer seems to hold dead on to my configured proxy setting even if I turned system proxy setting OFF (the game would just constantly reconnecting to a proxy server that doesn't exist anymore), HTTP_PROXY and HTTPS_PROXY are not set either. A system restart fixes this. And I'm not able to reproduce it now it's so weird.

ChiNoel-osu commented 1 week ago

Yep, the game is not picking up system proxy setting changes. image

learningis1st commented 1 week ago

Also can confirm on macOS 截屏2024-06-27 上午10 40 49 截屏2024-06-27 上午10 41 31

peppy commented 1 week ago

Yep, the game is not picking up system proxy setting changes. image

are you restarting the game after changing the settings?

ChiNoel-osu commented 1 week ago

are you restarting the game after changing the settings?

Yes, I restarted the game (waited till osu!.exe disappears in taskmgr) after I change the proxy settings.