https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
m

mammoth-country-55223

11/08/2023, 3:30 PM
We have set up Growthbook in a Kubernetes cluster. This works well so far. As we cannot access the Internet freely within the company network, we have allowed the BigQuery API IP range in the firewall. Nevertheless, when adding BigQuery as a datasource, we get a
net::ERR_FAILED 504 (gateway timeout)
when POSTing to the /datasource endpoint. Unfortunately, I have not found a way to extend the logging in the application that I can see the requests to the Internet. Is there a way to do this?
r

rhythmic-agent-34208

11/08/2023, 3:30 PM
@mammoth-country-55223 has opened an issue Close Issue button
Hi Klaus, We don't officially service specific, infra-level integrations (like k8s setup/networking), but we try to answer as best as we can. Assuming you have the whitelists set up properly... I wonder if you are calling the BigQuery endpoint by IP address or by DNS (it's common that DNS record lookups are blocked inside the container). Apart from this, you may need to go back to basics and see if you can make a vanilla (non-GrowthBook) k8s instance "talk" to BigQuery.
m

mammoth-country-55223

11/10/2023, 8:17 AM
Thanks @brief-honey-45610! DNS lookups should not be a problem. I did a tcpdump on another machine and saw also requests to www.googleapis.com and not only bigquery.googleapis.com. We hadn't taken that into account yet. Hopefully this will be the solution.
b

brief-honey-45610

11/10/2023, 6:44 PM
Great! Please let us know what the issue was
16 Views