mirrors.json lists two mirrors, both dead

Đang mở
#1,530 4 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
haskell
Lĩnh vực
infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Haskell
Star
471
Fork
228
Merge trung bình
5 ngày 6 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của haskell/hackage-server

Tất cả issue của haskell/hackage-server

Issue tương tự

Thêm issue về Haskell

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.