can i increase the airbyte schema discovery UI tim...
# ask-ai
t
can i increase the airbyte schema discovery UI timeout?
k
Yes. If schema discovery runs longer than your UI/API timeout, you can raise the Airbyte server timeouts so the UI doesn’t 504 during discovery. How to increase timeouts (self-managed/Helm): - Helm chart v1: values.yaml
Copy code
server:     extraEnv:       - name: HTTP_IDLE_TIMEOUT         value: 20m       - name: READ_TIMEOUT         value: 30m
- Helm chart v2: values.yaml
Copy code
server:     httpIdleTimeout: 20m     extraEnv:       - name: READ_TIMEOUT         value: 30m
These settings extend how long the Airbyte server will keep the HTTP connection open while discovery completes, helping avoid UI 504s for large or slow sources. [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#schema-discovery-timeouts); [Scaling Airbyte (next)](https://docs.airbyte.com/platform/next/enterprise-setup/scaling-airbyte#schema-discovery-timeouts)] Related notes: - If you’re behind an ingress/load balancer (e.g., NGINX), also increase its proxy/read timeouts to exceed your expected discovery duration; otherwise, you may still see 504s from the proxy. [[LoadBalancer timeout thread](https://discuss.airbyte.io/t/2665)] - Some users hit 504s specifically during discovery with large schemas; extending server and proxy timeouts is the recommended mitigation. [[Facebook schema 504](https://github.com/airbytehq/airbyte/issues/53132); [Zuora 504 discussion](https://discuss.airbyte.io/t/2976)] Additionally, starting with Airbyte 1.4 you can reduce how often automatic schema discovery runs by configuring:
Copy code
worker:   env_vars:     DISCOVER_REFRESH_WINDOW_MINUTES: 1440
This doesn’t change the per-request timeout, but can improve overall performance by running discovery less frequently. [[Release 1.4](https://docs.airbyte.com/release_notes/v-1.4)]