Unkown error message when trying to install Haskell Platform on Windows

852 Views Asked by At

When trying to install the Haskell Platform via Chocolatey as outlined in the default instructions at haskell.org/platform, I get an error when trying to install the cabal and ghc packages.

**cabal message:**
Attempt to get headers for https://downloads.haskell.org/cabal/cabal-install-3.4.0.0/cabal-install-3.4.0.0-x86_64-windows.zip failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://downloads.haskell.org/cabal/cabal-install-3.4.0.0/cabal-install-3.4.0.0-x86_64-windows.zip'. Exception calling "GetResponse" with "0" argument(s): "The operation has timed out"
Downloading cabal 64 bit
  from 'https://downloads.haskell.org/cabal/cabal-install-3.4.0.0/cabal-install-3.4.0.0-x86_64-windows.zip'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://downloads.haskell.org/cabal/cabal-install-3.4.0.0/cabal-install-3.4.0.0-x86_64-windows.zip'. Exception calling "GetResponse" with "0" argument(s): "The operation has timed out"
The install of cabal was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1'.
 See log for details.
**ghc messages:**
Attempt to get headers for https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-unknown-mingw32.tar.xz failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-unknown-mingw32.tar.xz'. Exception calling "GetResponse" with "0" argument(s): "The operation has timed out"
Downloading ghc 64 bit
  from 'https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-unknown-mingw32.tar.xz'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-unknown-mingw32.tar.xz'. Exception calling "GetResponse" with "0" argument(s): "The operation has timed out"
The install of ghc was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\ghc\tools\chocolateyInstall.ps1'.
 See log for details.

Any help greatly appr

0

There are 0 best solutions below