mirrors.json lists two mirrors, both dead

Aperta
#1,530 4 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
haskell

Direzione di ricerca

The problem is the published mirrors.json document, not a code path. Confirm the two listed mirror URLs with the curl commands in the issue, then check how the repository produces and signs this file. Done means a re-signed mirrors.json with the dead entries removed (an empty list is valid). Re-signing needs the maintainers' signing keys, so a newcomer should coordinate with them before editing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

https://hackage.haskell.org/mirrors.json (version 13, expires 2027-06-01T23:59:59Z) lists two mirrors:

Neither works as of 2026-10-15:

$ curl -sS -o /dev/null -w '%{http_code}\n' http://hackage.fpcomplete.com/root.json
curl: (6) Could not resolve host: hackage.fpcomplete.com

$ curl -sS -o /dev/null -w '%{http_code}\n' http://objects-us-east-1.dream.io/hackage-mirror/root.json
403
$ curl -sS http://objects-us-east-1.dream.io/hackage-mirror/timestamp.json
Forbidden
$ curl -sS -o /dev/null -w '%{http_code}\n' http://objects-us-east-1.dream.io/hackage-mirror/01-index.tar.gz
403

The hackage.fpcomplete.com hostname no longer resolves in DNS. The dream.io bucket returns 403 for every file.

So hackage-security clients (cabal-install, stack) have no working fallback if hackage.haskell.org is unavailable. These URLs have been carried over unchanged through several re-signings (see #834, versions 7 and 9).

Suggested fix: re-sign mirrors.json with the dead entries removed, and add live mirrors if there are any. An empty mirror list is also valid. The next re-signing before the 2027-06-01 expiry would be a natural time to do this, if not sooner.

Related: #834

Lingua principale
Haskell
Stelle
471
Fork
228
Merge medio
5g 6h
PR unite (30g)
3

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di haskell/hackage-server

Tutte le issue di haskell/hackage-server

Issue simili

Altre issue su Haskell

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.