Shailendra Jaiswar
08/19/2025, 4:59 PMERROR i.a.w.l.StartupApplicationEventListener(onApplicationEvent$lambda$1):43 - Failed to retrieve and resume claimed workloads, exiting.
io.airbyte.workload.api.client.generated.infrastructure.ClientException: Client error : 401 Unauthorized {"message":"Unauthorized","logref":null,"path":null,"_links":{"self":{"href":"/api/v1/workload/list","templated":false,"profile":null,"deprecation":null,"title":null,"hreflang":null,"type":null,"name":null}},"_embedded":{"errors":[{"message":"Unauthorized","logref":null,"path":null,"_links":{},"_embedded":{}}]}}kapa.ai
08/19/2025, 5:00 PMClientException: Client error : 401 Unauthorized {"message":"Unauthorized", ...} indicates that the workload-launcher is unable to authenticate with the Airbyte API, likely due to an authorization or credentials issue. Based on the knowledge sources, similar issues have occurred in previous Airbyte versions, often related to Kubernetes service accounts, secrets, or Helm upgrades: - Service Account or Secret Issues: If the service account or secret used by Airbyte is missing, misconfigured, or overwritten (for example, after a Helm upgrade), the workload-launcher may lose access and throw 401 Unauthorized errors. There are reports of Helm upgrades deleting and recreating service accounts, which can break permissions and require reconfiguration or recreation of the service account with the correct permissions and bindings. If you use custom secrets (like airbyte-auth-secrets), ensure they contain all required keys and are not interfering with Airbyte-managed secrets. Some users have found that rolling back to a previous version or recreating the service account resolves the issue, but this is not a stable long-term solution [helm upgrade deletes and recreates serviceaccount](https://github.com/airbytehq/airbyte/issues/18731) [Could not deploy latest (v1.6.0) airbyte community with abctl](https://github.com/airbytehq/airbyte/issues/58587). - Helm Uninstall/Reinstall as a Temporary Fix: In some cases, users have reported that running a helm uninstall followed by a helm install resolves the issue, provided that your persistence (Postgres and storage/S3) is external and decoupled. This suggests the problem is related to the state of Kubernetes resources managed by Helm, such as service accounts or secrets [[platform] Running the launcher replication-orchestrator failed, WorkerException](https://github.com/airbytehq/airbyte/issues/39512). - 401 Unauthorized After Upgrades: There are also reports that after upgrading Airbyte, the workload-launcher or other pods may lose access due to changes in service account or secret management. Double-check that your service accounts, role bindings, and secrets are intact and correctly referenced in your Helm values. Recommended Actions: 1. Check Service Accounts and Role Bindings: Ensure the service account used by Airbyte (often airbyte-admin or a custom one) exists and has the necessary permissions. If you use a custom service account, verify it is correctly set in your Helm values and not overwritten during upgrades. 2. Inspect Secrets: Make sure all required secrets (such as airbyte-auth-secrets) exist and contain the necessary keys. If you customized secrets, ensure they do not conflict with Airbyte's expectations. 3. Review Helm Upgrade Effects: If you recently upgraded Airbyte, check if any service accounts or secrets were deleted and recreated. You may need to reapply custom role bindings or secret data. 4. Restart or Reinstall as a Last Resort: If the above steps do not resolve the issue, and your persistence is external, you can try uninstalling and reinstalling the Helm release. This has resolved similar issues for other users, but should be done with caution. If these steps do not resolve the issue, please provide more details about recent changes (e.g., upgrades, secret modifications) for further troubleshooting. Note: The knowledge sources do not provide a definitive fix for this specific error on v1.7.1, but the above steps are based on closely related issues and recommended troubleshooting actions from the Airbyte community and maintainers.