ado-auth-helper Not Installing or Timing Out in Codespaces
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Inizia con le funzionalità artifacts-helper ed external-repository e con lo script post_create che esegue external-git config. Riproduci la creazione di un Codespace e un successivo git pull, verificando perché /home/vscode/ado-auth-helper non sia pronto entro 180 secondi. Il lavoro è completato quando l’helper viene installato o inizializzato in modo affidabile e i comandi di autenticazione non vanno più in timeout.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hey
We have observed multiple occurrences where ado-auth-helper is not installed correctly in GitHub Codespaces. However, when we explicitly run the command ado-auth-helper get-access-token, it successfully generates an access token, which suggests that there is an underlying issue with how the helper is being installed or initialized.
Our devcontainer.json includes the following features:
- "ghcr.io/microsoft/codespace-features/artifacts-helper:latest": {}
- "ghcr.io/microsoft/codespace-features/external-repository:latest": {}
Scenarios Where Errors Occur
- During Codespaces Creation
When a Codespace is created using external Git configuration, we run external-git config in the post_create script. During initialization, we see the following log:
2026-01-21 21:19:46.581Z: Configuring ADO Authorization Helper
After waiting for 180 seconds, the process times out and logs the following warning:
2026-01-21 21:22:46.793Z: ::warning::AzDO Authentication Helper not found after 180 seconds Expected location: /home/vscode/ado-auth-helper Continuing without Azure Artifacts authentication... .
- After Codespaces Is Created
In some cases, the Codespace is created successfully, but ado-auth-helper is either not installed correctly or times out later during usage.
- For example, running git pull results in the following error:
@node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
[AggregateError: All promises were rejected] {
[errors]: [
Error: timed-out waiting for auth
at Timeout._onTimeout (/home/vscode/.vscode-remote/extensions/ms-codespaces-tools.ado-codespaces-auth-1.2.1/out/auth-helper.js:1368:14)
at listOnTimeout (node:internal/timers:588:17)
at process.processTimers (node:internal/timers:523:7)
]
}
Node.js v22.21.1
- In some cases, even after Codespaces is created successfully, ado-auth-helper is not installed correctly.
`::warning::AzDO Authentication Helper not found after 180 seconds
Expected location: /home/vscode/ado-auth-helper
Continuing without Azure Artifacts authentication...
info Lage task runner - let's make it`
- Lingua principale
- Shell
- Stelle
- 26
- Fork
- 20
- Merge medio
- 9m
- PR unite (30g)
- 1
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/codespace-features
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
microsoft/codespace-features#118 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/codespace-features#80 · 1 commento ·
-
Artifact helper for MavenAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
microsoft/codespace-features#32 · 2 commenti ·
Tutte le issue di microsoft/codespace-features
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/WindowsDeveloperConfig#139 ·
I maintainer di solito rispondono entro 1 giorno
-
package-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
oSoWoSo/vOid_Community_repOsitory#248 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
collabnix/awesome-mcp-lists#157 ·
I maintainer di solito rispondono entro 1 giorno
-
`bun`: Download the SHASUMS256 fileForse già presa @TomJo2000 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
termux/termux-packages#32243 · 8 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno