aws / aws/aws-toolkit-vscode

Login web View issue

Open
#8,233 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

2025-10-24 13:14:08.521 [error] notifications: Failed to fetch at endpoint: https://idetoolkits-hostedfiles.amazonaws.com/Notifications/VSCode/startup/1.x.json, err: TypeError: Cannot read properties of undefined (reading 'headers')
2025-10-24 13:14:10.649 [error] API response (oidc.us-east-1.amazonaws.com /client/register): { name: 'TimeoutError' }
2025-10-24 13:14:10.657 [error] ssoSetup encountered an error: Error: Failed to connect to AWS Builder ID [FailedToConnect]
-> TimeoutError: Connection timed out after 12000 ms
2025-10-24 13:14:10.657 [error] webviewId="aws.amazonq.AmazonCommonAuth": Error: Webview error
-> Error: Webview backend command failed: "startCodeWhispererBuilderIdSetup()"
-> Error: Failed to connect to AWS Builder ID [FailedToConnect]
-> TimeoutError: Connection timed out after 12000 ms
2025-10-24 13:14:10.657 [warning] telemetry: invalid Metric: "auth_addConnection" emitted with missing fields: featureId,isAggregated

Contributor guide

Open the contributing guide

Research direction

Start with the logged webview entry point `startCodeWhispererBuilderIdSetup()` and the `amazonCommonAuth` webview error, then trace the failed AWS Builder ID connection and OIDC client registration timeout. Reproduce the login flow and inspect the related authentication path; done means the Builder ID setup no longer fails with the reported webview error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript, vscode
Domain
authentication, desktop-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.