generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 510
Open
Labels
bugSomething isn't workingSomething isn't workingneeds investigationBug but cause is not identified.Bug but cause is not identified.
Description
πDescribe the bug
When using Claude 4.0 (Sonnet) in BedrockChat, the system freezes during AI response generation and no response is returned.
Confirmed facts:
- Lambda runtime errors occur when Claude 4.0 (Sonnet) becomes unresponsive
- Claude 4.5 (Haiku) works normally (returns responses without delay)
- Unresponsive behavior occurs when "Extended Thinking" is disabled
- Normal operation occurs when "Extended Thinking" is enabled
- Reproduced with identical input content, only difference being Extended Thinking enabled/disabled
π To Reproduce
Steps to reproduce:
- Open BedrockChat
- Select Claude 4.0 (Sonnet)
- Disable the "Extended Thinking" feature
- Enter a question in the chat
- System freezes during AI response generation and no response is returned
Confirmed behaviors:
- Issue persists after clearing browser cache
- Issue persists in different browsers
- Claude 4.5 (Haiku) works without issues
π· Screenshots
π Logs for Chat Issues
Occurrence pattern:
Occurs randomly. The timing of unresponsive behavior matches the Lambda error log timestamps.
Lambda Error Logs:
The following errors were detected in CloudWatch Logs (Occurrence time: 2025-12-17 11:15:36):
2025-12-17 11:15:36.229 | ERROR:app.main - An error occurred (ValidationException) when calling the Converse operation: The content field in the Message object at messages.1 is empty. Add a ContentBlock object to the content field and try again.
2025-12-17 11:15:36.247 | ERROR:app.main - File "/var/task/starlette/middleware/errors.py", line 165, in __call__
2025-12-17 11:15:36.338 | ERROR: Exception in ASGI application
2025-12-17 11:15:36.339 | ERROR Lambda runtime invoke{requestId="abe07513-00b9-440c-806c-7d1eae8cb92d" xrayTraceId="Root=1-694290d8-6a300bca05b0c92744b6bfec;Parent=58b0f731932f9c78;Sampled=0;Lineage=1:ffe5f926:0"}: lambda_runtime: Error { kind: SendRequest, source: Some(hyper::Error(Io, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })) }
CloudWatch Logs Query:
fields @timestamp, @message
| filter @message like /ERROR/
| sort @timestamp desc
| limit 10000
π Logs for Bot Creation/Update Issues
N/A - This is a chat-related issue
π Additional context
Environment Information
- Deployment Version: v3.15.1
Summary of Behavior Testing
| Model | Extended Thinking | Result |
|---|---|---|
| Claude 4.0 (Sonnet) | Disabled | β Unresponsive/Freeze (Lambda errors occur) |
| Claude 4.0 (Sonnet) | Enabled | β Normal operation |
| Claude 4.5 (Haiku) | Disabled | β Normal operation (no delay) |
Expected Behavior
Claude 4.0 (Sonnet) should operate normally regardless of whether Extended Thinking is enabled or disabled
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds investigationBug but cause is not identified.Bug but cause is not identified.