network.caCertFile in extraConfigs is silently ignored
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- clojure
- Bereich
- networking
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Clojure
- Sterne
- 1k
- Forks
- 82
- Ø Merge
- 2 T. 14 Std.
- Gemergte PRs (30 T.)
- 23
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus editor-code-assistant/eca
-
Models doesn't work when fetchModels: false is usedEvtl. vergeben @zikajk hat das vor 15 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
editor-code-assistant/eca#661 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
editor-code-assistant/eca#689 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
editor-code-assistant/eca#684 · 6 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
editor-code-assistant/eca#683 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 74/100
editor-code-assistant/eca#672 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in editor-code-assistant/eca
Ähnliche Issues
-
`estimateTip` caps the estimated tip at 2147483647Evtl. vergeben @RaphaelFakhri hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
software-mansion/starknet-jvm#644 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
`security-advisory-match` audit events contain no informationEvtl. vergeben @bronsa hat das heute übernommen. Offen.Needs Triage .Team/Gadget Priority:P2 Type:Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
metabase/metabase#86303 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
nextjournal/clojure-mode#63 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
-
Regression: keybinding for killSexpBackward deletes entire comment rather than deleting a wordOffenbug paredit regression shortcuts
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
BetterThanTomorrow/calva#3338 ·
Maintainer antworten meist innerhalb von 1 Tag