haskell / haskell/hackage-server

Broken pipes in hackage-mirror

Open
#482 1 comment 1 reaction 0 assignees View on GitHub
component: mirror good first issue
Dominant language
Haskell
Stars
467
Forks
225
PR merge metrics
No merged PRs in 30d

Description

When trying to mirror the public Hackage server with hackage-mirror, I frequently get the following error:

```
hackage-mirror: : hClose: resource vanished (Broken pipe)
```

(Also see #131. )This kills hackage-mirror (even though I'm using --keep-going), and I have to restart it. This happens at random intervals: sometimes less than a minute after I start mirroring, sometimes several hours.

If the underlying cause can't be fixed, then hackage-mirror should at least retry the connection if the socket closes.

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.