How did you install julia? If you installed via pacman, that one is known broken, as the pacman maintainers don’t really care for us shipping patched dependencies. See the archwiki for more info.
https://wiki.archlinux.org/title/Julia#Installation
Does the error also happen with official binaries? What error do you get when you then do using HTTP?