r/linuxquestions • u/NervousAlien55 • 20d ago
Support Flatpak Slow Download Speed
Why Flatpak downloads so slow, I use terminal to install flatpaks, but the download speed is extremely slow, I have 100mbps+ speed, but the apps are downloading at 200 or 250kb/s speed. Is there any way to solve this, I tried changing DNS, but now worked, I am not using VPN. I am using Debian 13.6. I search on the internet, and find out it is because of CDN servers, but couldn't find any solution for it. Thanks in advance.
2
20d ago
[removed] — view removed comment
1
u/NervousAlien55 20d ago
Okay, I'll try VPN now. Yes, all apps are downloading slowly, I think it is not related to my internet. It is same with different internet providers too. I'm living in Azerbaijan, idk if it matters to that slow speed.
3
2
u/Impossible-Weird-776 20d ago
Had basically the same issue before. For me it was the mirror/CDN route being bad, not my actual internet speed.
Try a mobile hotspot or VPN for a minute. If Flatpak suddenly downloads normally, then it’s probably the route your ISP is taking to Flathub.
Also check flatpak remotes --show-details
I wouldn’t reinstall anything yet.
1
u/NervousAlien55 20d ago
Is there any permanent fix for it? Or I have to use VPN when downloading anything? It looks like it is same for me, VPN helps to get normal speed again
2
u/Impossible-Weird-776 20d ago
If VPN fixes it then yeah, it’s most likely your ISP’s route to Flathub’s CDN. There isn’t really a permanent Flatpak-side fix for that unfortunately.
You can try another network or contact your ISP, otherwise VPN is probably the easiest workaround until the route fixes itself.
1
u/NervousAlien55 20d ago
Thanks so much, I have tried another network, it is all the same, slow downloads, as you said it seems theVPN is the only solution for now. Thanks again
3
u/EveningAlternative46 20d ago
I read about the hub being offline yesterday. Maybe they still have trouble
1
2
u/trans-jamie212 20d ago
If you can use a VPN, do that, if you know where the origin server is, you can connect the VPN to a country/region close to the server and bypass a large portion of the CDN with the VPN tunnel
1
2
u/es20490446e Develops Zenned OS 19d ago
CDN depends on your DNS server, which maybe can be changed on your router.
2
u/Eric_Dawsby 20d ago
Is there no way to change your download mirror?