Skip to content

bad error message when proxy cannot be resolved #543

bos opened this Issue May 24, 2012 · 1 comment

2 participants

Haskell member
bos commented May 24, 2012

(Imported from Trac #550, reported by @dcoutts on 2009-04-29)

As reported by a user:

when I run cabal update I get some strange error:
% cabal update
Downloading the latest package list from
cabal: user error (openTCPConnection: host lookup failure for "")
Turns out the problem was that http_proxy environment variable was set to "" (ie the empty string).

The problem with the error of course is that we've no idea what it is it thinks is "", there's no indication that it's the proxy. If it said that it encountered the problem while contacting the proxy that'd be an improvement.

Haskell member
bos commented May 24, 2012

(Imported comment by @kosmikus on 2009-04-29)

Verified that this still exists.

@dcoutts dcoutts closed this in 0905817 Oct 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.