[Bug]: Retry on network errors before giving up
- Dominant language
- Swift
- Stars
- 49.9k
- Forks
- 1.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 22
Description
### I have done the following
- [x] I have searched the existing issues
- [x] If possible, I've reproduced the issue using the 'main' branch of this project
### Steps to reproduce
1. Pull a large ~30 GB image (an exact link isn't disclosed).
### Problem description
This fails with:
```
Error: StreamClosed(streamID: HTTP2StreamID(45), errorCode: HTTP2ErrorCode<0x1 ProtocolError>, location: "NIOHTTP2/HTTP2StreamChannel.swift:892")
```
Or just:
```
Error: HTTPClientError.remoteConnectionClosed
```
### Environment
```markdown
- OS: macOS
- Container: commit 6e65319
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Research direction
Start by reproducing the failure while pulling a large image, then trace the reported NIOHTTP2/HTTP2StreamChannel.swift:892 error and HTTPClientError.remoteConnectionClosed through the container's image-pull path. Done means transient network failures retry before the pull gives up, while the reported errors remain covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100