mirror of
https://github.com/open-webui/docs.git
synced 2026-07-20 07:04:31 -04:00
issue: Bedrock Gateway container exits on startup under Windows 11 Docker when following OpenWebUI Bedrock tutorial #146
Reference in New Issue
Block a user
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 @mrhassan60 on GitHub (Jan 30, 2026).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.41
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
The Bedrock gateway should start successfully and remain running, listening on port 8000, so that OpenWebUI can connect and communicate with Amazon Bedrock.
Actual Behavior
The container starts and then automatically stops after approximately 1–2 seconds.
A Python/Uvicorn error appears in the Docker logs.
Steps to Reproduce
Follow the tutorial:
https://docs.openwebui.com/tutorials/integrations/amazon-bedrock/
Clone the Bedrock Access Gateway (BAG) repository:
git clone https://github.com/aws-samples/bedrock-access-gateway.git
cd bedrock-access-gateway
Remove the default Dockerfile:
rm Dockerfile
Rename Dockerfile_ecs to Dockerfile:
mv Dockerfile_ecs Dockerfile
Build the Docker image:
docker build . -f Dockerfile -t bedrock-gateway
Run the container with AWS credentials and region:
docker run -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID Follow the tutorial:
https://docs.openwebui.com/tutorials/integrations/amazon-bedrock/
Clone the Bedrock Access Gateway (BAG) repository:
git clone https://github.com/aws-samples/bedrock-access-gateway.git
cd bedrock-access-gateway
Remove the default Dockerfile:
rm Dockerfile
Rename Dockerfile_ecs to Dockerfile:
mv Dockerfile_ecs Dockerfile
Build the Docker image:
docker build . -f Dockerfile -t bedrock-gateway
Run the container with AWS credentials and region:
docker run -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
-e AWS_REGION=us-east-1
-d -p 8000:80 bedrock-gateway
Check the container logs:
docker logs <container_gatewayaws>
Logs & Screenshots
Docker log container :Traceback (most recent call last):
File "/usr/local/bin/uvicorn", line 7, in
File "/usr/local/lib/python3.13/site-packages/click/core.py", line 1485, in call
File "/usr/local/lib/python3.13/site-packages/click/core.py", line 1406, in main
File "/usr/local/lib/python3.13/site-packages/click/core.py", line 1269, in invoke
File "/usr/local/lib/python3.13/site-packages/click/core.py", line 824, in invoke
File "/usr/local/lib/python3.13/site-packages/uvicorn/main.py", line 409, in main
File "/usr/local/lib/python3.13/site-packages/uvicorn/main.py", line 575, in run
File "/usr/local/lib/python3.13/site-packages/uvicorn/server.py", line 65, in run
File "/usr/local/lib/python3.13/asyncio/runners.py", line 195, in run
Additional Information
No response
@Classic298 commented on GitHub (Feb 4, 2026):
added info in dev