Chinese users packages install slow/fail
-
@mitu Thank you for your reply! I'll try to deal with the problem if I have time.
-
@mitu I found out that the connection to files.retropie.org.uk is poor too when installing binary packages......We really need a local mirror
-
You should sort things out with your network provider/ISP then, there's no throttling done on the RetroPie download server.
Are you able to test from another ISP/Network provider ? How do you know this affects all users from China ? -
@mitu I've tried on multiple network providers & devices,and even sometimes retropie.org.uk and this bbc are unable to acccess......It's common in China to be unable to connect to foreign server.This is not your fault at all.And I've seen many posts on some Chinese BBC saying"waiting for hours",through which I believe it's a common condition here.
-
OK, in this case there's nothing we can do.
It's unlikely we'll add a mirror to remove this slowdown, but it's not my call to make.
-
@entropyriser have you tried using a VPN?
-
@BuZz Anyway it's illegal and costs money
-
@mitu I am trying to edit the retropie_setup script to change the repo address to gitee.com's existing mirror.It works so well ! I cant believe my eyes.
But the work load for me is too heavy to change every script and clone them since I'm a student.Do you have solutions? -
@entropyriser said in Chinese users packages install slow/fail:
But the work load for me is too heavy to change every script and clone them since I'm a student.Do you have solutions?
No, I don't have a solution. We're not going to add any mirroring options in the main project, so unless you or someone else is willing to create a fork (on gitee.com or somewhere closer) with the modifications needed, then I don't see the current situation improving for you.
-
@entropyriser Well, if everything is in gitee.com, I imagine that you could work out some simple command to replace github with gitee from the RetroPie-Setup folder - something like:
grep -rl github *.sh | xargs sed -i 's/github/gitee/g'
This is untested, but - if this works - this will very much break any updates you might want to make to RetroPie-Setup afterwards, and might break other things, as it'll (supposedly) blindly replace all occurrences of github to gitee - assuming the syntax is ok.
...@mitu could he not change his hostname file to resolve github.com to gitee.com instead?
-
-
@pjft said in Chinese users packages install slow/fail:
...@mitu could he not change his hostname file to resolve github.com to gitee.com instead?
I don't think that will work, especially since:
- TLS needs a proper hostname/site to work.
- The URL syntax is not 100% compatible - i.e. github.com/libretro/RetroArch is mirrored on gitee.com/mirror/RetroArch, so an 1:1 match for the (github) repository name is not possible.
-
@mitu If I work on the Chinese version of rpsetup,will it be added as a branch to the project?
Anyway I'll try later because it's impossible to install retropie on a PC now in China. -
@entropyriser said in Chinese users packages install slow/fail:
@mitu If I work on the Chinese version of rpsetup,will it be added as a branch to the project?
As I said, it's not up to me.
If it were, the answer would be no - it's not a technical problem that can be solved reliably from the RetroPie side and the majority of the programs installed by it are not under our control. Maintaining and supporting a different mirror/branch is additional work just to work-around your ISP blocking/throttling the rest of the internet. And this is not specific to RetroPie itself, but to other resources that depend on the 'external' internet being accessible and working reliably without interruptions. -
Yeah sorry. This isn't going to happen. I agree with @mitu
-
@BuZz OK.I've tried to dynamically change the DNS server to visit github.com and successfully installed retropie on Ubuntu(amd64).Maybe I just need to post a solution on local forums to instruct others.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.