<@U04S8PLJWMT> i'm getting HTTP 504 error when set...
# ask-ai
s
@kapa.ai i'm getting HTTP 504 error when setting up a new source, I think it's a timeout issue. How can I increase the timeout. I'm using Airbyte self-hosted OSS using abctl
k
If you're getting an HTTP 504 error when setting up a new source in Airbyte OSS (self-hosted, using abctl), it's likely due to a timeout during schema discovery or connection checks. You can increase the timeout by setting environment variables in your Airbyte configuration. For Airbyte OSS, you should add or update the following environment variables in your configuration (for example, in your abctl.kubeconfig or values.yaml if using Helm):
Copy code
yaml server:   extraEnvs:     - name: HTTP_IDLE_TIMEOUT       value: 20m     - name: READ_TIMEOUT       value: 30m
Or, for some Helm chart versions, the syntax may be:
Copy code
yaml server:   httpIdleTimeout: 20m   extraEnv:     - name: READ_TIMEOUT       value: 30m
These settings increase the HTTP idle and read timeouts, which should help prevent 504 errors during long-running operations like schema discovery for large sources. After making these changes, restart your Airbyte services for the new settings to take effect. You can find more details in the official Airbyte documentation for scaling and timeouts: [Scaling Airbyte: Schema Discovery Timeouts](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#schema-discovery-timeouts)
s
@kapa.ai where can i find the values.yaml file
k
A message from kapa.ai
You can create your own
values.yaml
file to override specific parts of the Airbyte Helm Chart configuration. You do not need to copy the entire default `values.yaml`; just include the overrides you need. Place this file somewhere accessible during the installation or upgrade process. For example, you might create it in your working directory and then reference it when running your Helm commands. If you want to see the full reference or example of the default
values.yaml
, you can find it in the Airbyte documentation or directly in the Airbyte GitHub repository: - [Airbyte values.yaml reference](https://docs.airbyte.com/platform/deploying-airbyte/values) - [Full example on GitHub](https://github.com/airbytehq/airbyte-platform/blob/main/charts/airbyte/values.yaml) When installing or upgrading Airbyte, you provide your custom
values.yaml
using the
--values
flag with Helm:
Copy code
sh helm upgrade airbyte-enterprise airbyte/airbyte \   --namespace airbyte \   --values ./values.yaml
You only need to include the specific overrides you want to change in your custom
values.yaml
file, not the entire file from the repository [see here](https://docs.airbyte.com/platform/deploying-airbyte#3-create-a-valuesyaml-override-file).
s
@kapa.ai does it also work if using abctl?
k
A message from kapa.ai
Yes, using a custom
values.yaml
file also works when deploying Airbyte with abctl. You can create or edit a
values.yaml
file with your desired configuration overrides and then use the
--values
flag when running the
abctl local install
command. For example:
Copy code
sh abctl local install --values values.yaml
This approach allows you to customize your Airbyte deployment, including environment variables and other settings, in the same way as with Helm. The documentation confirms that you only need to provide the specific overrides you want in your
values.yaml
file, and you can reference it during installation with abctl [see here](https://docs.airbyte.com/platform/next/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances) and [here](https://docs.airbyte.com/platform/next/deploying-airbyte#3-create-a-valuesyaml-override-file).
s
@kapa.ai why am i getting this error? how to fix it? bctl local install INFO Using Kubernetes provider: Provider: kind Kubeconfig: /home/slim/.airbyte/abctl/abctl.kubeconfig Context: kind-airbyte-abctl SUCCESS Found Docker installation: version 28.1.1 SUCCESS Existing cluster 'airbyte-abctl' found SUCCESS Cluster 'airbyte-abctl' validation complete INFO Pulling image airbyte/airbyte-base-java-image:3.3.7 INFO Pulling image airbyte/async-profiler:2.0.1 INFO Pulling image airbyte/bootloader:2.0.1 INFO Pulling image airbyte/connector-builder-server:2.0.1 INFO Pulling image airbyte/connector-sidecar:2.0.1 INFO Pulling image airbyte/container-orchestrator:2.0.1 INFO Pulling image airbyte/cron:2.0.1 INFO Pulling image airbyte/db:2.0.1 INFO Pulling image airbyte/server:2.0.1 INFO Pulling image airbyte/worker:2.0.1 INFO Pulling image airbyte/workload-api-server:2.0.1 INFO Pulling image airbyte/workload-init-container:2.0.1 INFO Pulling image airbyte/workload-launcher:2.0.1 INFO Pulling image minio/minio:RELEASE.2023-11-20T22-40-07Z INFO Pulling image temporalio/auto-setup:1.27.2 INFO Namespace 'airbyte-abctl' already exists INFO Persistent volume 'airbyte-minio-pv' already exists INFO Persistent volume 'airbyte-volume-db' already exists INFO Persistent volume claim 'airbyte-minio-pv-claim-airbyte-minio-0' already exists INFO Persistent volume claim 'airbyte-volume-db-airbyte-db-0' already exists INFO Starting Helm Chart installation of 'airbyte/airbyte' (version: 1.9.1) WARNING Encountered an issue deploying Airbyte: Pod: airbyte-abctl-workload-launcher-597c56458b-hxjtz.187477734c5d55cf Reason: BackOff Message: Back-off restarting failed container airbyte-workload-launcher-container in pod airbyte-abctl-workload-launcher-597c56458b-hxjtz_airbyte-abctl(d7eb50dc-23ed-405c-ba84-9085f295a35e) Count: 138 Logs: Unsetting empty environment variable 'RUNNING_TTL_MINUTES' Unsetting empty environment variable 'ACTIVITY_MAX_DELAY_BETWEEN_ATTEMPTS_SECONDS' Unsetting empty environment variable 'PUB_SUB_TOPIC_NAME' Unsetting empty environment variable 'OTEL_COLLECTOR_ENDPOINT' Unsetting empty environment variable 'JOB_MAIN_CONTAINER_CPU_REQUEST' Unsetting empty environment variable 'JOB_KUBE_MAIN_CONTAINER_IMAGE_PULL_SECRET' Unsetting empty environment variable 'JOB_MAIN_CONTAINER_MEMORY_REQUEST' Unsetting empty environment variable 'ACTIVITY_MAX_ATTEMPT' Unsetting empty environment variable 'JOB_KUBE_CONNECTOR_IMAGE_REGISTRY' Unsetting empty environment variable 'VERSION' Unsetting empty environment variable 'WORKFLOW_FAILURE_RESTART_DELAY_SECONDS' Unsetting empty environment variable 'SECRET_PERSISTENCE' Unsetting empty environment variable 'KUBERNETES_CLIENT_MAX_IDLE_CONNECTIONS' Unsetting empty environment variable 'ACTIVITY_INITIAL_DELAY_BETWEEN_ATTEMPTS_SECONDS' _ _ _ _ / | (_)____/ /_ __ __/ /____ / /| | / / ___/ __ \/ / / / __/ _ \ / _ |/ / / / /_/ / /_/ / /_/ __/ /_/ |_/_/_/ /_.___/\__, /\__/\___/ /____/ : airbyte-workload-launcher : 2025-11-03 103817,173 [main] INFO i.m.c.e.DefaultEnvironment(<init>):170 - Established active environments: [control-plane, oss] 2025-11-03 103817,704 [main] INFO c.z.h.HikariDataSource(<init>):79 - config-pool - Starting... 2025-11-03 103817,729 [main] INFO c.z.h.HikariDataSource(<init>):81 - config-pool - Start completed. 103815,665 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version 1.5.18 103815,670 |-INFO in ch.qos.logback.classic.util.ContextInitializer@2cc03cd1 - Here is a list of configurators discovered as a service, by rank: 103815,670 |-INFO in ch.qos.logback.classic.util.ContextInitializer@2cc03cd1 - io.airbyte.commons.logging.logback.AirbyteLogbackCustomConfigurer 103815,670 |-INFO in ch.qos.logback.classic.util.ContextInitializer@2cc03cd1 - They will be invoked in order until ExecutionStatus.DO_NOT_INVOKE_NEXT_IF_ANY is returned. 103815,670 |-INFO in ch.qos.logback.classic.util.ContextInitializer@2cc03cd1 - Constructed configurator of type class io.airbyte.commons.logging.logback.AirbyteLogbackCustomConfigurer 103815,964 |-INFO in ch.qos.logback.core.ConsoleAppender[airbyte-platform-logger] - BEWARE: Writing to the console can be very slow. Avoid logging to the 103815,964 |-INFO in ch.qos.logback.core.ConsoleAppender[airbyte-platform-logger] - console in production environments, especially in high volume systems. 103815,964 |-INFO in ch.qos.logback.core.ConsoleAppender[airbyte-platform-logger] - See also https://logback.qos.ch/codes.html#slowConsole 103816,000 |-INFO in ch.qos.logback.classic.util.ContextInitializer@2cc03cd1 - io.airbyte.commons.logging.logback.AirbyteLogbackCustomConfigurer.configure() call lasted 315 milliseconds. ExecutionStatus=DO_NOT_INVOKE_NEXT_IF_ANY 103817,829 |-WARN in Logger[com.zaxxer.hikari.pool.HikariPool] - No appenders present in context [default] for logger [com.zaxxer.hikari.pool.HikariPool]. 103817,830 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Using io.airbyte.commons.logging.logback.AirbyteLogbackCustomConfigurer 2025-11-03 103817,837 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.netty' 2025-11-03 103817,837 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'ERROR' for logger: 'com.zaxxer.hikari' 2025-11-03 103817,837 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.grpc' 2025-11-03 103817,838 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'ERROR' for logger: 'com.zaxxer.hikari.pool' 2025-11-03 103817,838 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.fabric8.kubernetes.client' 2025-11-03 103818,613 [scheduled-executor-thread-2] INFO i.a.w.l.PodSweeper(sweepPods):56 - Starting pod sweeper cycle in namespace [airbyte-abctl]... 2025-11-03 103818,618 [scheduled-executor-thread-2] INFO i.a.w.l.PodSweeper(sweepPods):88 - Will sweep Succeeded pods older than 2025-11-03T102818.613Z (UTC). 2025-11-03 103818,621 [scheduled-executor-thread-2] INFO i.a.w.l.PodSweeper(sweepPods):91 - Will sweep unsuccessful pods older than 2025-11-03T083818.613Z (UTC). 2025-11-03 103819,386 [main] INFO i.a.f.ConfigFileClient(<init>):141 - path /flags does not exist, will return default flag values 2025-11-03 103819,529 [scheduled-executor-thread-1] INFO i.a.w.l.p.c.WorkloadApiQueueConsumer(initialize):41 - Initializing ApiQueueConsumer for 5c538e5a-1d9d-4767-8941-c933a2806565 2025-11-03 103819,539 [scheduled-executor-thread-1] INFO i.a.w.l.p.c.WorkloadApiQueuePoller(initialize):53 - Initalizing ApiQueuePoller with 5c538e5a-1d9d-4767-8941-c933a2806565 and default 2025-11-03 103819,585 [scheduled-executor-thread-1] INFO i.a.w.l.p.c.WorkloadApiQueuePoller(initialize):53 - Initalizing ApiQueuePoller with 5c538e5a-1d9d-4767-8941-c933a2806565 and high 2025-11-03 103819,595 [main] INFO i.a.w.l.a.DataplaneIdentityService(initialize):55 - Running as d194a54a-2d99-469a-b01c-dee73f19b79d (AUTO) for AUTO 2025-11-03 103819,609 [main] INFO i.m.r.Micronaut(start):101 - Startup completed in 3467ms. Server Running: http://airbyte-abctl-workload-launcher-597c56458b-hxjtz:8016 2025-11-03 103819,616 [Thread-2] INFO i.a.w.l.ClaimedProcessor(getWorkloadList):91 - requesting workload list: WorkloadListRequest(dataplane=[d194a54a-2d99-469a-b01c-dee73f19b79d], status=[claimed], updatedBefore=null) 2025-11-03 103820,001 [Thread-2] ERROR i.a.w.l.StartupApplicationEventListener(onApplicationEvent$lambda$1):43 - Failed to retrieve and resume claimed workloads, exiting. io.airbyte.api.client.ApiException: Unauthorized at io.airbyte.workload.api.client.WorkloadApiClient.workloadList(WorkloadApiClient.kt:288) at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList$lambda$9(ClaimedProcessor.kt:112) at dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243) at dev.failsafe.Functions.lambda$get$0(Functions.java:46) at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74) at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187) at dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376) at dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112) at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList(ClaimedProcessor.kt:110) at io.airbyte.workload.launcher.ClaimedProcessor.retrieveAndProcess(ClaimedProcessor.kt:57) at io.airbyte.workload.launcher.StartupApplicationEventListener.onApplicationEvent$lambda$1(StartupApplicationEventListener.kt:39) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) 2025-11-03 103820,106 [scheduled-executor-thread-2] INFO i.a.w.l.PodSweeper(sweepPods):149 - Completed pod sweeper cycle.
k
A message from kapa.ai
The error you are seeing:
Copy code
ERROR   io.airbyte.api.client.ApiException: Unauthorized ... Failed to retrieve and resume claimed workloads, exiting.
indicates that the airbyte-abctl-workload-launcher is failing due to an authentication issue when communicating with the Workload API. This is a known issue in Airbyte OSS self-hosted deployments using abctl, where the bearer token or authentication environment variables between the worker, workload API server, and related components are not aligned. How to fix it: You need to ensure that the
WORKLOAD_API_BEARER_TOKEN
environment variable is set to the same value for all relevant deployments. Here’s a commonly used workaround, as described by users and contributors in the Airbyte community: 1. Generate a new token:
Copy code
sh    WORKLOAD_TOKEN=$(openssl rand -hex 32)
2. Set the token in the relevant deployments:
Copy code
sh    KUBECONFIG="${HOME}/.airbyte/abctl/abctl.kubeconfig"    NAMESPACE="airbyte-abctl"     kubectl -n "$NAMESPACE" set env deployment/airbyte-abctl-workload-api-server WORKLOAD_API_BEARER_TOKEN="$WORKLOAD_TOKEN" --kubeconfig "$KUBECONFIG"    kubectl -n "$NAMESPACE" set env deployment/airbyte-abctl-worker WORKLOAD_API_BEARER_TOKEN="$WORKLOAD_TOKEN" --kubeconfig "$KUBECONFIG"    kubectl -n "$NAMESPACE" set env deployment/airbyte-abctl-server WORKLOAD_API_BEARER_TOKEN="$WORKLOAD_TOKEN" --kubeconfig "$KUBECONFIG"
3. Restart the deployments:
Copy code
sh    kubectl -n "$NAMESPACE" rollout restart deployment/airbyte-abctl-workload-api-server --kubeconfig "$KUBECONFIG"    kubectl -n "$NAMESPACE" rollout restart deployment/airbyte-abctl-worker --kubeconfig "$KUBECONFIG"    kubectl -n "$NAMESPACE" rollout restart deployment/airbyte-abctl-server --kubeconfig "$KUBECONFIG"
This should resolve the "Unauthorized" error and allow the workload launcher to start successfully. This solution is confirmed by multiple users facing similar issues in the Airbyte OSS community ([see here](https://github.com/airbytehq/airbyte/issues/65567), [see here](https://github.com/airbytehq/airbyte/issues/65574)). If you continue to see issues, double-check that all relevant pods have restarted and are using the new environment variable. --- Summary: The root cause is a mismatch or missing
WORKLOAD_API_BEARER_TOKEN
between Airbyte components. Setting the same token across all relevant deployments and restarting them should fix the problem.
s
@kapa.ai im getting this error even after i applied those steps WARNING Encountered an issue deploying Airbyte: Pod: airbyte-abctl-workload-launcher-597c56458b-hxjtz.187477734c5d55cf Reason: BackOff Message: Back-off restarting failed container airbyte-workload-launcher-container in pod airbyte-abctl-workload-launcher-597c56458b-hxjtz_airbyte-abctl(d7eb50dc-23ed-405c-ba84-9085f295a35e) Count: 326 Logs: Unsetting empty environment variable 'RUNNING_TTL_MINUTES' Unsetting empty environment variable 'ACTIVITY_MAX_DELAY_BETWEEN_ATTEMPTS_SECONDS' Unsetting empty environment variable 'PUB_SUB_TOPIC_NAME' Unsetting empty environment variable 'OTEL_COLLECTOR_ENDPOINT' Unsetting empty environment variable 'JOB_MAIN_CONTAINER_CPU_REQUEST' Unsetting empty environment variable 'JOB_KUBE_MAIN_CONTAINER_IMAGE_PULL_SECRET' Unsetting empty environment variable 'JOB_MAIN_CONTAINER_MEMORY_REQUEST' Unsetting empty environment variable 'ACTIVITY_MAX_ATTEMPT' Unsetting empty environment variable 'JOB_KUBE_CONNECTOR_IMAGE_REGISTRY' Unsetting empty environment variable 'VERSION' Unsetting empty environment variable 'WORKFLOW_FAILURE_RESTART_DELAY_SECONDS' Unsetting empty environment variable 'SECRET_PERSISTENCE' Unsetting empty environment variable 'KUBERNETES_CLIENT_MAX_IDLE_CONNECTIONS' Unsetting empty environment variable 'ACTIVITY_INITIAL_DELAY_BETWEEN_ATTEMPTS_SECONDS' _ _ _ _ / | (_)____/ /_ __ __/ /____ / /| | / / ___/ __ \/ / / / __/ _ \ / _ |/ / / / /_/ / /_/ / /_/ __/ /_/ |_/_/_/ /_.___/\__, /\__/\___/ /____/ : airbyte-workload-launcher : 2025-11-03 112000,458 [main] INFO i.m.c.e.DefaultEnvironment(<init>):170 - Established active environments: [control-plane, oss] 2025-11-03 112001,039 [main] INFO c.z.h.HikariDataSource(<init>):79 - config-pool - Starting... 2025-11-03 112001,059 [main] INFO c.z.h.HikariDataSource(<init>):81 - config-pool - Start completed. 2025-11-03 112001,166 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.netty' 2025-11-03 112001,166 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'ERROR' for logger: 'com.zaxxer.hikari' 2025-11-03 112001,166 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.grpc' 2025-11-03 112001,167 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'ERROR' for logger: 'com.zaxxer.hikari.pool' 2025-11-03 112001,167 [main] INFO i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.fabric8.kubernetes.client' 2025-11-03 112002,195 [scheduled-executor-thread-1] INFO i.a.w.l.PodSweeper(sweepPods):56 - Starting pod sweeper cycle in namespace [airbyte-abctl]... 2025-11-03 112002,204 [scheduled-executor-thread-1] INFO i.a.w.l.PodSweeper(sweepPods):88 - Will sweep Succeeded pods older than 2025-11-03T111002.195Z (UTC). 2025-11-03 112002,205 [scheduled-executor-thread-1] INFO i.a.w.l.PodSweeper(sweepPods):91 - Will sweep unsuccessful pods older than 2025-11-03T092002.195Z (UTC). 2025-11-03 112003,399 [main] INFO i.a.f.ConfigFileClient(<init>):141 - path /flags does not exist, will return default flag values 2025-11-03 112004,220 [main] INFO i.a.w.l.a.DataplaneIdentityService(initialize):55 - Running as d194a54a-2d99-469a-b01c-dee73f19b79d (AUTO) for AUTO 2025-11-03 112004,244 [scheduled-executor-thread-3] INFO i.a.w.l.p.c.WorkloadApiQueueConsumer(initialize):41 - Initializing ApiQueueConsumer for 5c538e5a-1d9d-4767-8941-c933a2806565 2025-11-03 112004,235 [main] INFO i.m.r.Micronaut(start):101 - Startup completed in 4900ms. Server Running: http://airbyte-abctl-workload-launcher-597c56458b-hxjtz:8016 2025-11-03 112004,256 [Thread-2] INFO i.a.w.l.ClaimedProcessor(getWorkloadList):91 - requesting workload list: WorkloadListRequest(dataplane=[d194a54a-2d99-469a-b01c-dee73f19b79d], status=[claimed], updatedBefore=null) 2025-11-03 112004,277 [scheduled-executor-thread-3] INFO i.a.w.l.p.c.WorkloadApiQueuePoller(initialize):53 - Initalizing ApiQueuePoller with 5c538e5a-1d9d-4767-8941-c933a2806565 and default 2025-11-03 112004,347 [scheduled-executor-thread-3] INFO i.a.w.l.p.c.WorkloadApiQueuePoller(initialize):53 - Initalizing ApiQueuePoller with 5c538e5a-1d9d-4767-8941-c933a2806565 and high 2025-11-03 112004,415 [scheduled-executor-thread-1] INFO i.a.w.l.PodSweeper(sweepPods):149 - Completed pod sweeper cycle. 2025-11-03 112005,135 [Thread-2] ERROR i.a.w.l.StartupApplicationEventListener(onApplicationEvent$lambda$1):43 - Failed to retrieve and resume claimed workloads, exiting. io.airbyte.api.client.ApiException: Unauthorized at io.airbyte.workload.api.client.WorkloadApiClient.workloadList(WorkloadApiClient.kt:288) at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList$lambda$9(ClaimedProcessor.kt:112) at dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243) at dev.failsafe.Functions.lambda$get$0(Functions.java:46) at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74) at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187) at dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376) at dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112) at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList(ClaimedProcessor.kt:110) at io.airbyte.workload.launcher.ClaimedProcessor.retrieveAndProcess(ClaimedProcessor.kt:57) at io.airbyte.workload.launcher.StartupApplicationEventListener.onApplicationEvent$lambda$1(StartupApplicationEventListener.kt:39) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
k
A message from kapa.ai
Based on the knowledge sources, the error you are seeing—where the
airbyte-abctl-workload-launcher
pod is in a
BackOff
state and logs show `io.airbyte.api.client.ApiException: Unauthorized`—is a known issue in Airbyte OSS self-hosted deployments using abctl. This typically happens when the
WORKLOAD_API_BEARER_TOKEN
environment variable is not properly aligned across all relevant Airbyte deployments (worker, workload API server, and server). However, if you have already applied the workaround to set the same token across these deployments and are still seeing the error, it suggests that either: 1. The environment variable was not set correctly on all required deployments. 2. The pods did not restart properly and are still using the old environment variable. 3. There may be another underlying issue not addressed by the token workaround. Steps to troubleshoot: 1. Double-check the environment variable: - Ensure that
WORKLOAD_API_BEARER_TOKEN
is set to the same value in all of the following deployments: -
airbyte-abctl-workload-api-server
-
airbyte-abctl-worker
-
airbyte-abctl-server
- You can verify this by running:
Copy code
sh      kubectl -n airbyte-abctl get deployment airbyte-abctl-workload-api-server -o yaml | grep WORKLOAD_API_BEARER_TOKEN      kubectl -n airbyte-abctl get deployment airbyte-abctl-worker -o yaml | grep WORKLOAD_API_BEARER_TOKEN      kubectl -n airbyte-abctl get deployment airbyte-abctl-server -o yaml | grep WORKLOAD_API_BEARER_TOKEN
2. Restart the deployments: - Make sure you have restarted all three deployments after setting the environment variable, so the new value is picked up. 3. Check for other auth-related issues: - Some users have reported that the issue can persist if there are other misconfigurations or if the secret is not being picked up correctly. In some cases, deleting and recreating the secret, then restarting the pods, has helped [see here](https://github.com/airbytehq/airbyte/issues/65574). 4. Review logs for additional clues: - Check the logs of the
airbyte-abctl-workload-api-server
and
airbyte-abctl-worker
pods for any additional error messages that might indicate a different root cause. If after all these steps the issue persists, the knowledge sources do not provide a definitive solution beyond the token alignment workaround. This issue has been reported by multiple users, and in some cases, it required a clean reinstall or further investigation by the Airbyte team [see here](https://github.com/airbytehq/airbyte/issues/65574), [see here](https://github.com/airbytehq/airbyte/issues/65567). Summary: - The most common cause is a mismatch in the
WORKLOAD_API_BEARER_TOKEN
across deployments. - Double-check the environment variable and ensure all relevant pods are restarted. - If the problem persists, the knowledge sources do not provide a further solution, and you may need to seek additional support or consider a clean reinstall. If you have already followed all the documented steps and the issue remains, it may be a bug or an edge case not fully addressed in the current knowledge sources.
s
@kapa.ai ERROR Timed out waiting for ingress ERROR Unable to install Airbyte locally ERROR browser liveness check failed: context deadline exceeded
k
A message from kapa.ai
The error message:
Copy code
ERROR   Timed out waiting for ingress ERROR   Unable to install Airbyte locally ERROR   browser liveness check failed: context deadline exceeded
indicates that the Airbyte installation process is unable to verify that the web interface (ingress) is up and reachable within the expected time. This is a known class of issues when installing Airbyte OSS with abctl. Possible causes and troubleshooting steps from the knowledge sources: 1. Ingress/Network Issues: - The installation may be stuck on installing or waiting for the ingress controller (such as nginx/ingress-nginx) to become ready. This is a common problem, especially if you are behind a proxy, have port conflicts, or are running another ingress controller (like Traefik with k3s) that interferes with nginx ([see here](https://github.com/airbytehq/airbyte/issues/56386)). - Users behind a corporate proxy have reported similar issues. In such cases, network restrictions may prevent the ingress controller from pulling images or starting correctly. 2. Timeouts and Resource Constraints: - If your machine has limited resources (CPU, RAM), the ingress controller or other pods may take longer to start, or may fail to start at all. The Airbyte team recommends at least 4 CPUs and 8GB RAM for a stable installation ([see here](https://github.com/airbytehq/airbyte/issues/48720)). 3. Workarounds and Next Steps: - Retry the installation: Sometimes, simply uninstalling and reinstalling Airbyte helps:
Copy code
sh      abctl local uninstall      abctl local install
Several users have reported success after a retry, though this is not guaranteed ([see here](https://github.com/airbytehq/airbyte/issues/56386)). - Check for port conflicts: If you are running another ingress controller (e.g., Traefik with k3s), it may conflict with nginx. You may need to disable the other controller or adjust your setup. - Check pod logs: You can inspect the logs of the ingress controller pod for more details:
Copy code
sh      kubectl -n airbyte-abctl get pods      kubectl -n airbyte-abctl logs <nginx-ingress-pod-name>
- Proxy/network configuration: If you are behind a proxy, ensure that the proxy settings are correctly configured inside the kind cluster. Some users have had to exec into the kind control plane container and set up proxy or image mirror settings manually ([see here](https://github.com/airbytehq/airbyte/issues/56386)). Summary: This error is most often related to the ingress controller not becoming ready, usually due to network, proxy, or resource issues. The knowledge sources recommend checking for proxy/network problems, port conflicts, and retrying the installation. If the problem persists, reviewing the ingress pod logs may provide more specific clues. If you need more detailed troubleshooting steps, please provide the logs from the ingress controller pod or any additional error messages you see during installation.
s
@kapa.ai how to upgrade abctl
k
A message from kapa.ai
To upgrade abctl, you should use Homebrew. Run the following command in your terminal:
Copy code
sh brew upgrade abctl
This command will update abctl to the latest version. Note that upgrading abctl is separate from upgrading Airbyte itself; it only updates the command-line tool [Upgrading Airbyte](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte) [Install abctl](https://docs.airbyte.com/platform/deploying-airbyte/abctl#install-abctl).
s
@kapa.ai gives this error slim@airbyte-cluster:~$ brew upgrade abctl Error: No available formula with the name "abctl". Did you mean abcl, act or zbctl?
k
A message from kapa.ai
Thank you for pointing out the error. According to the official Airbyte documentation, you can upgrade abctl using Homebrew with the following commands:
Copy code
sh brew tap airbytehq/tap brew upgrade abctl
If you receive an error like "No available formula with the name 'abctl'," it may be because the Airbyte tap is not added. Make sure to run
brew tap airbytehq/tap
first, then try upgrading again [Install abctl](https://docs.airbyte.com/platform/deploying-airbyte/abctl#install-abctl). If you continue to have issues with Homebrew, you can also install or upgrade abctl using the curl method:
Copy code
sh curl -LsfS https://get.airbyte.com | bash -
This will install or update abctl to the latest version [Install abctl](https://docs.airbyte.com/platform/deploying-airbyte/abctl#install-abctl). If you are on Linux or Windows and prefer manual installation, you can download the latest release from the [abctl GitHub releases page](https://github.com/airbytehq/abctl/releases/latest) and follow the extraction and setup steps as described in the documentation [Install abctl](https://docs.airbyte.com/platform/deploying-airbyte/abctl#install-abctl). If you still encounter issues, please let me know your operating system and any additional error messages you see.
s
@kapa.ai WARNING Encountered an issue deploying Airbyte: Pod: airbyte-db-0.18747e051b134241 Reason: BackOff Message: Back-off restarting failed container airbyte-db-container in pod airbyte-db-0_airbyte-abctl(1206db14-e1e1-4567-9547-e41d97a65308) Count: 9 Logs: chown: /var/lib/postgresql/data/pgdata: Operation not permitted chmod: /var/lib/postgresql/data/pgdata: Operation not permitted The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.utf8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. initdb: error: could not access directory "/var/lib/postgresql/data/pgdata": Permission denied
k
A message from kapa.ai
The error you are encountering:
Copy code
chown: /var/lib/postgresql/data/pgdata: Operation not permitted chmod: /var/lib/postgresql/data/pgdata: Operation not permitted initdb: error: could not access directory "/var/lib/postgresql/data/pgdata": Permission denied
is a known issue when deploying Airbyte with abctl. This typically happens due to file system permission problems on the host directory that is mounted as the Postgres data volume. The Postgres container needs to be able to change ownership and permissions of its data directory, but it cannot do so due to insufficient permissions on the host. How to fix: - Set the correct ownership on the data directory: The Postgres container expects the data directory to be owned by the
postgres
user, which usually has UID 70 inside the container. You can fix this by running the following command on your host machine (replace the path as needed):
Copy code
sh   sudo chown 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
This solution is confirmed by users who faced the same issue and resolved it by setting the directory ownership to UID 70 ([see here](https://github.com/airbytehq/airbyte/issues/62093)). - If you are running on a VM or after uninstalling/reinstalling: Some users have reported this issue after running
abctl local uninstall
and then
abctl local install
again. In such cases, reapplying the
chown
command above should resolve the problem. If you are still having issues after setting the correct permissions, please ensure that no other process is locking the directory and that your Docker setup allows containers to change file ownership on mounted volumes. Summary: Set the ownership of the Airbyte Postgres data directory to UID 70 (
chown 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
) to resolve the permission denied error during Airbyte deployment with abctl ([see here](https://github.com/airbytehq/airbyte/issues/62093)).
s
@kapa.ai slim@airbyte-cluster:~$ chown 70:70 ~/.airbyte/abctl/data/airbyte-volume-db chown: changing ownership of '/home/slim/.airbyte/abctl/data/airbyte-volume-db': Operation not permitted
k
A message from kapa.ai
The error
Operation not permitted
when running
chown 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
indicates that your user does not have the necessary permissions to change the ownership of that directory. This is a common issue, especially if the directory was created by Docker or another process with different permissions. Based on the knowledge sources, here are the key points and next steps: - The recommended fix for the Airbyte Postgres permission issue is to set the ownership of the data directory to UID 70 (the
postgres
user inside the container) [see here](https://github.com/airbytehq/airbyte/issues/62093). - If you get
Operation not permitted
, it usually means you need elevated privileges. What to try: 1. Use sudo: Run the command with
sudo
to get the necessary permissions:
Copy code
sh    sudo chown 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
This is the approach confirmed by users in the knowledge sources. 2. If sudo does not work: - Ensure your user has the right to use
sudo
. - If the directory is on a mounted filesystem (e.g., NFS, some cloud disks, or certain Docker volume drivers), the underlying filesystem may not support changing ownership from the host. In such cases, you may need to recreate the volume or adjust mount options, but the knowledge sources do not provide explicit steps for this scenario. If you still cannot change ownership with sudo, and the directory is not on a special mount, you may need to delete the directory and let Airbyte recreate it:
Copy code
sh sudo rm -rf ~/.airbyte/abctl/data/airbyte-volume-db abctl local install
This approach has also been used by users to resolve persistent permission issues [see here](https://github.com/airbytehq/airbyte/issues/58864). Summary: Try running the
chown
command with
sudo
. If that fails, check for special mount issues or try deleting the directory and reinstalling. If the problem persists, the knowledge sources do not provide further troubleshooting steps.
s
@kapa.ai WARNING Encountered an issue deploying Airbyte: Pod: airbyte-db-0.18747e051b134241 Reason: BackOff Message: Back-off restarting failed container airbyte-db-container in pod airbyte-db-0_airbyte-abctl(1206db14-e1e1-4567-9547-e41d97a65308) Count: 69 Logs: mkdir: can't create directory '/var/lib/postgresql/data/pgdata': Permission denied chown: /var/lib/postgresql/data/pgdata: No such file or directory mkdir: can't create directory '/var/lib/postgresql/data/pgdata': Permission denied
k
A message from kapa.ai
The error you are seeing:
Copy code
mkdir: can't create directory '/var/lib/postgresql/data/pgdata': Permission denied chown: /var/lib/postgresql/data/pgdata: No such file or directory
indicates that the Airbyte Postgres container does not have permission to create or access its data directory. This is a common issue when deploying Airbyte with abctl and is caused by file system permission problems on the host directory that is mounted as the Postgres data volume. How to fix: - The recommended solution is to set the ownership of the data directory to UID 70 (the
postgres
user inside the container). You can do this with:
Copy code
sh   sudo chown 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
This step is confirmed by users who resolved the same issue by setting the directory ownership to UID 70 ([see here](https://github.com/airbytehq/airbyte/issues/62093)). - If you get an "Operation not permitted" error when running the
chown
command, it may be due to the directory being on a special mount or created by Docker with restrictive permissions. In that case, you can try deleting the directory and letting Airbyte recreate it:
Copy code
sh   sudo rm -rf ~/.airbyte/abctl/data/airbyte-volume-db   abctl local install
This approach has also been used by users to resolve persistent permission issues ([see here](https://github.com/airbytehq/airbyte/issues/58864)). If these steps do not resolve the issue, the knowledge sources do not provide further troubleshooting steps. If the problem persists, please provide more details about your environment (e.g., OS, Docker setup, filesystem type).
s
@kapa.ai ERROR failed to determine if any previous psql version exists: error reading pgdata version file: open /home/slim/.airbyte/abctl/data/airbyte-volume-db/pgdata/PG_VERSION: permission denied
k
A message from kapa.ai
The error:
Copy code
ERROR   failed to determine if any previous psql version exists: error reading pgdata version file: open /home/slim/.airbyte/abctl/data/airbyte-volume-db/pgdata/PG_VERSION: permission denied
indicates a file system permission issue on the Postgres data directory used by Airbyte. This is a common problem when deploying Airbyte with abctl, and it prevents the container from reading or writing to the required files. How to fix: - The recommended solution is to set the ownership of the data directory to UID 70 (the
postgres
user inside the container). You can do this with:
Copy code
sh   sudo chown 70:70 ~/.airbyte/abctl/data/airbyte-volume-db
This step is confirmed by users who resolved similar issues by setting the directory ownership to UID 70 ([see here](https://github.com/airbytehq/airbyte/issues/62093)). - If you encounter "Operation not permitted" when running the
chown
command, it may be due to the directory being on a special mount or created by Docker with restrictive permissions. In that case, you can try deleting the directory and letting Airbyte recreate it:
Copy code
sh   sudo rm -rf ~/.airbyte/abctl/data/airbyte-volume-db   abctl local install
This approach has also been used by users to resolve persistent permission issues ([see here](https://github.com/airbytehq/airbyte/issues/58864)). If these steps do not resolve the issue, the knowledge sources do not provide further troubleshooting steps. If the problem persists, please provide more details about your environment.