amazon-q-developer-cli icon indicating copy to clipboard operation
amazon-q-developer-cli copied to clipboard

Amazon Q is having trouble responding right now

Open dr-wahrheit opened this issue 1 year ago • 42 comments

Checks

Operating system

macOS 15.5.0 (24F74)

Expected behaviour

Q should respond successfully.

Actual behaviour

Amazon Q is having trouble responding right now: 0: unhandled error (InternalServerException) 1: service error 2: unhandled error (InternalServerException) 3: Error { code: "InternalServerException", message: "Encountered an unexpected error when processing the request, please try again.", aws_request_id: "2e46a3c1-2c29-4a72-b124-65dc06799ea3" }

Location: crates/chat-cli/src/cli/chat/mod.rs:846

BACKTRACE 5 frames hidden
6: chat_cli::cli::chat::ChatSession::next::{{closure}}::h9acb2f432161c580 at : 7: chat_cli::cli::chat::ChatArgs::execute::{{closure}}::he48f77f5b40353ce at : 8: chat_cli::cli::RootSubcommand::execute::{{closure}}::h11d3da382c2b59a0 at : 9: chat_cli::cli::Cli::execute::{{closure}}::h187e40f36aa1a897 at : 10: tokio::runtime::park::CachedParkThread::block_on::hfd2bc1e689b6c3d0 at : 11: tokio::runtime::context::runtime::enter_runtime::h074f7ee0967b221f at : 12: chat_cli::main::hc32ddc6efdb40275 at : 13: std::sys::backtrace::__rust_begin_short_backtrace::h569e218c90ac160e at : 14: std::rt::lang_start::{{closure}}::h29c00de1c45fa69a at : 15: std::rt::lang_start_internal::hdff9e551ec0db2ea at : 16: _main at :

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. Run with RUST_BACKTRACE=full to include source snippets.

Steps to reproduce

just chatting

Environment

<This will be visible to anyone. Do not include personal or sensitive information>

[q-details]
version = "1.12.5"
hash = "09124c0c588530efdbde310b5110c8603c42eae3"
date = "2025-07-14T19:33:57.417511Z (2d ago)"
variant = "full"

[system-info]
os = "macOS 15.5.0 (24F74)"
chip = "Apple M1"
total-cores = 8
memory = "16.00 GB"

[environment]
cwd = "/Users/USER/Workspace/prj1"
cli-path = "/Users/USER/Workspace/prj1"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "VSCode"
install-method = "unknown"

[env-vars]
PATH = "/Users/USER/.ebcli-virtual-env/executables:/Users/USER/.amplify/bin:/opt/homebrew/opt/mysql-client/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/USER/.ebcli-virtual-env/executables:/Users/USER/.amplify/bin:/opt/homebrew/opt/mysql-client/bin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin:/Users/USER/Library/Android/sdk/emulator:/Users/USER/Library/Android/sdk/tools:/Users/USER/Library/Android/sdk/tools/bin:/Users/USER/Library/Android/sdk/platform-tools:/Users/USER/.local/bin:/Users/USER/.local/bin:/Users/USER/Library/Android/sdk/emulator:/Users/USER/Library/Android/sdk/tools:/Users/USER/Library/Android/sdk/tools/bin:/Users/USER/Library/Android/sdk/platform-tools"
QTERM_SESSION_ID = "8192eb8380a64597a531a67d9cf7438b"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.12.1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
ZDOTDIR = "/Users/USER"
__CFBundleIdentifier = "com.microsoft.VSCode"

dr-wahrheit avatar Jul 16 '25 09:07 dr-wahrheit

It started yesterday afternoon. Now it's almost impossible to use.

dr-wahrheit avatar Jul 16 '25 10:07 dr-wahrheit

Same issue for me also Amazon Q is having trouble responding right now: 0: unhandled error (InternalServerException) 1: service error 2: unhandled error (InternalServerException) 3: Error { code: "InternalServerException", message: "Encountered an unexpected error when processing the request, please try again.", aws_request_id: "aa887595-de17-4e6f-aa98-e20c9af02484" }

Location: crates/chat-cli/src/cli/chat/mod.rs:846

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

suryansh112 avatar Jul 16 '25 11:07 suryansh112

Same here. Completely unusable.

alg avatar Jul 16 '25 11:07 alg

same issue here. Any update?

dniald avatar Jul 16 '25 12:07 dniald

Same issue for me.

bbernicker avatar Jul 16 '25 12:07 bbernicker

same here as well

syedshahed-idexcel avatar Jul 16 '25 12:07 syedshahed-idexcel

same here

HugoOliveiraThor avatar Jul 16 '25 12:07 HugoOliveiraThor

