Moshe Netkin
12/03/2025, 7:50 PMAirbyte is temporarily unavailable. Please try again. (HTTP 502)
Failed to save Walmart due to the following error: errors.http.badGatewaykapa.ai
12/03/2025, 7:51 PMabctl (local or Kubernetes) and all connector tests fail with the same Airbyte is temporarily unavailable. Please try again. (HTTP 502) message (even simple CSV/file connectors), it’s likely related to the airbyte-abctl-worker / workload‑api path. Several users fixed this by: - Restarting the worker and workload‑api deployments: bash kubectl -n airbyte-abctl rollout restart deployment airbyte-abctl-worker kubectl -n airbyte-abctl rollout restart deployment airbyte-abctl-workload-api-server kubectl -n airbyte-abctl rollout status deployment airbyte-abctl-worker kubectl -n airbyte-abctl rollout status deployment airbyte-abctl-workload-api-server [[1.8.3 502 fix](https://github.com/airbytehq/airbyte/issues/66692)] - If restart alone doesn’t help, making sure both services share the same auth token (inside the abctl container): bash # inside the abctl container BEARER_TOKEN=$(openssl rand -hex 16) echo "Generated token: $BEARER_TOKEN" kubectl -n airbyte-abctl set env deployment/airbyte-abctl-worker \ WORKLOAD_API_BEARER_TOKEN="$BEARER_TOKEN" \ INTERNAL_API_AUTH_TOKEN="$BEARER_TOKEN" kubectl -n airbyte-abctl set env deployment/airbyte-abctl-workload-api-server \ WORKLOAD_API_BEARER_TOKEN="$BEARER_TOKEN" [[abctl token workaround](https://github.com/airbytehq/airbyte/issues/65567); [1.8.3 502 fix](https://github.com/airbytehq/airbyte/issues/66692)] These workarounds have fixed 502 errors for multiple connectors (Postgres, MySQL, CSV, file, etc.) in those setups.[[abctl token workaround](https://github.com/airbytehq/airbyte/issues/65567); [source-file 502](https://github.com/airbytehq/airbyte/issues/65574)] 2. Ingress / proxy timeouts (NGINX, OAuth proxy, etc.) - If Airbyte is running behind nginx / an ingress with short timeouts, the “test connection” calls can exceed that timeout and return 502/504 even though the backend job keeps running. This has been observed both with generic ingress and OAuth proxies.[[Gateway timeout](https://github.com/airbytehq/airbyte/issues/58627); [502 timeout k8s](https://discuss.airbyte.io/t/1207)] - Workarounds (depending on what you control): - Bypass the ingress/proxy for Airbyte UI/API and connect directly to the service to confirm if the issue is purely timeout‑related.[[502 timeout k8s](https://discuss.airbyte.io/t/1207)] - If possible, **increase the proxy timeout**; users who removed or relaxed the ingress limit saw the 502 vanish, leaving only the underlying connector error to debug.[[502 timeout k8s](https://discuss.airbyte.io/t/1207)] - In one case it was explicitly identified as an OAuth proxy timeout.[[Gateway timeout](https://github.com/airbytehq/airbyte/issues/58627)] 3. Temporal / backend service issues on Kubernetes On Helm‑based or EKS installs, users seeing 502 on source/destination creation also found problems with the Temporal service or connectivity to its DB; fixing Temporal resolved the 502 when testing connections.[[Temporal deadline exceeded](https://github.com/airbytehq/airbyte/issues/59730); [502 timeout k8s](https://discuss.airbyte.io/t/1207)] 4. Older Docker / nginx frontend 502 On older single‑node Docker deployments, a 502 from nginx after boot was fixed by upgrading Airbyte to a version where the proxy restart behavior was improved (>= 0.40.23).[[nginx 502 fixed](https://discuss.airbyte.io/t/3239)] --- Given your error message: - If you’re on abctl / OSS 1.8.x+: apply the abctl worker/workload‑api restart, and if needed the shared bearer token workaround.[[abctl token workaround](https://github.com/airbytehq/airbyte/issues/65567); [1.8.3 502 fix](https://github.com/airbytehq/airbyte/issues/66692)] - If you’re behind an ingress / nginx / OAuth proxy with a fixed 60s (or similar) timeout, test Airbyte without that proxy or increase the timeout where possible.[[Gateway timeout](https://github.com/airbytehq/airbyte/issues/58627); [502 timeout k8s](https://discuss.airbyte.io/t/1207)] The knowledge sources don’t mention a Walmart‑specific connector error; the errors.http.badGateway detail is the generic 502 wrapper from the UI, not an indication of a Walmart API problem. If, after fixing the 502/proxy/backend issues, the Walmart connector still fails, you’d then need to inspect the connector logs for its actual API error.Moshe Netkin
12/03/2025, 7:53 PMkapa.ai
12/03/2025, 7:53 PMkapa.ai
12/03/2025, 7:54 PMkubectl is talking to localhost:8080 instead of the abctl‑managed Kubernetes API, which is why you see: > The connection to the server localhost:8080 was refused For abctl installs you must use the kubeconfig that abctl created, otherwise all kubectl commands will fail like this and the worker/workload‑api fixes can’t be applied.[[source-file 502](https://github.com/airbytehq/airbyte/issues/65574)] Use the abctl kubeconfig and namespace explicitly, for example: bash # Use abctl's kubeconfig and namespace export KUBECONFIG="${HOME}/.airbyte/abctl/abctl.kubeconfig" export NAMESPACE="airbyte-abctl" # Sanity‑check that you can reach the cluster kubectl get pods -n "$NAMESPACE" # If that works, restart the deployments kubectl -n "$NAMESPACE" rollout restart deployment airbyte-abctl-worker kubectl -n "$NAMESPACE" rollout restart deployment airbyte-abctl-workload-api-server kubectl -n "$NAMESPACE" rollout status deployment airbyte-abctl-worker kubectl -n "$NAMESPACE" rollout status deployment airbyte-abctl-workload-api-server If the worker and workload‑api still can’t talk to each other (workloads not being claimed, “workload failed, workload‑monitor‑claim”), several users fixed this by ensuring both use the same bearer token:[[abctl token workaround](https://github.com/airbytehq/airbyte/issues/65567); [source-file 502](https://github.com/airbytehq/airbyte/issues/65574)] bash # still with KUBECONFIG and NAMESPACE set as above BEARER_TOKEN=$(openssl rand -hex 16) echo "Generated token: $BEARER_TOKEN" kubectl -n "$NAMESPACE" set env deployment/airbyte-abctl-worker \ WORKLOAD_API_BEARER_TOKEN="$BEARER_TOKEN" \ INTERNAL_API_AUTH_TOKEN="$BEARER_TOKEN" kubectl -n "$NAMESPACE" set env deployment/airbyte-abctl-workload-api-server \ WORKLOAD_API_BEARER_TOKEN="$BEARER_TOKEN" kubectl -n "$NAMESPACE" rollout restart deployment airbyte-abctl-worker kubectl -n "$NAMESPACE" rollout restart deployment airbyte-abctl-workload-api-server kubectl -n "$NAMESPACE" rollout status deployment airbyte-abctl-worker kubectl -n "$NAMESPACE" rollout status deployment airbyte-abctl-workload-api-server Only after kubectl get pods -n airbyte-abctl works via the abctl kubeconfig and these rollouts succeed will the “workload was never claimed” and 502 errors during “Test connection” be able to clear. If you still see “workload was never claimed” after this, the knowledge sources don’t provide further abctl‑specific steps beyond these token and restart workarounds.