https://www.growthbook.io/ logo
#announcements
Title
# announcements
b

brief-traffic-36675

05/22/2023, 5:02 PM
I have set up self hosted api communicating with a self hosted proxy. Is there a way to validate this is OK before actually having an application making requests to the proxy? (no error logs in either the api or the proxy)
f

fresh-football-47124

05/22/2023, 5:03 PM
Your SDK will request data from the proxy
So you can test out that request to make sure it’s forwarding the payload
👍 1
Are you wanting to make sure it works at all?
b

brief-traffic-36675

05/22/2023, 5:05 PM
Tomorrow I will ask some devs to test it (I am on the infra side) so just wanted to investigate if there is anything on my end to make sure it actually works before having them use the proxy). The env is clean now, nobody is using it for the moment
f

fresh-football-47124

05/22/2023, 5:06 PM
I believe the GrowthBook app should show it is connected to the proxy
On the SDK side it should say “connected”
b

brief-traffic-36675

05/22/2023, 5:07 PM
Ok searching a bit the UI if there is such an indication
I see this in the
api
logs that seems promising
Copy code
growthbook-api-web-7949866588-pnpdd growthbook-api  | {"level":30,"time":1684775292876,"pid":59,"hostname":"growthbook-api-web-7949866588-pnpdd","req":{"id":104,"method":"GET","url":"/api/v1/sdk-connections?withProxy=1&limit=100","query":{"withProxy":"1","limit":"100"},"params":{},"headers":{"host":"<http://growthbook-api.myenvg9.myenvaging.com|growthbook-api.myenvg9.myenvaging.com>","x-forwarded-for":"11.22.33.44","cf-ray":"7cb6a8ec1e0807f1-IAD","x-forwarded-proto":"https","cf-visitor":"{\"scheme\":\"https\"}"
f

fresh-football-47124

05/22/2023, 5:11 PM
Yes, it does- take a look at the SDK page under features
b

brief-traffic-36675

05/22/2023, 5:11 PM
Come to think of it I will also try if they can also communicate internally, from within the k8s cluster for optimal latency (unless there is a compelling reason to avoid this)
This is what I see there
f

fresh-football-47124

05/22/2023, 5:13 PM
Ah, okay, well after a SDK is made
👍 1
17 Views