Same here, my hero is down :(

4l3j4ndr0 avatar Jul 16 '25 18:07 4l3j4ndr0

Same Issue

HussamCheema avatar Jul 16 '25 18:07 HussamCheema

The plugin is unfortunately unusable right now

BOBONA avatar Jul 16 '25 18:07 BOBONA

Same issue here. Switching to Claude 3.7 works a little better. Amazon Q CLI needs to have some sort of retry mechanism for handling this.

mkreder avatar Jul 16 '25 18:07 mkreder

Same issue since today 17/07.

Encountered an unexpected error when processing the request, please try again.

Request ID: e734dada-5dde-40b2-b756-dd68dd424768

Shraddha0317 avatar Jul 16 '25 18:07 Shraddha0317

issues starting 15/07/25, with Sonnet 4.0. Model availability improved when swapping to Sonnet 3.7, however as of 16/07/25 now Sonnet 3.7 is throwing an issue:

Amazon Q is having trouble responding right now: 
   0: The model you've selected is temporarily unavailable. Please use '/model' to select a different model and try again.
          Request ID: b00843cd-59f5-447a-9cae-6cfc5af65808

edit: using Sonnet 3.5 allows for Q CLI usage again.

dsouvage avatar Jul 16 '25 19:07 dsouvage

I've had this issue happen since I started using Q ~a week ago. Today it's popping up this exact same issue almost every time. Using Claude 4 model, as others have said, using the other claude models seems to work fine though.

PiotrKrzyzek avatar Jul 17 '25 00:07 PiotrKrzyzek

No updates still? 😂 I don't want to say, but now, we are all on the same boat! add up a bit the details with the backtrace:

Amazon Q is having trouble responding right now:
   0: The model you've selected is temporarily unavailable. Please use '/model' to select a different model and try again.
          Request ID: 435de0f3-7089-4239-9469-f70866ab6136

   0:

Location:
   crates/chat-cli/src/cli/chat/mod.rs:787

   BACKTRACE
                                 5 frames hidden
   6: chat_cli::cli::chat::ChatSession::next::{{closure}}::h9acb2f432161c580
      at <unknown source file>:<unknown line>
   7: chat_cli::cli::chat::ChatArgs::execute::{{closure}}::he48f77f5b40353ce
      at <unknown source file>:<unknown line>
   8: chat_cli::cli::RootSubcommand::execute::{{closure}}::h11d3da382c2b59a0
      at <unknown source file>:<unknown line>
   9: chat_cli::cli::Cli::execute::{{closure}}::h187e40f36aa1a897
      at <unknown source file>:<unknown line>
  10: tokio::runtime::park::CachedParkThread::block_on::hfd2bc1e689b6c3d0
      at <unknown source file>:<unknown line>
  11: tokio::runtime::context::runtime::enter_runtime::h074f7ee0967b221f
      at <unknown source file>:<unknown line>
  12: chat_cli::main::hc32ddc6efdb40275
      at <unknown source file>:<unknown line>
  13: std::sys::backtrace::__rust_begin_short_backtrace::h569e218c90ac160e
      at <unknown source file>:<unknown line>
  14: std::rt::lang_start::{{closure}}::h29c00de1c45fa69a
      at <unknown source file>:<unknown line>
  15: std::rt::lang_start_internal::hdff9e551ec0db2ea
      at <unknown source file>:<unknown line>
  16: _main<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

oiahoon avatar Jul 17 '25 02:07 oiahoon

Also impacted here.

> what is the 2nd prime ? 

Amazon Q is having trouble responding right now: 
   0: The model you've selected is temporarily unavailable. Please use '/model' to select a different model and try again.
          Request ID: 13339180-5a16-4135-b539-f7ab84a594af

   0: 

Location:
   crates/chat-cli/src/cli/chat/mod.rs:787

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

Nothing reported on the AWS Health Dashboard for the service .... so far

Image

keirans avatar Jul 17 '25 03:07 keirans

Switching to Sonnet 3.7 helped the reliability for me

> /model


? Select a model for this chat session ›
  claude-4-sonnet
❯ claude-3.7-sonnet (active)
  claude-3.5-sonnet

bwalding avatar Jul 17 '25 04:07 bwalding

every model is dead for me

ZacEvelynn avatar Jul 17 '25 05:07 ZacEvelynn

Encountered an unexpected error when processing the request, please try again.

Request ID: e1e6d955-c3a7-444b-b8ff-636ba5fde32a using Sonnet 3.7 works for sometimes, after a while same appear again

Zaad1704 avatar Jul 17 '25 06:07 Zaad1704

Implemented a retry mechanism and submitted a PR #2330. It doesn't make the problem disappear completely, but it is less frustrating for the user than keeping retrying manually.

mkreder avatar Jul 17 '25 14:07 mkreder