Failed to rate http(s) download

Try rate-mirrors --protocol https arch and see if it works.

If it does, write the output into your mirrorlist:

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

You may need to install rate-mirrors first.