I updated airbyte, using the following command ` a...
# replication-troubleshooting
b
I updated airbyte, using the following command
abctl local install --values values.yaml --insecure-cookies
and getting the below error, can anyone please help
Copy code
2025-08-27 07:48:46,474 [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:283)
          	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
The error message you are seeing (
io.airbyte.api.client.ApiException: Unauthorized
) during Airbyte startup typically indicates an authentication or authorization problem between Airbyte components, often related to misconfigured secrets or credentials. Based on the knowledge sources, here are the most relevant troubleshooting steps: 1. Secure Cookies Issue: If you are deploying Airbyte over HTTP (not HTTPS), you must disable secure cookies. In older versions of
abctl
, the
--insecure-cookies
flag was sometimes ignored due to a bug. This was fixed in
abctl
version 0.29.0 and later. - Make sure you are using
abctl
version 0.29.0 or higher. - If you are on an older version, upgrade
abctl
and redeploy with the
--insecure-cookies
flag. - Example:
Copy code
abctl local install --host [HOSTNAME] --insecure-cookies
- Reference: [Troubleshooting abctl: Make sure you have disabled secure cookies](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies) 2. Workload Launcher Unauthorized: This error can also occur if there are issues with the secrets or credentials in your Airbyte database, especially after upgrades or failed installs. There are reports that deleting certain records from the Airbyte database (
dataplane
and
dataplane_client_credentials
tables) and then reinstalling can help regenerate the necessary secrets. - Steps (if using the default local Kubernetes setup):
Copy code
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      abctl local install --insecure-cookies -v
- Reference: [Github Issue #58587](https://github.com/airbytehq/airbyte/issues/58587) 3. Custom values.yaml: If you are using a custom
values.yaml
, ensure that you are not overriding or misconfiguring authentication or cookie settings. Some users have had to explicitly set cookie settings in their
values.yaml
to disable secure cookies:
Copy code
yaml    global:      auth:        cookieSecureSetting: "false"        security:          cookieSecureSetting: "false"     server:      extraEnv:        - name: AB_COOKIE_SECURE          value: "false"        - name: AB_COOKIE_SAME_SITE          value: "Lax"
- Reference: [Github Issue #61586](https://github.com/airbytehq/airbyte/issues/61586) Summary of what to do: - Ensure you are using
abctl
v0.29.0 or newer. - Redeploy with
--insecure-cookies
and, if needed, explicitly set cookie settings in your
values.yaml
. - If the problem persists, try the database cleanup steps above to regenerate secrets. If you have already tried all of the above and the issue persists, please provide your
abctl
version and any relevant logs for further troubleshooting.
b
Copy code
abctl local credentials
  INFO    Using Kubernetes provider:
            Provider: kind
            Kubeconfig: /home/ubuntu/.airbyte/abctl/abctl.kubeconfig
            Context: kind-airbyte-abctl
  ERROR   Unable to determine organization email
  ERROR   unable to determine organization email: failed to get organization: unable to fetch token: unable to decode token request: invalid character '<' looking for beginning of value
  INFO    A new release of abctl is available: v0.29.0 -> v0.30.1
          Updating to the latest version is highly recommended
getting the following, what would be the correct way to seed the existing credentials and start ?
tried: abctl local install --disable-auth --values values.yaml --insecure-cookies Unable to install Airbyte locally ERROR browser liveness check failed: context deadline exceeded
@kapa.ai
k
Sorry @Bhaskar Saraogi, I'm not sure what you mean. Please try again. 👋