Timeout ports.ubuntu.com

オープン
#265 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

@WoozyMasta がすでに取り組んでいます。

2026年4月17日 から。

  • #287 @WoozyMasta による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
cli

調査の方向性

まず、リンク先の159行付近にある internal/archive/archive.go を読み、chisel cut のエントリポイントをたどります。ubuntuURL、ubuntuOldReleasesURL、ubuntuPortsURL、timeout に対して要求されている CLI 設定と、/etc/apt を尊重する代替案を比較します。ユーザーが繰り返しリトライせずに失敗するミラーを回避できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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 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

主要言語
Go
スター
434
フォーク
74
平均マージ
1日 30分
マージ済み PR(30日)
1

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

canonical/chisel のほかの issue

canonical/chisel の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。