How to fix error: Reflector: reflector: fetching information from https://www.archlinux.org failed!

Hi, My computer cannot update because of an error: Reflector: reflector: fetching information from https://www.archlinux.org failed! when me click update Mirrors . Can anyone support me? Thank you.
Sorry for my english is not good.

Screenshot_2021-12-27_21-08-18

Welcome to :enos: forums.

Is your internet connection working?

1 Like

Yes, it’s right.

So it’s working.

Can you open the terminal and try ping -c 4 www.google.com and then ping -c 4 www.archlinux.org. Post both outputs here.

2 Likes

Yes: It 's result:

$ ping -c 4 www.google.com
PING www.google.com(sd-in-f147.1e100.net (2404:6800:4003:c0f::93)) 56 data bytes
64 bytes from sd-in-f147.1e100.net (2404:6800:4003:c0f::93): icmp_seq=1 ttl=113 time=51.2 ms
64 bytes from sd-in-f147.1e100.net (2404:6800:4003:c0f::93): icmp_seq=2 ttl=113 time=53.7 ms
64 bytes from sd-in-f147.1e100.net (2404:6800:4003:c0f::93): icmp_seq=3 ttl=113 time=53.6 ms
64 bytes from sd-in-f147.1e100.net (2404:6800:4003:c0f::93): icmp_seq=4 ttl=113 time=52.8 ms

--- www.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 51.244/52.838/53.714/0.976 ms

$ ping -c 4 www.archlinux.org
PING www.archlinux.org(archlinux.org (2a01:4f9:c010:6b1f::1)) 56 data bytes
64 bytes from archlinux.org (2a01:4f9:c010:6b1f::1): icmp_seq=2 ttl=50 time=343 ms
64 bytes from archlinux.org (2a01:4f9:c010:6b1f::1): icmp_seq=4 ttl=50 time=342 ms

--- www.archlinux.org ping statistics ---
4 packets transmitted, 2 received, 50% packet loss, time 3034ms
rtt min/avg/max/mdev = 341.734/342.500/343.266/0.766 ms

And now, And the latest pictures:

Screenshot_2021-12-27_21-19-51

If you got a functioning connection, you could try refreshing your mirrorlist manually from a terminal:

reflector --latest 5 --sort rate | sudo tee /etc/pacman.d/mirrorlist

When you get back the prompt:

sudo pacman -Syyu

2 Likes

Yes: It 's result:

error: failed to retrieve mirrorstatus data: TimeoutError: The read operation timed out

When you click “Update Mirrors” do you see a GUI like the one below.
image

1 Like

When I click “Update Mirrors”, I see:

Screenshot_2021-12-27_21-27-14

if it is an issue to reach archlinux.org there is an issue with internet connection i would bet… you can try increase the timeout on reflector…

--download-timeout 120

2021-12-27_15-29


--download-timeout n The number of seconds to wait before a download times out. Default: 5

3 Likes

And now, the latest pictures:

Screenshot_2021-12-27_21-30-14

What country are you in?

1 Like

I’m from Vietnam.

How to try increase the timeout on reflector? I don’t know what to do… Thank you.

reflector --latest 5 --sort rate --download-timeout 120 | sudo tee /etc/pacman.d/mirrorlist

sudo pacman -Syyu

2 Likes

I’ve done it already. The problem has been resolved. Thank you for your support. :slight_smile:

Screenshot_2021-12-27_21-48-44

Thank you for your support. :slight_smile:

Please mark the post that helped to solve the problem as the solution. It’ll close the thread in 2 days and then will help with others with the same type of issue.

2 Likes

Yes, Thank you for your support.

Not just the post :laughing:

P.S. :man_facepalming: :woman_facepalming:

2 Likes