Better error message when HTTP_PROXY is down.
- Langage dominant
- Haskell
- Étoiles
- 186
- Forks
- 59
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.org
> ```
>
> Certainly the error message could be more helpful.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire l’échec avec HTTP_PROXY défini sur un proxy indisponible tel que localhost:3128, puis examinez les points d’entrée du paquet HTTP pour les requêtes de proxy et la gestion des erreurs. Le travail est terminé lorsqu’un proxy hors service produit un message d’erreur utile au lieu de la sortie peu informative signalée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- haskell
- Domaine
- networking
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100