Hello Everyone! I'm new to Growthbook and explori...
# ask-questions
Hello Everyone! I'm new to Growthbook and exploring the product for our new project. I have setup growthbook proxy and now trying to connect it with cloud instance, it manages to pull the initial value of feature flag and save it in-memory but subsequent polling calls fail with below error :
Copy code
2024-01-04 22:04:36 yarn run v1.22.19
2024-01-04 22:04:36 $ wsrun -p @growthbook/proxy -c start
2024-01-04 22:04:39 @growthbook/proxy
2024-01-04 22:04:39  | $ node dist/index.js
2024-01-04 22:04:42  | GrowthBook proxy running over HTTP1.1, port 3300
2024-01-04 22:04:44  | {"level":50,"time":1704386084520,"pid":79,"hostname":"ed5099bb0333","msg":"connection polling error: status code is 400"}
2024-01-04 22:04:44  | {"level":50,"time":1704386084526,"pid":79,"hostname":"ed5099bb0333"}
2024-01-04 22:04:44  | {"level":30,"time":1704386084527,"pid":79,"hostname":"ed5099bb0333","msg":"using in-memory cache"}
2024-01-04 22:04:42  | (node:79) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
2024-01-04 22:04:42  | (Use `node --trace-deprecation ...` to show where the warning was created)
are you using the cdn url?
@fresh-football-47124 This is the command I'm using to run it on mac
Copy code
docker run --platform linux/amd64 -d -p 3300:3300 \
  -e "GROWTHBOOK_API_HOST=<https://cdn.growthbook.io>" \
  -e "SECRET_API_KEY=my-secret-value" \
  --name gbproxy growthbook/proxy
@happy-autumn-40938 do you have any ideas?
what node version are you running?
Are you running this locally or deployed
I'm running it locally on apple M1 Node version is 18.18.2
Ah. It won’t work then. Growthbook Cloud needs to send info to the proxy via webhooks. You configure that in your SDK Connection. But GB can’t post to a local proxy on your dev box
Some have worked around this using ngrok
But it’s usually easier to deploy your proxy
Thank you @happy-autumn-40938 . This makes sense, in-memory cache busting must be done via this webhook. I'll move my growthbook proxy setup to server. Extended question - Is there a way to evaluate Remote Execution feature as a non-premium user? PS: We are in POC phase
you'd probably want to sign up for a free pro trial for Remove Evaluation. You can do this through the Growthbook app. Nothing additional needed on the proxy setup for enrolling in the trial
👍 1