haskell / haskell/hackage-server

hackage-security: file returned by server too large

Open
#1,236 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
467
Forks
225
PR merge metrics
No merged PRs in 30d

Description

*Originally reported here: https://github.com/commercialhaskell/stack/issues/5770*

I have been seeing this error more and more often:
```
Selected mirror https://hackage.haskell.org/
Downloading root
Waiting to acquire cache lock on /home/runner/.stack/pantry/hackage/hackage-security-lock
Acquired cache lock on /home/runner/.stack/pantry/hackage/hackage-security-lock
Released cache lock on /home/runner/.stack/pantry/hackage/hackage-security-lock
Selected mirror https://hackage.haskell.org/
Downloading timestamp
Downloading snapshot
Downloading mirrors
Cannot update index (no local copy)
Downloading index
file returned by server too large: /01-index.tar.gz (expected exactly 115606991 bytes)
```

It started to occur yesterday, and today I have seen it a couple of times. In this CI [run](https://github.com/tweag/rules_haskell/actions/runs/5753152792/job/15595735527?pr=1921) almost all jobs are failing because of it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.