mirrors.json lists two mirrors, both dead

Abierto
#1,530 4 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
haskell

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Haskell
Estrellas
471
Forks
228
Merge medio
5 d 6 h
PR fusionados (30 d)
3

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de haskell/hackage-server

Todos los issues de haskell/hackage-server

Issues similares

Más issues de Haskell

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.