mirror of
https://github.com/jwadow/kiro-gateway.git
synced 2026-04-25 01:15:57 +03:00
[GH-ISSUE #58] Wrong URL for eu-central-1 Developer Q API #38
Labels
No labels
bug
bug
enhancement
enhancement
fixed
fixed
invalid
needs-info
needs-testing
pull-request
question
upstream
wontfix
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/kiro-gateway-jwadow#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @saaj on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/jwadow/kiro-gateway/issues/58
I was trying the gateway (with Developer Q) and to make it work in
eu-central-1I needed to patchkiro/config.py, to makeKIRO_API_HOST_TEMPLATE = "https://q.{region}.amazonaws.com"(i.e. to make it the same asKIRO_Q_HOST_TEMPLATE), because there's no such host:Also with all debugging turned on, the hostname is not logged, so I had to patch the logging to output what's actually not resolving. This AWS firewall whitelist page may be relevant.
@jwadow commented on GitHub (Jan 30, 2026):
Hey, thanks for the detailed report and the fix!
The issue was that
codewhisperer.{region}.amazonaws.comonly exists for us-east-1. According to AWS docs, the correct endpoint for all regions (including us-east-1) isq.{region}.amazonaws.com.Fixed by:
KIRO_API_HOST_TEMPLATEto useq.{region}.amazonaws.comThe gateway now works in all AWS regions (us-east-1, eu-central-1, etc)
Also added you to CONTRIBUTORS.md for finding and fixing this critical issue. Thanks for making the gateway better!