Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

bad error message when proxy cannot be resolved #543

Closed
bos opened this Issue · 1 comment

2 participants

@bos
Owner

(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 hackage.haskell.org
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.

@bos
Owner

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

Verified that this still exists.

@dcoutts dcoutts closed this in 0905817
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.