Why am I getting this for any download? HTTP ERROR: 504 Gateway Timeout

HTTP ERROR: 504

Gateway Timeout

RequestURI=http://download.documentfoundation.org/libreoffice/stable/4.1.2/win/x86/LibreOffice_4.1.2_Win_x86.msi

Please try the link(s) in this answer by @Pedro1.