<@U04S8PLJWMT> I have a custom connector built in ...
# ask-ai
j
@kapa.ai I have a custom connector built in Python and recently when its extraction runs I'm getting this error thats resulting in the sync successfully ending, but with 0 records being loaded:
Copy code
2025-11-12 00:54:17 platform ERROR Stage Pipeline Exception: io.airbyte.workload.launcher.pipeline.stages.model.StageError: io.airbyte.workers.exception.KubeClientException: DISCOVER pod failed to start within allotted timeout.
message: io.airbyte.workers.exception.KubeClientException: DISCOVER pod failed to start within allotted timeout.
stackTrace: [Ljava.lang.StackTraceElement;@22bafb33
2025-11-12 00:54:17 platform INFO Attempting to update workload: de44b128-3402-4972-96ed-d71779e0822a_1762905600000_discover to FAILED.
2025-11-12 00:54:17 platform INFO Pipeline aborted after error for workload: de44b128-3402-4972-96ed-d71779e0822a_1762905600000_discover.
When I run the discover function on the Python code it works normally. Also the extraction was working properly until a few days ago.
k
Based on the error message you're seeing, your custom Python connector is experiencing a timeout during the discovery phase when running in Airbyte, even though the discover function works locally. The error
DISCOVER pod failed to start within allotted timeout
indicates that the Kubernetes pod responsible for schema discovery isn't starting quickly enough. This is a known issue that can occur when dealing with sources that have many tables or complex schemas. According to the [Schema Discovery Timeouts documentation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#schema-discovery-timeouts), you can increase Airbyte's timeout limits to resolve this issue. To fix this, you need to modify your Airbyte configuration to increase the timeout values. Add the following to your
values.yaml
file: For Helm chart V1:
Copy code
yaml server:     extraEnv:       - name: HTTP_IDLE_TIMEOUT         value: 20m       - name: READ_TIMEOUT         value: 30m
For Helm chart V2:
Copy code
yaml server:     httpIdleTimeout: 20m     extraEnv:       - name: READ_TIMEOUT         value: 30m
You can adjust these timeout values (20m and 30m) based on how long your discovery process actually takes. Since your connector was working previously and only recently started failing, this could indicate that: 1. The amount of data or schema complexity has increased 2. Network latency has increased 3. Resource constraints on your Kubernetes cluster are causing slower pod startup times After applying these configuration changes, redeploy Airbyte and try running your sync again. The increased timeouts should allow the discovery pod enough time to complete its work.
j
@kapa.ai I only have bash/cmd access to the isntallation, which commands should I use to edit values.yaml?
k
A message from kapa.ai
Based on the knowledge sources, I can see that you need to edit a
values.yaml
file to configure your Airbyte deployment, but the documentation doesn't explicitly specify which command-line text editors to use for editing this file. However, I can provide general guidance based on the deployment process described in the documentation: 1. Locate or create your values.yaml file: According to the [Installation Guide](https://docs.airbyte.com/platform/deploying-airbyte#3-create-a-valuesyaml-override-file), you should create a
values.yaml
file somewhere accessible during the installation process. 2. Edit the file: You can use standard command-line text editors available in your environment: - On Linux/Unix systems:
nano values.yaml
,
vi values.yaml
, or
vim values.yaml
- On Windows cmd:
notepad values.yaml
3. Apply the changes: After editing, you'll need to upgrade your Airbyte deployment using Helm. According to the [Upgrading Airbyte documentation](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte), run: For Helm chart V1:
Copy code
bash    helm upgrade --install <RELEASE-NAME> airbyte/airbyte --values values.yaml --version <HELM-APP-VERSION>
For Helm chart V2:
Copy code
bash    helm upgrade airbyte airbyte-v2/airbyte \    --namespace airbyte-v2 \    --values ./values.yaml \    --version 2.x.x
The knowledge sources don't specify particular text editors to use, as this is a general system administration task rather than an Airbyte-specific requirement. Choose whichever text editor you're most comfortable with in your environment.