<@U04S8PLJWMT> in a low connector how can i increa...
# ask-ai
i
@kapa.ai in a low connector how can i increase the timeout for requests ?
k
To increase the timeout for requests in a low-code (config-based) Airbyte connector, you generally need to adjust the Airbyte platform's server timeout settings, as the connector itself does not expose a direct timeout parameter for HTTP requests in the YAML configuration. You can increase the timeout by setting environment variables in your Airbyte deployment configuration. For example, in your Helm chart's values.yaml, you can add or modify the following:
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
These settings increase the server's idle and read timeouts, which can help prevent timeouts during long-running connector operations, such as schema discovery or large data syncs. This approach is recommended when working with sources or destinations that may require more time to respond, especially in low-code connectors where request-level timeout configuration is not available in the YAML spec itself [Scaling Airbyte: Schema Discovery Timeouts](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#schema-discovery-timeouts). If you are running Airbyte via Docker, you can set these environment variables in your Docker Compose file under the server service. > Note: If you are using a managed load balancer or ingress (e.g., NGINX), you may also need to increase the proxy timeout settings there to avoid upstream timeouts [Forum: Failed to load schema in discovery_schema timeout in LoadBalancer](https://discuss.airbyte.io/t/2665). If you need to control timeouts for specific HTTP requests within the connector YAML itself, the knowledge sources do not provide a way to do this directly for low-code connectors. If this is a critical requirement, you may need to develop a custom connector using the Airbyte CDK, which allows for more granular control over HTTP request parameters.
i
@kapa.ai my bad i am not using the low code connector, its docker connector with a manifest.yaml. where do i add the timeout param ?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not contain specific information about configuring request timeouts directly within a Docker connector that uses a manifest.yaml. The available documentation and forum discussions focus on increasing timeouts at the Airbyte platform/server level (e.g., using environment variables like
HTTP_IDLE_TIMEOUT
and
READ_TIMEOUT
in your deployment configuration), but do not mention a way to set request timeouts inside the manifest.yaml for a manifest-based (Docker) connector [Scaling Airbyte: Schema Discovery Timeouts](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#schema-discovery-timeouts). If you need to increase timeouts, you should adjust the platform-level settings as described. If you require per-request timeout control within the connector itself, the knowledge sources do not provide guidance for this scenario.
i
@kapa.ai my connector is an api based connector, i want to increase the timeout on the api calls it does to pull data
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not contain information about setting or increasing the HTTP request timeout for API calls within a manifest.yaml for an API-based (low-code or manifest-based) connector. The documentation covers rate limiting, retriever configuration, and platform-level timeout settings, but does not mention a parameter for per-request timeout in the connector manifest itself. If you need to control API call timeouts, you may need to implement this in a custom-coded connector, as the manifest-based (YAML) connectors do not appear to support this configuration directly according to the available documentation. If you are experiencing timeouts, you can try increasing platform/server-level timeouts as a workaround, but fine-grained per-request timeout control is not documented for manifest-based connectors [Scaling Airbyte: Schema Discovery Timeouts](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#schema-discovery-timeouts). If you need more specific control, consider raising a feature request or checking for updates in the Airbyte community.
i
install airbyte-ci
@kapa.ai install airbyte-ci
k
A message from kapa.ai
The Airbyte documentation states that the
airbyte-ci
tool is now deprecated and will be phased out shortly. Most
airbyte-ci
commands have a simpler equivalent in Poe, which you can discover using
poe --help
 [airbyte-ci (deprecated)](https://docs.airbyte.com/platform/1.7/connector-development/local-connector-development#airbyte-ci-deprecated). If you still need to install
airbyte-ci
(for legacy reasons), the knowledge sources do not provide step-by-step installation instructions for the current version. However, there are references to using
make tools.airbyte-ci.install
in the Airbyte repository, and some issues mention that installation may succeed but running the tool can fail due to system compatibility issues [
airbyte-ci
requires specific versions of specific libraries](https://github.com/airbytehq/airbyte/issues/53676). Summary: -
airbyte-ci
is deprecated; use Poe where possible. - If you must install it, you can try running:
Copy code
make tools.airbyte-ci.install
from the Airbyte repository root, but be aware of potential compatibility issues and that this tool may be removed in the future [airbyte-ci (deprecated)](https://docs.airbyte.com/platform/1.7/connector-development/local-connector-development#airbyte-ci-deprecated), [
airbyte-ci
requires specific versions of specific libraries](https://github.com/airbytehq/airbyte/issues/53676). If you encounter issues, consider switching to Poe as recommended by the documentation.
i
@kapa.ai how to install poe >
k
A message from kapa.ai
To install Poe the Poet, the recommended way is using Homebrew. Run the following commands in your terminal:
Copy code
bash brew tap nat-n/poethepoet brew install nat-n/poethepoet/poethepoet
Alternatively, you can use another package manager as described in the [official Poe the Poet installation guide](https://poethepoet.natn.io/installation.html) [Tooling - Poe the Poet](https://docs.airbyte.com/platform/next/connector-development/local-connector-development#tooling). After installation, you can see a list of available tasks by running
poe
from any directory in the Airbyte repo.
i
@kapa.ai can i build docker images of connector with poe ?
k
A message from kapa.ai
Based on the knowledge sources, Poe the Poet is primarily used for running common development tasks such as installing dependencies, running tests, linting, and other connector-related tasks. The available documentation does not explicitly mention using Poe to build Docker images of connectors. The recommended way to build connector Docker images is by using the
airbyte-ci
tool (now deprecated) or other build tools as described in the connector contribution guides. For example, you would typically use:
Copy code
bash airbyte-ci connectors --name source-<source-name> build
to build your connector image [Connector Contributions](https://docs.airbyte.com/platform/next/contributing-to-airbyte/developing-locally#connector-contributions). Summary: There is no information in the knowledge sources indicating that you can build Docker images of connectors directly with Poe. Poe is intended for development tasks, not for building Docker images. Use the recommended build tools as described in the documentation.
i
@kapa.ai but how are we building docker images now if airbyte-ci is deprecated ?
k
A message from kapa.ai
With the deprecation of
airbyte-ci
, the Airbyte documentation recommends using Poe the Poet for most connector development tasks. However, the knowledge sources do not explicitly state that Poe can be used to build Docker images of connectors directly. They mention that most
airbyte-ci
commands have simpler equivalents in Poe, but do not provide a direct example or command for building Docker images with Poe. If you need to build Docker images, you may still use standard Docker commands (e.g.,
docker build
) or Gradle for Java connectors, as described in the connector development tutorials. For example, for Java connectors:
Copy code
bash ./gradlew :airbyte-integrations:connectors:destination-<name>:build
This command compiles the code and builds the Docker image for the connector [Building a Java Destination](https://docs.airbyte.com/platform/next/connector-development/tutorials/building-a-java-destination#step-2-build-the-newly-generated-destination). For Python or manifest-based connectors, you can use:
Copy code
bash docker build . -t airbyte/source-example-python:dev
as shown in the acceptance test setup guides [Acceptance Tests Reference](https://docs.airbyte.com/platform/next/connector-development/testing-connectors/connector-acceptance-tests-reference#setting-up-standard-acceptance-tests-for-your-connector). In summary: - Poe is now the main tool for most development tasks, but the knowledge sources do not confirm it builds Docker images. - For building Docker images, use the appropriate build tool for your connector type (Gradle for Java,
docker build
for Python/manifest). -
airbyte-ci
is deprecated and should be avoided for new development [airbyte-ci (deprecated)](https://docs.airbyte.com/platform/next/connector-development/local-connector-development#airbyte-ci-deprecated). If you need more details on using Poe for Docker builds, the knowledge sources do not provide that information.
i
@kapa.ai setup a connector env using poe
k
A message from kapa.ai
To set up a connector environment using Poe the Poet, follow these steps: 1. Install Poe the Poet (if you haven't already):
Copy code
bash    brew tap nat-n/poethepoet    brew install nat-n/poethepoet/poethepoet
2. Navigate to your connector directory in the Airbyte repository. 3. Install connector dependencies using Poe:
Copy code
bash    poe install
This will install all prerequisites or dependencies for your connector. For Python connectors, it runs `poetry install --all-extras`; for Java/Gradle connectors, it warms the Gradle cache and builds dependencies. 4. List available Poe tasks (optional):
Copy code
bash    poe --help
This will show you all available tasks for your connector. These steps will set up your connector environment and get you ready for development and testing [Common Development Tasks](https://docs.airbyte.com/platform/next/connector-development/local-connector-development#common-development-tasks). If you need to run tests or fetch secrets, you can also use Poe tasks such as:
Copy code
bash poe test-fast poe test-unit-tests poe test-integration-tests poe fetch-secrets
For more details, refer to the Poe task files in the
poe-tasks
directory at the root of the Airbyte repo.
i
@kapa.ai Error: No poe configuration found from location /Users/ishankoradia/Tech4dev/Dalgo/platform/airbyte/airbyte/airbyte-integrations/connectors/source-avni Getting this error while running poe install
k
A message from kapa.ai
The error message:
Copy code
Error: No poe configuration found from location /Users/ishankoradia/Tech4dev/Dalgo/platform/airbyte/airbyte/airbyte-integrations/connectors/source-avni
means that Poe the Poet could not find a
pyproject.toml
file with a
[tool.poe.tasks]
section in your connector directory. Poe requires this configuration to know what tasks are available to run. How to resolve: 1. Check for `pyproject.toml`: Make sure your connector directory (
source-avni
) contains a
pyproject.toml
file. 2. Check for Poe tasks section: The
pyproject.toml
file must include a
[tool.poe.tasks]
section. For example:
Copy code
toml    [tool.poe.tasks]    install = "poetry install --all-extras"
3. If missing, initialize Poetry and add Poe tasks: If you haven't already, you can initialize Poetry and add the necessary section:
Copy code
bash    poetry init
Then, edit
pyproject.toml
to add the
[tool.poe.tasks]
section as shown above. The knowledge sources confirm that Poe relies on the
pyproject.toml
file for its configuration and tasks [Tooling - Poe the Poet](https://docs.airbyte.com/platform/next/connector-development/local-connector-development#poe-the-poet). If you are using a connector template or following Airbyte's connector development guides, this file and section should be present. If not, you may need to add them manually as described above.
i
@kapa.ai how to run a read record for the connector in dev env ?
k
A message from kapa.ai
To run a read operation for your connector in the development environment, use the following command pattern from your connector directory:
Copy code
bash poetry run <connector-entrypoint> read --config <path-to-config.json> --catalog <path-to-configured_catalog.json>
For example, if your connector entrypoint is
source-avni
, and your config and catalog files are in the appropriate locations, the command would look like:
Copy code
bash poetry run source-avni read --config secrets/config.json --catalog integration_tests/configured_catalog.json
-
--config
points to your connector's configuration file (usually in a
secrets
directory). -
--catalog
points to your configured catalog file, which specifies the streams and sync modes to use. This command will execute the read operation and output records from your source, as described in the Airbyte connector development tutorials [Environment setup](https://docs.airbyte.com/platform/next/connector-development/tutorials/custom-python-connector/environment-setup), [Read – Extract records](https://airbyte.com/tutorials/extract-data-from-the-webflow-api#step-4). If you need to test pagination or other behaviors, you can adjust your connector's internal settings (such as page size) and re-run the same command [Read multiple pages](https://docs.airbyte.com/platform/next/connector-development/tutorials/custom-python-connector/reading-multiple-pages).