canonical / canonical/chisel

Timeout ports.ubuntu.com

Open
#265 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
424
Forks
65
Avg merge
12d 19h
Merged PRs (30d)
1

Description

While running `chisel cut` operations, we very often see the following error, after which chisel exits:

`#0 50.26 error: cannot talk to archive: Get "http://ports.ubuntu.com/ubuntu-ports/dists/noble/InRelease": context deadline exceeded (Client.Timeout exceeded while awaiting headers)`

Since the timeout and the mirror are both not [configurable](https://github.com/canonical/chisel/blob/main/internal/archive/archive.go#L159) via CLI parameters, we basically have to retry until _ports.ubuntu.com_ is fast enough, which is a frustrating process as it can take multiple hours. Using another internet connection does not solve the problem.

I would appreciate if it would be possible to configure `ubuntuURL`, `ubuntuOldReleasesURL` and `ubuntuPortsURL` via optional CLI parameters or if chisel would respect the local sources configuration under `/etc/apt`

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.