Hi all, I'm trying to self-host the GrowthBook app...
# ask-questions
n
Hi all, I'm trying to self-host the GrowthBook application in my AWS environment but am facing the "Error connecting to the GrowthBook API at https://xyz:3100". -> We have setup the env variables on a helm chart file • APP_ORIGIN: https://xyz:3000 • API_HOST: https://xyz:3100 When making a request to the API endpoint we get the following payload
Copy code
{
  "name": "GrowthBook API",
  "production": true,
  "api_host": "<https://xyz:3100>",
  "app_origin": "https:/xyz:3000",
  "config_source": "db",
  "email_enabled": false,
  "build": {
    "sha": "...",
    "date": "2025-06-09T17:15:40Z",
    "lastVersion": "3.6.0"
  }
}
Does anyone know possible reasons behind it?
s
It looks like your API is up and running because that's the response you'd expect. I think this is likely just from the question, but does the
app_origin
show the right address? There's only one / in the snippet.
n
ops, sorry. Here's the real output
it's really only showing one address for the
app_origin
s
Do you see any CORS errors when accessing the front end? Are you able to ping the API from within your cluster (I'm guessing that's where your output is from that you shared)? Are your ports 3000/3100 properly exposed?
I'm not sure what the error is, but these ^ are the debugging steps I'd try.
n
I see, looking at the options I'd say most likely option 3: we are not being able to expose the 3100 port properly
s
Were you able to figure this out? It'll be a setting/config on the AWS side.