Mirrors are really slow, reflector can't rate any mirror

Normally I get ~700 kiB/s but I only get ~50 kiB/s now. I tried running reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist but this is what I get:

[2021-06-12 17:34:30] INFO: rating 5 mirror(s) by download speed
[2021-06-12 17:34:30] INFO: Server                                               Rate       Time
[2021-06-12 17:34:35] WARNING: failed to rate http(s) download (http://arch.mirror.square-r00t.net/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-06-12 17:34:35] INFO: http://arch.mirror.square-r00t.net/            0.00 KiB/s     0.00 s
[2021-06-12 17:34:43] WARNING: failed to rate http(s) download (https://arch.mirror.square-r00t.net/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-06-12 17:34:43] INFO: https://arch.mirror.square-r00t.net/           0.00 KiB/s     0.00 s
[2021-06-12 17:34:48] WARNING: failed to rate rsync download (rsync://arch.mirror.square-r00t.net/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-06-12 17:34:48] INFO: rsync://arch.mirror.square-r00t.net/arch/      0.00 KiB/s     0.00 s
[2021-06-12 17:34:54] WARNING: failed to rate http(s) download (http://mirror.f4st.host/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-06-12 17:34:54] INFO: http://mirror.f4st.host/archlinux/             0.00 KiB/s     0.00 s
[2021-06-12 17:35:00] WARNING: failed to rate http(s) download (https://mirror.f4st.host/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2021-06-12 17:35:00] INFO: https://mirror.f4st.host/archlinux/            0.00 KiB/s     0.00 s

Using the welcome app says the same thing. My internet speed in my browser is ok.

you may try choosing countries also

1 Like

Countries (preferably close to you) are probably the most important factors.
You might also want to consider using reflector options

  • --age 2 (or larger, use a small number, means hours after last mirror update)
  • --protocol https
  • --latest 10 (or even 20)

Note that option --sort rate makes ranking usually very slow. By using countries you may not need to use rate option at all. Also using option --sort country may be useful.

I think I even use latest 25 on one of my installs. It’s probably overkill. hahaha

You could also give rate-arch-mirrors a try. I use it regularly and it works a lot better for me than reflector.

2 Likes

I too can wholeheartedly recommend rate-arch-mirrors. It’s a very nice, easy to use program. I just run

rate-arch-mirrors | sudo tee /etc/pacman.d/mirrorlist 

maybe twice a year (when I notice the download speed of packages decreasing). The program does everything automatically, in about 10-20 seconds (might be slower depending on your location and internet connection). No need to specify any options like countries, number of mirrors, sorting…

Remember, after changing your mirror list, always run:

sudo pacman -Syyu
3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.