devcontainers / devcontainers/features

Features does not work with proxy MITM certificate on windows

Offen
#333 7 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
1.5k
Forks
621
Ø Merge
6 T. 53 Min.
Gemergte PRs (30 T.)
9

Beschreibung

Since the introduction of 'features', I am unable to use VS code devcontainers as it does not seem to access the Windows certificate store to get the CA certificates.

> [2022-12-14T09:49:28.955Z] --- Processing User Features ----
> [2022-12-14T09:49:28.956Z] * Processing feature: ghcr.io/devcontainers/features/node:1
> [2022-12-14T09:49:28.956Z] > input: ghcr.io/devcontainers/features/node:1
> [2022-12-14T09:49:28.956Z] >
> [2022-12-14T09:49:28.956Z] > resource: ghcr.io/devcontainers/features/node
> [2022-12-14T09:49:28.956Z] > id: node
> [2022-12-14T09:49:28.956Z] > version: 1
> [2022-12-14T09:49:28.956Z] > owner: devcontainers
> [2022-12-14T09:49:28.956Z] > namespace: devcontainers/features
> [2022-12-14T09:49:28.956Z] > registry: ghcr.io
> [2022-12-14T09:49:28.956Z] > path: devcontainers/features/node
> [2022-12-14T09:49:28.956Z] manifest url: https://ghcr.io/v2/devcontainers/features/node/manifests/1
> [2022-12-14T09:49:28.957Z] No oauth authentication credentials found.
> [2022-12-14T09:49:28.957Z] url: https://ghcr.io/token?scope=repository:devcontainers/features/node:pull&service=ghcr.io
> [2022-12-14T09:49:29.068Z] Failed to get registry auth token with error: Error: unable to get local issuer certificate
> [2022-12-14T09:49:29.139Z] (!) WARNING: Falling back to deprecated GitHub Release syntax. See https://github.com/devcontainers/spec/blob/main/proposals/devcontainer-features.md#referencing-a-feature for updated specification.
> [2022-12-14T09:49:29.139Z] Github feature.
> [2022-12-14T09:49:29.139Z] Could not resolve Feature 'ghcr.io/devcontainers/features/node:1'. Ensure the Feature is published and accessible from your current environment.

Accessing the specified URL with any other application works.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduziere den Fehler unter Windows mit einem Proxy-MITM-Zertifikat, beginnend bei den im Log angezeigten Schritten zur Verarbeitung von User Features und zur registry-authentication. Prüfe, wie die Anfrage an die GHCR token URL CA-Zertifikate aus dem Windows-Zertifikatsspeicher bezieht. Als erledigt gilt, wenn das node feature über den Proxy ohne den local-issuer-Fehler erfolgreich aufgelöst wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github, vscode
Bereich
infrastructure, security
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.