Answer: For AWS-specific gateway issues, consult the AWS troubleshooting table on this page; for gateway boot and login errors, see the platform-agnostic troubleshooting table. The AWS table covers symptoms such as public-address login errors, Bedrock 502 credential errors, 403 AccessDeniedException, ValidationException, ECS ResourceInitializationError, Postgres connection and TLS errors, and dropped streaming responses. Status: Confirmed Entry: tool/claude-code/troubleshooting/aws-gateway-troubleshooting Revision: 1 Digest: sha256:1721ada23b19ba6b (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:29Z Last changed: 2026-11-13T03:03:29Z Last verified: 2026-11-20T12:18:41Z Next check: 2026-11-21T12:18:41Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of general troubleshooting reference | troubleshooting table | | [1] | 2026-11-20 login error fix | --ip-address-type ipv4 | | [1] | 2026-11-20 credential error fix | aws ec2 modify-instance-metadata-options --instance-id --http-put-response-hop-limit 2 | | [1] | 2026-11-20 AccessDeniedException permissions | bedrock:InvokeModel | | [1] | 2026-11-20 streaming fix version | v2.1.229 | | [1] | 2026-11-20 ALB default idle timeout | 60 seconds | seconds | [1] | 2026-11-20 Postgres port | 5432 | | [1] | 2026-11-20 Sources: [1] Anthropic. "Deploy Claude apps gateway on AWS". https://code.claude.com/docs/en/claude-apps-gateway-on-aws.md Role: primary. Accessed: 2026-11-20T12:18:41Z Quote: "For gateway boot and login errors, see the platform-agnostic [troubleshooting table]" (Supports: general troubleshooting reference) Quote: "Create the ALB with `--ip-address-type ipv4`, or serve a separate internal-only DNS name with no public AAAA record" (Supports: login error fix) Quote: "raise the hop limit with `aws ec2 modify-instance-metadata-options --instance-id --http-put-response-hop-limit 2`" (Supports: credential error fix) Quote: "Grant `bedrock:InvokeModel` and `bedrock:InvokeModelWithResponseStream` on both ARN families." (Supports: AccessDeniedException permissions) Quote: "Update the gateway to v2.1.229 or later, or set the `idle_timeout.timeout_seconds` attribute to `3600`" (Supports: streaming fix version) Quote: "The ALB closes a connection after 60 seconds with no data by default" (Supports: ALB default idle timeout) Quote: "Allow 5432 from the gateway's security group on the database's, and run the service in the same VPC as the DB subnet group" (Supports: Postgres port) Published: 2026-11-20T03:58:44Z Snapshot SHA-256: 9e3af8eeb5f39a42feafa28ab1a6fb02e851e6a68a75c98d2a6a74d51449d45e (captured 2026-11-13T03:03:27Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:03:29Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:18:41Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:18:41Z Last attempt: 2026-11-20T12:18:41Z Notes and limitations: Extracted automatically from a single official source (section "Troubleshooting"). Related: https://latestn.com/tool/claude-code/troubleshooting/beta-header-pass-through What happens in Claude Code when a gateway strips beta headers or body fields? https://latestn.com/tool/claude-code/troubleshooting/check-cache-performance How can I check Claude Code's cache hit rate or cache performance? https://latestn.com/tool/claude-code/troubleshooting/check-loaded-context How do I check which CLAUDE.md, settings, hooks, or MCP servers actually loaded in Claude Code? https://latestn.com/tool/claude-code/settings/worktreeinclude-gitignored-files How do I copy gitignored files like .env into Claude Code worktrees with .worktreeinclude? https://latestn.com/tool/claude-code/troubleshooting/auto-mode-classifier-eligibility How do I make a Claude Code session eligible for no-charge auto mode classifier requests? https://latestn.com/tool/claude-code/troubleshooting/auto-mode-classifier-notice-cause Why does Claude Code show the notice that this session isn't eligible for auto mode's no-charge classifier requests? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:03:29Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/troubleshooting/aws-gateway-troubleshooting/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/troubleshooting/aws-gateway-troubleshooting POST: https://latestn.com/dispute/tool/claude-code/troubleshooting/aws-gateway-troubleshooting with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/troubleshooting/aws-gateway-troubleshooting?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I troubleshoot issues when deploying Claude apps gateway on AWS? Revision 1, last verified 2026-11-20T12:18:41Z. https://latestn.com/tool/claude-code/troubleshooting/aws-gateway-troubleshooting (accessed 2026-11-21T09:58:31Z). @misc{LatestN_tool_claude_code_troubleshooting_aws_gateway_troubleshooting_r1, title = {How do I troubleshoot issues when deploying Claude apps gateway on AWS?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/troubleshooting/aws-gateway-troubleshooting}}, note = {Revision 1; digest sha256:1721ada23b19ba6b; last verified 2026-11-20T12:18:41Z; accessed 2026-11-21T09:58:31Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/troubleshooting/aws-gateway-troubleshooting