aws / aws/aws-toolkit-vscode

Getting errors while trying to chat

Open
#7,434 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

## Problem
Since upgrading from 1.62.0 version, we are getting ECONNRESET error. Not able to chat in the extension.

It works fine if I downgrade it to version 1.62.0

I am using a pro license with Q Developer.
## Steps to reproduce the issue
Open extension and login using identity center url. Submit a chat message and it gives ECONNRESET error.

## Expected behavior
The chat should work

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

- OS: Windows 11
- Visual Studio Code version:
Version: 1.100.0 (system setup)
OS: Windows_NT x64 10.0.22631

- AWS Toolkit version: 3.64.0
- Amazon Q version: 1.71.0

Error:
{
"code": "QModelResponse",
"name": "Error",
"message": "read ECONNRESET",
"cause": {
"errno": -4077,
"code": "ECONNRESET",
"syscall": "read",
"name": "TimeoutError",
"$metadata": {
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Error processing context command update: Error: Failed to get LocalProjectContextController instance: Error: LocalProjectContextController initialization timeout after 60 seconds

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure in the VS Code extension on Windows 11 with an Identity Center login, using the listed AWS Toolkit and Amazon Q versions. Trace the chat submission that produces QModelResponse/read ECONNRESET and the LocalProjectContextController initialization timeout. Done means chat requests complete successfully without either error in the reported setup.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.