network.caCertFile in extraConfigs is silently ignored
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- clojure
- 領域
- networking
調査の方向性
Start with network/setup! in the server startup path (main.clj) and config/read-file-configs, which only reads the initial, env and global config. Trace where extraConfigs are merged afterwards, after the SSL context and HTTP client are built. Done means network.caCertFile from an extra config is honored, or the limitation is documented or warned about; test by pointing a file in extraConfigs at a CA bundle and confirming models.dev fetch succeeds.
索引モデルが issue の本文から書いたものです。
説明
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Please avoid AI slops, be concise, and focus on what matters for this issue.
Describe the bug
network.caCertFile set in a file listed under extraConfigs has no effect. Behind a TLS-inspecting proxy, ECA still fails with:
Error fetching models from models.dev: PKIX path building failed ...
The same network block works when placed in the global config.json.
To Reproduce
~/.config/eca/config.json:
{ "extraConfigs": ["~/.config/eca/config.local.json"] }
~/.config/eca/config.local.json:
{ "network": { "caCertFile": "/path/to/ca-bundle.pem" } }
Cause
network/setup! runs once at server start (main.clj) with config/read-file-configs, which only reads the initial config, ECA_CONFIG and the global config file. extraConfigs are merged later, after the SSL context and global HTTP client are already built.
Expected behavior
Apply network settings from extraConfigs, or at least warn/document that they are only read from the global config, ECA_CONFIG or env vars.
Environment
ECA 0.170.0, Windows, eca-emacs
Workaround
Set SSL_CERT_FILE to the CA bundle path.
- 主要言語
- Clojure
- スター
- 1k
- フォーク
- 82
- 平均マージ
- 2日 14時間
- マージ済み PR(30日)
- 23
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
editor-code-assistant/eca のほかの issue
-
Models doesn't work when fetchModels: false is used対応中かも @zikajk が 14 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
editor-code-assistant/eca#661 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
editor-code-assistant/eca#689 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
editor-code-assistant/eca#684 · コメント 6 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
editor-code-assistant/eca#683 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
editor-code-assistant/eca#672 ·
メンテナーはふだん 2 日以内に返信
editor-code-assistant/eca の issue をすべて見る
似ている issue
-
.Needs Triage .Team/Gadget Priority:P2 Type:Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
metabase/metabase#86303 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nextjournal/clojure-mode#63 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
bug paredit regression shortcuts
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
BetterThanTomorrow/calva#3338 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信