Better error message when HTTP_PROXY is down.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- haskell
- Domain
- networking
Research direction
Start by reproducing the failure with HTTP_PROXY set to an unavailable proxy such as localhost:3128, then inspect the HTTP package's proxy request and error-handling entry points. The work is done when a down proxy produces a helpful error message instead of the reported uninformative output.
Written by the indexing model from the issue text.
Description
Quoting https://github.com/haskell/cabal/issues/1962:
In order to avoid #1602 I upgraded HTTP to version 4000.2.17. But I noticed a new (minor) problem: If the proxy mentioned in http_proxy is down, I get
(sid)root@kirk:~# unset http_proxy (sid)root@kirk:~# cabal update Downloading the latest package list from hackage.haskell.org (sid)root@kirk:~# export http_proxy=http://localhost:3128/ (sid)root@kirk:~# cabal update Downloading the latest package list from hackage.haskell.org cabal: does not exist # now starting the proxy (sid)root@kirk:~# cabal update Downloading the latest package list from hackage.haskell.orgCertainly the error message could be more helpful.
- Dominant language
- Haskell
- Stars
- 186
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from haskell/HTTP
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
haskellfoundation/haskellfoundation.github.io#637 · 2 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
koalaman/shellcheck#3539 ·
-
time-manager-0.4.0 Openfailure: bounds
Difficulty 1/5 Under an hour Newbie friendliness 72/100
commercialhaskell/stackage#8122 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
objectionary/phino#1350 ·