Marcelo Vicentim
08/19/2025, 12:59 PMabctl local install to test some integrations (eg. connect to a database to perform CDC, read csv file, etc). All instalation went well and I can connect to Airbyte via localhost:8000. However, I couldn't execute any integration like connecting to an existing RDS (Postgres) or reading a csv file from a public website. Both sources are acessible using other tools (like dbeaver for RDS), but the connection test in Airbyte return error 502 and the Worker's pod log return an unauthorized error (below). Am I missing something?
at io.temporal.internal.activity.RootActivityInboundCallsInterceptor.execute(RootActivityInboundCallsInterceptor.java:43)
at io.temporal.internal.activity.ActivityTaskExecutors$BaseActivityTaskExecutor.execute(ActivityTaskExecutors.java:107)
at io.temporal.internal.activity.ActivityTaskHandlerImpl.handle(ActivityTaskHandlerImpl.java:124)
at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handleActivity(ActivityWorker.java:290)
at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:254)
at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:217)
at io.temporal.internal.worker.PollTaskExecutor.lambda$process$1(PollTaskExecutor.java:96)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: io.airbyte.api.client.ApiException: Unauthorized
at io.airbyte.workload.api.client.WorkloadApiClient.unit(WorkloadApiClient.kt:405)
at io.airbyte.workload.api.client.WorkloadApiClient.workloadCreate(WorkloadApiClient.kt:50)
at io.airbyte.workers.sync.WorkloadClient.createWorkload(WorkloadClient.kt:44)
... 20 common frames omittedkapa.ai
08/19/2025, 12:59 PMabctl local install is encountering an "Unauthorized" error when the worker pod tries to execute tasks, resulting in 502 errors for integration tests. This specific error pattern—`io.airbyte.api.client.ApiException: Unauthorized` in the worker logs—has been reported in Airbyte issues when there are problems with Kubernetes authentication, particularly with the workload launcher or when secrets (like dataplane credentials) are missing or not properly initialized. For example, a similar stack trace and 502 errors have been observed when the workload launcher cannot find required secrets or when the dataplane credentials are not set up correctly after installation or upgrade. In some cases, users have resolved this by deleting certain records from the Airbyte database and reinstalling, which forces Airbyte to recreate the necessary secrets and credentials. Here’s a relevant workaround: bash export KUBECONFIG="$HOME/.airbyte/abctl/abctl.kubeconfig" kubectl exec -it -n airbyte-abctl airbyte-db-0 -- /bin/bash psql -U airbyte db-airbyte delete from dataplane_client_credentials ; delete from dataplane; \q exit After running these commands, try reinstalling Airbyte with abctl local install again. This process should recreate the required dataplane credentials and secrets, which may resolve the unauthorized error you’re seeing. This workaround has been confirmed to work for similar issues in Airbyte Community installations using `abctl`[Workload launcher unauthorized error workaround](https://github.com/airbytehq/airbyte/issues/58587). If this does not resolve the issue, ensure that your Kubernetes cluster and Airbyte pods have the correct permissions and that all required secrets are present. Also, make sure you are using a supported and up-to-date version of Airbyte, as some issues have been fixed in recent releases. If you continue to experience issues, please provide more details about your Airbyte version and any additional error logs, as there may be other configuration or environment-specific factors at play.Marcelo Vicentim
08/19/2025, 1:12 PMkapa.ai
08/19/2025, 1:12 PMkapa.ai
08/19/2025, 1:12 PM--chart-version flag with abctl local install. For example, to downgrade to version 1.6.4 (which has been reported as a stable workaround for similar issues), you can run: bash abctl local install --chart-version 1.6.4 This approach has been confirmed by users who faced similar networking and authorization issues with newer versions. After downgrading, they were able to connect to sources and destinations successfully again [see: abctl downgrade workaround](https://github.com/airbytehq/airbyte/issues/62463) and [connector builder 502 workaround](https://github.com/airbytehq/airbyte/issues/61677). Note: - Downgrading may require a clean install, and you may lose existing data unless you have persistent storage configured. - You can check available chart versions on [ArtifactHub](https://artifacthub.io/packages/helm/airbyte/airbyte). If you continue to experience issues after downgrading, please share any new error logs or behaviors you observe.Marcelo Vicentim
08/19/2025, 1:32 PMkapa.ai
08/19/2025, 1:32 PMkapa.ai
08/19/2025, 1:33 PM