Ticket #352 (closed defect: fixed)
cabal-install has problems with some HTTP proxies
|Reported by:||BMeph||Owned by:|
For a few weeks I have had a problem where 'cabal update' fails every time, with an HTTP 403 error:
wbaety@SDRSPPC09 /c/cabal-install-0.5.2 $ cabal update -v3 Downloading package list from server 'http://hackage.haskell.org/packages/archive' Sending: GET http://hackage.haskell.org/packages/archive/00-index.tar.gz HTTP/1.1 User-Agent: cabal-install/0.5.1 Creating new connection to hackage.haskell.org Received: HTTP/1.1 403 Forbidden Content-Type: text/html cabal.exe: Failed to download index 'ErrorMisc "Invalid HTTP code: (4,0,3)"'
Oddly, both wget and curl will retrieve the file just fine. I have attached a copy of both the curl and the cabal output.
-- Reported by BMeph on 16 September 2008 @ 14:03 (-7:00)