Hello everyone! I'm hoping to get some help on a d...
# ask-questions
d
Hello everyone! I'm hoping to get some help on a deployment issue I'm facing while setting up a self-hosted GrowthBook instance on AWS. High-Level Problem: The application deploys and the UI loads, but immediately shows an error, because the initial
GET /api/init
call consistently fails with a
401 Unauthorized
error. The crucial finding is from the request headers for `/api/init`: there is no
Authorization: Bearer ...
header present, but there is a
cookie
header containing a
gb_session_id
. My Environment:Platform: AWS ECS (on Fargate). • Database: MongoDB running as a sidecar container in the same ECS task. • JWT_KEY: Defined a long random string • Networking: An Application Load Balancer (ALB) with HTTPS listeners. • Image:
growthbook/growthbook:latest