aws / aws/amazon-q-developer-cli

for long file writing and tool call

Open
#3,872 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

macOS 26.5.2 (25F84)

### Expected behaviour

An unexpected error occurred during the response stream:
CodewhispererChatResponseStream(DispatchFailure(DispatchFailure { source: ConnectorError { kind: Io, source:
reqwest::Error { kind: Body, source: reqwest::Error { kind: Body, source: hyper::Error(Body, Custom { kind:
InvalidData, error: DecryptError }) } }, connection: Unknown } })) (request_id:
58d3656c-5bf2-4125-97c0-5983e9a955e8)

### Actual behaviour

I just call Kiro to continue the next task then it just show up not reconnecting action, this error shows up directly

### Steps to reproduce

_No response_

### Environment

```yaml

[q-details]
version = "2.13.0"
hash = "3afe42f288dc2f00504f51f904e134dafa58e7f2"
date = "2026-07-16T19:08:07.31555Z (6d ago)"
variant = "full"

[system-info]
os = "macOS 26.5.2 (25F84)"
chip = "Apple M3 Pro"
total-cores = 11
memory = "18.00 GB"

[environment]
cwd = "/Users/USER/MyProject/AKG"
cli-path = "/Users/USER/MyProject/AKG"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Ghostty"
install-method = "unknown"

[env-vars]
PATH = "/Users/USER/.local/bin:/Users/USER/.local/bin:/Users/USER/.grok/bin:/Users/USER/.local/bin:/Users/USER/.local/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:/pkg/env/global/bin:/usr/local/go/bin:/Applications/Ghostty.app/Contents/MacOS:/Users/USER/.local/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts:/Users/USER/.lmstudio/bin"
QTERM_SESSION_ID = "6737e3a890d5479e8280c99f9c9ec067"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "2.13.0"
SHELL = "/bin/zsh"
TERM = "xterm-ghostty"
__CFBundleIdentifier = "com.mitchellh.ghostty"
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the response-stream failure during long file writing or a tool call on the reported macOS environment, using `q doctor` and `q restart` as already noted. Trace the `DecryptError` and reconnect behavior; done means the next task reconnects successfully without the unexpected stream error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.