<@U04S8PLJWMT> I test the Stripe source and it got...
# ask-ai
h
@kapa.ai I test the Stripe source and it got gateway timeout. Why?
k
A gateway timeout when testing the Stripe source in Airbyte can be caused by several factors, but the knowledge sources do not provide a specific, detailed explanation for Stripe source timeouts. However, based on similar issues with other connectors and general Airbyte troubleshooting, common causes include: - Network or Proxy Timeouts: If Airbyte is running behind a proxy (like nginx) with a short timeout (e.g., 60 seconds), long-running operations such as schema discovery or connection tests may exceed this limit and result in a gateway timeout. Increasing the proxy timeout or running the operation again may help, but if the environment restricts increasing the timeout, this can be a persistent issue. Some users have suggested making API calls asynchronous to avoid this problem, but this is not currently standard in Airbyte deployments [Gateway timeout during connection setup](https://github.com/airbytehq/airbyte/issues/58627). - Resource Constraints: Insufficient memory or CPU allocated to Airbyte or the connector can cause operations to take longer, leading to timeouts. Allocating more resources to your Airbyte instance or the Stripe connector may help [Zuora Source "failed to fetch schema"](https://discuss.airbyte.io/t/2976). - Large Data Volumes or Slow API Responses: If the Stripe account has a large amount of data, or if the Stripe API is responding slowly, the connection test or schema discovery may take longer than the allowed timeout, resulting in a gateway timeout. - Connector or Platform Issues: Sometimes, the issue may be with the connector itself or the Airbyte platform, especially if other connectors are also experiencing similar timeouts. The knowledge sources do not mention any specific rate limiting or timeout issues unique to the Stripe connector under normal usage, but if you encounter persistent problems, you may want to check your proxy settings, resource allocation, and try with a smaller dataset or a different network environment. If the issue persists, consider opening an issue on the Airbyte GitHub repository with detailed logs for further assistance [Stripe Source Documentation](https://docs.airbyte.com/integrations/sources/stripe#rate-limiting). If you have more details about your deployment (e.g., running behind a proxy, resource limits, size of data), I can help narrow down the cause further.
h
@kapa.ai api/v1/sources/check_connection return 504
k
A message from kapa.ai
A 504 Gateway Timeout from the /api/v1/sources/check_connection endpoint in Airbyte typically means that the connection check took longer than the allowed timeout set by your proxy, ingress, or load balancer (often 60 seconds by default). This is a common issue, especially when Airbyte is deployed behind an nginx ingress or similar proxy with a strict timeout setting. Key points from the knowledge sources: - The ingress proxy (like nginx) often has a default timeout of 60 seconds. If the check_connection operation takes longer, the proxy returns a 504 error, and the client does not receive a detailed error message from Airbyte. Increasing the proxy timeout (e.g., nginx.ingress.kubernetes.io/proxy-read-timeout) can help, but in some environments, this is not possible [[destination-postgres] timeout funnel is inverted...](https://github.com/airbytehq/airbyte/issues/45156) [Review schema changes 504 timeout error](https://github.com/airbytehq/airbyte/issues/55690). - If you cannot increase the proxy timeout, the only workaround is to retry the operation and hope it completes faster, or reduce the amount of data being checked (if possible) [Gateway timeout during connection setup](https://github.com/airbytehq/airbyte/issues/58627). - This issue is not specific to a single connector and can occur with any source or destination if the check takes too long. - Sometimes, the check completes successfully in the backend, but the client never receives the result because the proxy has already closed the connection. What you can do: - If possible, increase the timeout on your ingress/proxy (e.g., set nginx.ingress.kubernetes.io/proxy-read-timeout to a higher value). - If you are unable to change the proxy timeout (e.g., in a shared environment), consider running Airbyte without the proxy for testing, or try to optimize the connector configuration to reduce the time required for the check. - Review Airbyte and connector logs for more details, as sometimes the actual error is only visible there. If you need more specific guidance, please provide details about your deployment (Kubernetes, Docker, cloud provider, etc.) and proxy configuration.
h
@kapa.ai when the test source is running, does airbyte create a pod for source check? I deployed airbyte using helm chart on eks
k
A message from kapa.ai
Yes, when you test a source in Airbyte (for example, using the "Check connection" feature), Airbyte creates a dedicated Kubernetes pod to perform the source check. This behavior is confirmed in multiple knowledge sources, including real pod manifests and logs from EKS and Helm-based deployments. The pod is typically named with a pattern like source-<source-name>-check-<job-id> and is created by the Airbyte workload launcher or worker component [Airbyte 1.2.0 on Kubernetes/EKS: Cannot create new sources as "Test the Source" fails with HTTP 500](https://github.com/airbytehq/airbyte/issues/48809) [Github Issue: [helm] Pod creation fails with timeout](https://github.com/airbytehq/airbyte/issues/44443). This pod runs the check logic for the source and is automatically cleaned up after the check completes. This is standard behavior when deploying Airbyte via the Helm chart on EKS or other Kubernetes environments.
h
@kapa.ai which component in Airbyte handle the check source/destination?
k
A message from kapa.ai
The component in Airbyte responsible for handling the "check" operation for sources and destinations is the workload-launcher. When you initiate a check (such as testing a source or destination connection), the workload-launcher manages the creation of a dedicated Kubernetes pod to run the check operation. This pod executes the connector's check logic and reports the result back to the platform. This architecture is standard for Airbyte deployments on Kubernetes, including those installed via the Helm chart on EKS [Implementation Guide - Self-Managed Enterprise](https://docs.airbyte.com/platform/next/enterprise-setup/implementation-guide) [Airbyte 1.2.0 on Kubernetes/EKS: Cannot create new sources as "Test the Source" fails with HTTP 500](https://github.com/airbytehq/airbyte/issues/48809). In summary: The workload-launcher component is responsible for handling check operations for sources and destinations in Airbyte.