<@U04S8PLJWMT> BigQuery connector setup failing wi...
# ask-ai
a
@kapa.ai BigQuery connector setup failing with the message
com.google.cloud.bigquery.BigQueryException: Connect timed out
k
A "Connect timed out" error from the BigQuery connector (e.g.,
com.google.cloud.bigquery.BigQueryException: Connect timed out
) typically indicates a network connectivity issue between Airbyte and Google BigQuery. While the provided knowledge sources do not mention this exact error message, they do highlight several common causes and troubleshooting steps for similar connection and timeout issues: 1. Network Access: Ensure that your Airbyte instance has proper network access to Google BigQuery. This includes outbound internet access and any required firewall or proxy configurations. 2. Timeout Settings: If you are working with large datasets or schema discovery is taking a long time, you may need to increase Airbyte's timeout settings. For example, you can adjust the
HTTP_IDLE_TIMEOUT
and
READ_TIMEOUT
environment variables in your Airbyte deployment configuration. For Helm deployments, this can be done in your
values.yaml
file:
Copy code
yaml    server:      extraEnv:        - name: HTTP_IDLE_TIMEOUT          value: 20m        - name: READ_TIMEOUT          value: 30m
or, for Helm chart V2:
Copy code
yaml    server:      httpIdleTimeout: 20m      extraEnv:        - name: READ_TIMEOUT          value: 30m
This helps prevent timeouts during long-running operations such as schema discovery or large syncs [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#schema-discovery-timeouts). 3. Load Balancer/Proxy Timeouts: If you are running Airbyte behind a load balancer or proxy, ensure that its timeout settings are also increased to accommodate long-running requests. Several users have reported 504 or upstream timeout errors due to restrictive load balancer settings. Adjusting these can resolve connection timeout issues [Failed to load schema in discovery_schema timeout in LoadBalancer](https://discuss.airbyte.io/t/2665). 4. Service Account and Authentication: Make sure your service account credentials are correct and have the necessary permissions to access BigQuery. Authentication issues can sometimes manifest as connection timeouts if the connector is unable to establish a session. If you have checked all of the above and the issue persists, please provide more detailed logs or context for further troubleshooting. The knowledge sources do not provide a more specific solution for the exact error message you mentioned.