miniature-fish-36638
01/09/2024, 6:32 PMhappy-autumn-40938
01/09/2024, 7:24 PMminiature-fish-36638
01/09/2024, 7:25 PMhappy-autumn-40938
01/09/2024, 7:25 PMhappy-autumn-40938
01/09/2024, 7:26 PMminiature-fish-36638
01/09/2024, 7:26 PMminiature-fish-36638
01/09/2024, 7:26 PMhappy-autumn-40938
01/09/2024, 7:26 PMminiature-fish-36638
01/09/2024, 7:27 PMhappy-autumn-40938
01/09/2024, 7:27 PMminiature-fish-36638
01/09/2024, 7:27 PMminiature-fish-36638
01/09/2024, 7:27 PMEnvironment:
GROWTHBOOK_API_HOST: <https://cdn.growthbook.io>
SERVICE_NAME: growthbook-proxy
PROXY_ENABLED: 1
PROXY_HOST_PUBLIC:
SECRET_API_KEY: <set to the key 'SECRET_API_KEY' in secret 'growthbook-proxy-secrets'> Optional: false
NEW_RELIC_METADATA_KUBERNETES_CLUSTER_NAME: breeze-eks-staging
NEW_RELIC_METADATA_KUBERNETES_NODE_NAME: (v1:spec.nodeName)
NEW_RELIC_METADATA_KUBERNETES_NAMESPACE_NAME: growthbook (v1:metadata.namespace)
NEW_RELIC_METADATA_KUBERNETES_POD_NAME: growthbook-proxy-chart-78d7c5c897-7w5dd (v1:metadata.name)
NEW_RELIC_METADATA_KUBERNETES_CONTAINER_NAME: growthbook
NEW_RELIC_METADATA_KUBERNETES_CONTAINER_IMAGE_NAME: growthbook/proxy:latest
NEW_RELIC_METADATA_KUBERNETES_DEPLOYMENT_NAME: growthbook-proxy-chart
happy-autumn-40938
01/09/2024, 7:28 PMminiature-fish-36638
01/09/2024, 7:30 PMhappy-autumn-40938
01/09/2024, 7:30 PMbrief-honey-45610
01/09/2024, 7:31 PMhappy-autumn-40938
01/09/2024, 7:31 PMminiature-fish-36638
01/09/2024, 7:32 PMminiature-fish-36638
01/09/2024, 7:32 PMhappy-autumn-40938
01/09/2024, 7:33 PMminiature-fish-36638
01/09/2024, 7:34 PMminiature-fish-36638
01/09/2024, 7:34 PMminiature-fish-36638
01/09/2024, 8:29 PMhappy-autumn-40938
01/09/2024, 8:29 PMhappy-autumn-40938
01/09/2024, 8:29 PMbrief-honey-45610
01/09/2024, 8:30 PMminiature-fish-36638
01/10/2024, 10:12 PMminiature-fish-36638
01/10/2024, 10:13 PM{"message":"No channel found"}
happy-autumn-40938
01/10/2024, 10:23 PMhappy-autumn-40938
01/10/2024, 10:25 PMVERBOSE_DEBUGGING=1
in your proxy's env vars to dig in a bit further, then searching your logs for "No channel found".miniature-fish-36638
01/12/2024, 7:04 PMminiature-fish-36638
01/15/2024, 6:57 PMyarn run v1.22.19
$ wsrun -p @growthbook/proxy -c start
@growthbook/proxy
| $ node dist/index.js
| GrowthBook proxy running over HTTP1.1, port 3300
| (node:48) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
| (Use `node --trace-deprecation ...` to show where the warning was created)
| {"level":50,"time":1705344997986,"pid":48,"hostname":"growthbook-proxy-chart-9b5447dc6-lhf7t","msg":"connection polling error: status code is 400"}
| {"level":50,"time":1705344997987,"pid":48,"hostname":"growthbook-proxy-chart-9b5447dc6-lhf7t"}
| {"level":30,"time":1705344997987,"pid":48,"hostname":"growthbook-proxy-chart-9b5447dc6-lhf7t","msg":"using in-memory cache"}
rhythmic-agent-34208
01/16/2024, 9:08 PMrhythmic-agent-34208
01/16/2024, 9:09 PMhappy-autumn-40938
01/16/2024, 9:10 PMconst url = `${growthbookApiHost}/api/v1/sdk-connections?withProxy=1&limit=100&offset=0`;
const headers = {
Authorization: `Bearer ${secretApiKey}`,
"User-Agent": `GrowthBook Proxy`,
};
You could try recreating this call in postman or similar using your specific environment variables to see whether you're getting back a 200 or 400 error.
It kind of boils down to a few possible issues though:
• api host or api key is not set correctly
• api host or api key is not being parsed from your environment correctly
• a networking or container-level issue is preventing the call from being made properly
• custom SSL is being applied at the network level (would require setting NODE_TLS_REJECT_UNAUTHORIZED=0
in env vars)miniature-fish-36638
01/24/2024, 6:56 PMhappy-autumn-40938
01/29/2024, 6:15 PMminiature-fish-36638
01/30/2024, 7:40 PMhappy-autumn-40938
01/30/2024, 8:13 PM