Cabal can't open a TCP connection

Simon Peyton Jones simonpj at microsoft.com
Thu May 8 13:22:29 UTC 2014


| my best guess: your proxy settings seem off

I think that's a good guess. On this machine we used to have to use a proxy (so $http_proxy had a URL in it), but now we don't (so $http_proxy is empty).  Maybe that's confusing Cabal.

On a machine that doesn't need to use a proxy server, what should $http_proxy be set to?

Simon

| -----Original Message-----
| From: Herbert Valerio Riedel [mailto:hvriedel at gmail.com]
| Sent: 08 May 2014 13:41
| To: Simon Peyton Jones
| Cc: ghc-devs at haskell.org; Simon Marlow
| Subject: Re: Cabal can't open a TCP connection
| 
| On 2014-05-08 at 14:03:22 +0200, Simon Peyton Jones wrote:
| > Dear ghc-devs
| > Cabal can't open a TCP connection from my Linux box.  It used to work
| fine.  Here's what it says:
| 
| [...]
| 
| > proxy uri host: , port:
| > Creating new connection to
| > cabal: openTCPConnection: host lookup failure for ""
| 
| my best guess: your proxy settings seem off


More information about the ghc-devs mailing list