[Hackage] #562: cabal-install update fails going through a HTTP proxy (but not consistently)

Hackage trac at galois.com
Thu Jun 11 12:49:25 EDT 2009


#562: cabal-install update fails going through a HTTP proxy (but not
consistently)
----------------------------+-----------------------------------------------
  Reporter:  acid2          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.6.0.1
  Severity:  normal         |   Resolution:         
  Keywords:                 |   Difficulty:  unknown
Ghcversion:                 |     Platform:         
----------------------------+-----------------------------------------------
Comment (by duncan):

 And here's another reported example of the same issue:

 {{{
 dever at carbon (~) -> cabal update -v3
 [17:41]
 Downloading the latest package list from hackage.haskell.org
 Sending:
 GET /packages/archive/00-index.tar.gz HTTP/1.1
 User-Agent: cabal-install/0.6.2
 Host: hackage.haskell.org
 proxy uri host: proxy.dcu.ie, port: :8080
 Creating new connection to proxy.dcu.ie:8080
 Received:
 HTTP/1.1 200 OK
 Date: Thu, 11 Jun 2009 16:41:54 GMT
 Server: Apache/2.2.3 (Debian)
 Last-Modified: Thu, 11 Jun 2009 16:00:48 GMT
 ETag: "58c20d-f9605-b1faec00"
 Accept-Ranges: bytes
 Content-Length: 1021445
 Content-Type: application/x-tar
 Content-Encoding: x-gzip
 X-Cache: MISS from cache.dcu.ie
 X-Cache-Lookup: MISS from cache.dcu.ie:3128
 Via: 1.1 proxy1.dcu.ie:3128 (squid/2.7.STABLE4)
 Connection: close
 Downloaded to
 /home/member/d/dever/.cabal/packages/hackage.haskell.org/00-index.tar.gz
 cabal: user error (Codec.Compression.Zlib: premature end of compressed
 stream)
 }}}

 Now running again and getting a proxy cache hit:
 {{{
 dever at carbon (~) -> cabal update -v3
 [17:41]
 Downloading the latest package list from hackage.haskell.org
 Sending:
 GET /packages/archive/00-index.tar.gz HTTP/1.1
 User-Agent: cabal-install/0.6.2
 Host: hackage.haskell.org
 proxy uri host: proxy.dcu.ie, port: :8080
 Creating new connection to proxy.dcu.ie:8080
 Received:
 HTTP/1.1 200 OK
 Date: Thu, 11 Jun 2009 16:41:59 GMT
 Server: Apache/2.2.3 (Debian)
 Last-Modified: Thu, 11 Jun 2009 16:00:48 GMT
 ETag: "58c20d-f9605-b1faec00"
 Accept-Ranges: bytes
 Content-Length: 1021445
 Content-Type: application/x-tar
 Content-Encoding: x-gzip
 X-Cache: MISS from cache.dcu.ie
 X-Cache-Lookup: HIT from cache.dcu.ie:3128
 Proxy-Connection: close
 Downloaded to
 /home/member/d/dever/.cabal/packages/hackage.haskell.org/00-index.tar.gz
 Reading available packages...
 }}}

 Why has this started cropping up all of a sudden? Never seen this before
 then 3 reports in as many days. Do we suspect HTTP-4000.0.6 -> 7 perhaps?

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/562#comment:6>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list