aws / aws/aws-toolkit-vscode

Error while integrate AmazonQ in vs code

Open
#6,731 4 comments 0 reactions 0 assignees View on GitHub
guidance needs-response network
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## System details (run `AWS: About` and/or `Amazon Q: About`)

- OS: Ubuntu 20.44
- Visual Studio Code version: 1.98.0
- AWS Toolkit version:
- Amazon Q version: 1.49.0

## Question
After login to the AWS IAM Identity Center getting the below error -

2025-03-06 10:45:27.229 [error] webviewId="aws.amazonq.AmazonCommonAuth": Error: Webview error
-> Error: Webview backend command failed: "startCodeWhispererEnterpriseSetup()"
-> Error: Failed to connect to IAM Identity Center [FailedToConnect]
-> TimeoutError: [ETIMEDOUT]
2025-03-06 10:45:53.593 [error] Got Failed to get an Cognito identity for telemetry: TimeoutError: null while initializing telemetry publisher
2025-03-06 10:50:50.458 [error] notifications: Failed to fetch at endpoint: https://idetoolkits-hostedfiles.amazonaws.com/Notifications/VSCode/emergency/1.x.json, err: TypeError: Cannot read properties of undefined (reading 'headers')
2025-03-06 10:51:02.121 [error] Got Failed to get an Cognito identity for telemetry: TimeoutError: null while initializing telemetry publisher
2025-03-06 10:56:10.628 [error] Got Failed to get an Cognito identity for telemetry: TimeoutError: null while initializing telemetry publisher
2025-03-06 11:12:03.192 [info] LspController: LSP server CPU 0%, LSP server Memory 329.9375MB
2025-03-06 11:12:04.384 [info] Refreshing indexes...

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the reported AWS: About and Amazon Q: About details, then reproduce the IAM Identity Center login in VS Code and capture the Amazon Q webview logs. Investigate the FailedToConnect and ETIMEDOUT errors, along with the telemetry and notifications failures. Done means the login completes without these errors or the failure has a documented cause and recovery path.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript, vscode
Domain
authentication, cloud, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.