aws / aws/amazon-q-developer-cli

Amazon Q CLI timeout error after 10 seconds of processing

Open
#1,309 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

Linux 6.11.0-21-generic - Ubuntu 24.04.2 LTS

### Expected behaviour

Amazon Q should complete processing the prompt and provide a full response

### Actual behaviour

Amazon Q stops responding after about 10 seconds with the error message "Amazon Q is having trouble responding right now"

```
[chat-transcript]
> /issue

I'd be happy to help you report an issue or make a feature request for the CRI Control Plane project. To better assist you, could you please provide more details about:

1. What specific issue you're encountering or what feature you'd like to request
2. Any error messages or unexpected behaviors you're seeing
3. Steps to reproduce the issue (if applicable)
4. What you expected to happen versus what actually happened

Once you provide these details, I can help you format a proper issue report or feature request that can be submitted to the project repository.
[Tool uses: none]

> After about 10 seconds of running a prompt I get the following error.

Amazon Q is having trouble responding right now:
0: unhandled error (ValidationException)
1: service error
2: unhandled error (ValidationException)
3: Error { code: "ValidationException", message: "Improperly formed request.", aws_request_id: "c89fd663-44cb-4252-b2f2-81ac5eeb755e" }

Location:
crates/q_cli/src/cli/chat/mod.rs:668

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Thank you for reporting this issue. It sounds like you're experiencing a timeout or connection problem with Amazon Q. Let me help you report this issue through the proper channels.

I'll use the report_issue function to create a GitHub issue for this problem:
[Tool uses: report_issue]
```

### Steps to reproduce

Run a prompt in Amazon Q CLI and wait approximately 10 seconds until the error appears

### Environment

```yaml

[q-details]
version = "1.7.3"
hash = "3e4ae79d371315e80ddac772b43fff2cba314104"
date = "2025-04-10T05:51:23.996702Z (12d ago)"
variant = "full"

[system-info]
chip = "Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz"
total-cores = 4
memory = "31.07 GB"

[system-info.os.linux]
kernel_version = "6.11.0-21-generic"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 24.04.2 LTS"
version_id = "24.04"
version = "24.04.2 LTS (Noble Numbat)"

[environment]
cwd = "/home/USER/Projects/CRI/Products/CRI-Control-Plane"
cli-path = "/home/USER/Projects/CRI/Products/CRI-Control-Plane"
os = "Linux"
shell-path = "/usr/bin/zsh"
shell-version = "5.9"
terminal = "VSCode"
install-method = "unknown"

[env-vars]
DISPLAY = ":1"
PATH = "/home/USER/.local/bin:/home/USER/.bun/bin:/home/USER/.local/bin:/home/USER/.bun/bin:/home/USER/.local/share/pnpm:/home/USER/.nvm/versions/node/v22.12.0/bin:/home/USER/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin"
QT_IM_MODULE = "ibus"
SHELL = "/usr/bin/zsh"
TERM = "xterm-256color"
XDG_CURRENT_DESKTOP = "Unity"
XDG_SESSION_DESKTOP = "ubuntu"
XDG_SESSION_TYPE = "x11"
XMODIFIERS = "@im=ibus"

[chat-settings]
interactive=true

[chat-trusted_tools]

[chat-failed_request_ids]
none

[chat-context]
current_profile=default
profiles=
default

global_context=
.amazonq/rules/**/*.md
README.md
AmazonQ.md

profile_context=none

files=
/home/adrian/Projects/CRI/Products/CRI-Control-Plane/README.md, 4002 B
/home/adrian/Projects/CRI/Products/CRI-Control-Plane/AmazonQ.md, 1502 B
total context size=5504 B
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.