<@U04S8PLJWMT> hi, im running all pods in kind usi...
# ask-ai
u
@kapa.ai hi, im running all pods in kind using airbyte-abctl-control-plane. but when I create a new source in airbyte, there's an "an unknown error occurred. http 504 " error is coming.
k
The "An unknown error occurred. (HTTP 504)" when creating a new source in Airbyte—especially when running all pods in kind using airbyte-abctl-control-plane—is a common issue reported by several users. This error typically indicates a timeout, often because the backend process (such as schema discovery or source check) takes longer than the default proxy or ingress timeout, or because of pod creation/networking issues. Here are the most relevant causes and solutions based on the knowledge sources: ### 1. Ingress Proxy Timeout If the operation (like schema discovery or source check) takes longer than the ingress proxy's timeout (often 60 seconds by default), the proxy returns a 504 error before Airbyte can respond with a more informative error. Increasing the timeout on your ingress proxy can help. For example, if you're using the default nginx ingress, you can add an annotation to increase the timeout:
Copy code
yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata:   annotations:     nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
You can edit your ingress with:
Copy code
sh kubectl -n <namespace> edit ingresses.networking.k8s.io <ingress-name>
This allows more time for Airbyte to complete the operation and return a proper error message if something else is wrong. More details are available in this discussion: [timeout funnel is inverted causing obscure 504 errors at the ingress proxy](https://github.com/airbytehq/airbyte/issues/45156). ### 2. Pod Creation or Networking Issues 504 errors can also occur if Airbyte is unable to create the necessary pods for running source checks or syncs. This can be due to resource constraints, misconfiguration, or networking issues in your kind cluster. Check the logs of the workload launcher and the pods being created for errors. For example, errors like "Failed to create pod" or "Init container for Pod: pods did not complete successfully" indicate pod creation issues. See: [Pod creation fails with timeout](https://github.com/airbytehq/airbyte/issues/44443), [Airbyte 1.2.0 on Kubernetes/EKS: Cannot create new sources as "Test the Source" fails with HTTP 500](https://github.com/airbytehq/airbyte/issues/48809). ### 3. Version-Specific or Configuration Issues Some users have reported that downgrading to an earlier version of Airbyte or abctl resolved the issue, suggesting possible regressions or configuration changes in newer versions. If you recently upgraded, consider testing with a previous version to see if the issue persists. See: [airbyte abctl not connecting to the source DB](https://github.com/airbytehq/airbyte/issues/62463). ### 4. Restarting Airbyte Server Pod In some cases, simply deleting and letting Kubernetes restart the Airbyte server pod has resolved the issue, possibly due to a transient state or failed initialization: [list_enterprise_source_stubs error keeps happening](https://github.com/airbytehq/airbyte/issues/51511). --- Summary of steps to try: 1. Increase the ingress proxy timeout as described above. 2. Check the logs of the workload launcher and any pods created for source checks for more detailed errors. 3. Ensure your kind cluster has enough resources and that all Airbyte pods are running and healthy. 4. Try restarting the Airbyte server pod. 5. If the issue started after an upgrade, consider testing with a previous version. If after these steps the issue persists, please provide logs from the workload launcher and the failing pods for more targeted troubleshooting.
u
@kapa.ai which abctl version is stable ?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not explicitly state which abctl version is considered "stable." However, the documentation and troubleshooting guides frequently reference abctl versions 0.15.0 and above, and specifically mention that abctl version 0.28 and later support the latest Airbyte 1.7+ features and ingress changes. The documentation also recommends upgrading to the latest version of abctl for compatibility and bug fixes, for example using
brew upgrade abctl
to get the latest release [Deploying with abctl](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-abctl). If you are looking for stability and compatibility with Airbyte 1.7 or later, it is recommended to use abctl version 0.28 or newer. If you are on an older Airbyte version, ensure your abctl version matches the compatibility requirements for that release. If you need a specific "stable" version, the documentation does not provide a definitive answer.
u
@kapa.ai can you let me know the command detail to down upgrade abctl version?
k
A message from kapa.ai
To downgrade (or upgrade) your abctl version, you need to manually download the desired release from the [abctl GitHub releases page](https://github.com/airbytehq/abctl/releases/). The knowledge sources do not provide a direct command for downgrading abctl, but they do mention that you can find and install prior releases from this page. Here’s a general outline of the process: 1. Go to the [abctl releases page](https://github.com/airbytehq/abctl/releases/). 2. Download the version appropriate for your operating system and architecture. 3. Extract the downloaded archive (if applicable). 4. Replace your current abctl executable with the one from the downloaded release. For example, on Linux:
Copy code
bash # Download the desired version from GitHub releases wget https://github.com/airbytehq/abctl/releases/download/vX.Y.Z/abctl-linux-amd64.tar.gz  # Extract the archive tar -xvzf abctl-linux-amd64.tar.gz  # Make the binary executable chmod +x abctl/abctl  # Move it to your PATH (may require sudo) sudo mv abctl/abctl /usr/local/bin/abctl  # Verify the version abctl version
Replace
vX.Y.Z
with the version you want to install. For Windows, download the appropriate zip file, extract it, and update your PATH if needed. You can find more details and the list of releases here: [abctl GitHub Releases](https://github.com/airbytehq/abctl/releases/) This process is confirmed in the documentation under "Releases" and "Install abctl manually" sections [Next: Troubleshooting abctl](https://docs.airbyte.com/platform/next/deploying-airbyte/troubleshoot-deploy#additional-resources).
u
@kapa.ai 2025-08-25 101412,282 [scheduled-executor-thread-6] ERROR i.a.a.c.a.AccessTokenInterceptor(intercept):120 - Failed to obtain or add access token java.net.ConnectException: Failed to connect to airbyte-abctl-airbyte-server-svc.airbyte-abctl/10.96.24.130:8001. when I enter into worklaod-launcher, this error message is pop up.
k
A message from kapa.ai
The error message:
Copy code
Failed to obtain or add access token java.net.ConnectException: Failed to connect to airbyte-abctl-airbyte-server-svc.airbyte-abctl/10.96.24.130:8001.
indicates that the workload-launcher is unable to connect to the Airbyte server service within your Kubernetes (kind) cluster. This is a network connectivity issue between pods/services. Possible causes and troubleshooting steps based on the knowledge sources: 1. Pod or Service Not Running/Ready Ensure that the
airbyte-abctl-airbyte-server-svc
service and the corresponding Airbyte server pod are running and healthy. You can check this with:
Copy code
sh    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get svc
If the pod is not running or is in a crash loop, check its logs for errors. 2. Network Issues in kind Cluster Sometimes, kind clusters can have networking issues, especially if resources are constrained or if there are misconfigurations. Restarting the affected pods or the entire kind cluster can help. 3. Service Discovery Issues The error could also be due to a temporary DNS or service discovery issue inside the cluster. Restarting the workload-launcher pod and the Airbyte server pod may resolve transient issues. 4. Resource Constraints If your local machine is low on resources (CPU, memory), pods may fail to start or become unresponsive, leading to connection errors. 5. Check for Related Errors The knowledge sources mention that failures to connect between Airbyte components (such as the bootloader or workload-launcher failing to connect to the database or server) are often related to pod startup order, readiness, or networking within the kind cluster. Reviewing pod logs and events can provide more details [Deploying-airbyte Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy). If after these checks the issue persists, please provide the output of the pod and service status commands above, as well as any relevant logs from the Airbyte server pod. The knowledge sources do not provide a more specific solution for this exact error, but the above steps are the recommended approach for similar connectivity issues in Airbyte kind deployments.
u
If I downupgrade the abctl version, how can I avoid 504 error? what the next turn that I should do
@kapa.ai If I downupgrade the abctl version, how can I avoid 504 error? what the next turn that I should do
k
A message from kapa.ai
If you downgrade your abctl version, it may help avoid the 504 error if the issue is related to a regression or bug in a newer release. Several users have reported that downgrading to an earlier Airbyte chart version (such as 1.6.3 or 1.6.4) using the
--chart-version
flag with
abctl local install
resolved their 504 errors when creating sources or using the connector builder ([403 forbidden error on local deployment when creating a custom connector](https://github.com/airbytehq/airbyte/issues/61677), [airbyte abctl not connecting to the source DB](https://github.com/airbytehq/airbyte/issues/62463)). After downgrading abctl, the next steps you should take: 1. Uninstall the current deployment:
Copy code
sh    abctl local uninstall
2. Reinstall Airbyte with the desired chart version:
Copy code
sh    abctl local install --chart-version 1.6.4
(Replace
1.6.4
with the version you want to use.) 3. Verify that all pods are running and healthy:
Copy code
sh    kubectl get pods -n airbyte-abctl
4. Try to create a new source again in the Airbyte UI. Note: If you still encounter 504 errors after downgrading, you may need to increase the ingress proxy timeout as described in the knowledge sources. This is done by editing the ingress resource and adding the following annotation:
Copy code
yaml nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
You can do this with:
Copy code
sh kubectl -n airbyte-abctl edit ingresses.networking.k8s.io ingress-abctl
This step is important if the underlying issue is a timeout due to long-running operations, not just a version regression ([timeout funnel is inverted causing obscure 504 errors at the ingress proxy](https://github.com/airbytehq/airbyte/issues/45156)). Summary: - Downgrade abctl and reinstall Airbyte with a stable chart version. - Check pod health. - If 504 persists, increase the ingress proxy timeout as described above. If you continue to have issues, please check the logs of the workload launcher and Airbyte server pods for more details, as the root cause may be related to networking or resource constraints within your kind cluster.
u
@kapa.ai devops@coelprodcdc02:~$ kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl get svc \NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE airbyte-abctl-airbyte-connector-builder-server-svc NodePort 10.96.103.242 <none> 80:32601/TCP 36m airbyte-abctl-airbyte-server-svc ClusterIP 10.96.24.130 <none> 8001/TCP 36m airbyte-abctl-temporal ClusterIP 10.96.50.107 <none> 7233/TCP 36m airbyte-abctl-workload-api-server-svc ClusterIP 10.96.150.36 <none> 8001/TCP 36m airbyte-db-svc ClusterIP 10.96.97.195 <none> 5432/TCP 36m
k
A message from kapa.ai
Based on your
kubectl get svc
output, your Airbyte services (including
airbyte-abctl-airbyte-server-svc
) are running and have ClusterIP addresses assigned, which is expected in a kind (Kubernetes in Docker) environment. However, if you are still experiencing HTTP 504 errors or connection issues, here are the next steps you should take, strictly based on the knowledge sources: 1. Check Pod Health and Logs: Ensure all related pods are running and not in a crash loop. Use:
Copy code
sh    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl get pods
If any pod is not running, check its logs for errors:
Copy code
sh    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl logs <pod-name>
This is recommended in the troubleshooting guides for diagnosing connectivity and startup issues [Deploying-airbyte Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy). 2. Ingress/Proxy Timeout: If your services are healthy but you still get 504 errors, it may be due to ingress proxy timeouts. The documentation suggests increasing the proxy timeout if operations take longer than the default (often 60 seconds). You can do this by editing your ingress resource and adding:
Copy code
yaml    nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
Edit your ingress with:
Copy code
sh    kubectl -n airbyte-abctl edit ingresses.networking.k8s.io ingress-abctl
This step is important for avoiding 504 errors during long-running operations [Deploying-airbyte Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy). 3. Restart Pods if Needed: If you see connection errors (e.g.,
Failed to connect to airbyte-abctl-airbyte-server-svc
), try restarting the affected pods (such as the workload-launcher and airbyte-server pods) to resolve transient networking or initialization issues. 4. Resource Constraints: Ensure your local machine has enough resources (CPU, memory) allocated to Docker/kind, as resource exhaustion can cause pods to become unresponsive and lead to connection errors. If you have already tried these steps and the issue persists, please provide the output of your pod status and any relevant pod logs for further troubleshooting. The knowledge sources do not provide additional steps beyond these for your specific scenario.
u
@kapa.ai devops@coelprodcdc02:~$ kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl logs airbyte-abctl-server-698d96885d-cgv4x error: error from server (NotFound): pods "airbyte-abctl-server-698d96885d-cgv4x" not found in namespace "airbyte-abctl" devops@coelprodcdc02:~$ kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl logs airbyte-abctl-workload-launcher-84d5cbc949-62jr4 error: error from server (NotFound): pods "airbyte-abctl-workload-launcher-84d5cbc949-62jr4" not found in namespace "airbyte-abctl"
k
A message from kapa.ai
The error message:
Copy code
error: error from server (NotFound): pods "airbyte-abctl-server-698d96885d-cgv4x" not found in namespace "airbyte-abctl"
means that the specific pod name you are trying to get logs from does not exist in the
airbyte-abctl
namespace. This could be because: - The pod has already terminated and been removed. - The pod name is misspelled or outdated (pod names change with each new deployment or restart). - The deployment has not created the pod yet, or it failed to start. What to do next: 1. List all pods in the namespace to get the current names:
Copy code
sh    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl get pods
This will show you the current pods and their exact names. 2. Use the correct pod name from the list to fetch logs:
Copy code
sh    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl logs <actual-pod-name>
This approach is recommended in the Airbyte documentation for troubleshooting deployments and viewing logs [Developing Locally with abctl](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/developing-locally#prerequisites). If you do not see the expected pods (like
airbyte-abctl-server
or
airbyte-abctl-workload-launcher
) in the list, it may indicate a deployment or scheduling issue, and you should check the status and events for your deployments and pods. The knowledge sources do not provide more specific troubleshooting steps for this exact error, but following the above will help you identify the current state of your Airbyte pods.
u
@kapa.ai devops@coelprodcdc02:~$ kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl get pods NAME READY STATUS RESTARTS AGE airbyte-abctl-bootloader 0/1 Completed 0 41m airbyte-abctl-connector-builder-server-59fbc584b7-qgnt2 1/1 Running 0 40m airbyte-abctl-cron-859cc94c9-d8nfp 1/1 Running 0 40m airbyte-abctl-server-698d96885d-pcnz9 1/1 Running 0 5m12s airbyte-abctl-temporal-74ccb58cd6-rnbg5 1/1 Running 0 40m airbyte-abctl-worker-686b7967c8-rvmw5 1/1 Running 0 40m airbyte-abctl-workload-api-server-85fc9469d-tvctc 1/1 Running 0 5m39s airbyte-abctl-workload-launcher-84d5cbc949-56d2s 1/1 Running 0 5m28s airbyte-db-0 1/1 Running 0 41m devops@coelprodcdc02:~$ kubectl -n airbyte-abctl get deployments NAME READY UP-TO-DATE AVAILABLE AGE airbyte-abctl-connector-builder-server 1/1 1 1 41m airbyte-abctl-cron 1/1 1 1 41m airbyte-abctl-server 1/1 1 1 41m airbyte-abctl-temporal 1/1 1 1 41m airbyte-abctl-worker 1/1 1 1 41m airbyte-abctl-workload-api-server 1/1 1 1 41m airbyte-abctl-workload-launcher 1/1 1 1 41m
k
A message from kapa.ai
Based on your
kubectl get pods
and
kubectl get deployments
output, all your main Airbyte pods (including
airbyte-abctl-server
and
airbyte-abctl-workload-launcher
) are running and ready, which is a good sign. However, you are still experiencing HTTP 504 errors when creating a new source. What does this mean? - The core Airbyte services are up and running, so the 504 error is likely not due to a pod crash or missing deployment. - The issue is likely related to network timeouts, ingress/proxy configuration, or internal service communication. What should you do next? 1. Check Ingress/Proxy Timeout Settings The knowledge sources highlight that 504 errors often occur when the ingress proxy times out before Airbyte can complete a long-running operation (like source creation or schema discovery). You should increase the proxy timeout in your ingress resource. For nginx, add or update the following annotation:
Copy code
yaml    nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
Edit your ingress with:
Copy code
sh    kubectl -n airbyte-abctl edit ingresses.networking.k8s.io ingress-abctl
This step is specifically recommended to address 504 errors during source/destination creation [timeout funnel is inverted causing obscure 504 errors at the ingress proxy](https://github.com/airbytehq/airbyte/issues/45156). 2. Try Creating the Source Again After updating the ingress timeout, try to create the source again in the Airbyte UI. 3. Check Pod Logs for More Details If the error persists, check the logs of the
airbyte-abctl-server
and
airbyte-abctl-workload-launcher
pods for any errors during the source creation process:
Copy code
sh    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl logs airbyte-abctl-server-698d96885d-pcnz9    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl logs airbyte-abctl-workload-launcher-84d5cbc949-56d2s
This can help identify if there are internal errors or timeouts not visible in the UI. 4. Resource Constraints Ensure your kind cluster and host machine have enough resources (CPU, memory), as resource exhaustion can also cause timeouts. Summary: Your Airbyte services are running, so focus on increasing the ingress timeout and checking logs for more details. This approach is directly supported by the knowledge sources and is the recommended next step for resolving HTTP 504 errors in this scenario.
u
@kapa.ai when I describe airbyte server pod, it looks like in event part. Events: Type Reason Age From Message Normal Scheduled 6m31s default-scheduler Successfully assigned airbyte-abctl/airbyte-abctl-server-698d96885d-pcnz9 to airbyte-abctl-control-plane Normal Pulled 6m30s kubelet Container image "airbyte/server:1.8.1" already present on machine Normal Created 6m30s kubelet Created container: airbyte-server-container Normal Started 6m30s kubelet Started container airbyte-server-container Warning Unhealthy 6m18s kubelet Readiness probe failed: Get "http://10.244.0.21:8001/api/v1/health": dial tcp 10.244.0.21:8001: connect: connection refused
k
A message from kapa.ai
The event message:
Copy code
Warning Unhealthy ... Readiness probe failed: Get "http://10.244.0.21:8001/api/v1/health": dial tcp 10.244.0.21:8001: connect: connection refused
means that the Airbyte server pod failed its readiness probe because the health endpoint was not reachable at the expected address and port. This is a common issue and is referenced in multiple knowledge sources. What this means: - The Airbyte server container started, but the application inside was not yet ready to accept connections on port 8001 when the readiness probe ran. - This can happen if the application is still starting up, is stuck, or has failed to initialize properly. Relevant details from the knowledge sources: - Similar readiness probe failures are reported during Airbyte installation and startup, often resulting in errors like "Readiness probe failed: HTTP probe failed with statuscode: 503" or "connect: connection refused" ([Unable to install airbyte 1.0](https://github.com/airbytehq/airbyte/issues/46290), [Failed to deployment with QuickStart](https://github.com/airbytehq/airbyte/issues/50430)). - These issues can be transient (the pod may become ready after a short delay), but if persistent, they indicate the Airbyte server is not starting correctly or is unable to bind to the expected port. What you should do next: 1. Check the logs of the Airbyte server pod for errors:
Copy code
sh    kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl logs airbyte-abctl-server-698d96885d-pcnz9
Look for stack traces, port binding errors, or database connection issues. 2. Ensure the pod has enough resources (CPU, memory) and that there are no issues with persistent volumes or dependencies (like the database). 3. If the error persists and the pod never becomes ready, it may indicate a deeper issue with the Airbyte server startup. In this case, reviewing the logs is essential to identify the root cause. The knowledge sources do not provide a single root cause or fix for this readiness probe failure, as it can be due to various underlying issues. Checking the pod logs is the recommended next step for further diagnosis.
u
@kapa.ai 그리고 UI에 들어가면 이 에러메시지도 보여 {"message":"Internal Server Error: not yet implemented","exceptionClassName":"java.lang.UnsupportedOperationException","exceptionStack":[],"rootCauseExceptionStack":[]}
k
A message from kapa.ai
Airbyte UI에서
"Internal Server Error: not yet implemented"
및
"java.lang.UnsupportedOperationException"
에러 메시지가 나타나는 현상은 최근 여러 사용자들이 Airbyte 1.7.x, 1.8.x 버전에서 보고한 문제입니다. 이 에러는 주로 다음과 같은 상황에서 발생합니다: - 페이지를 새로고침하거나, 직접 URL을 입력해 특정 페이지로 이동할 때 - Google 인증 등 외부 인증을 시도할 때 - Helm 차트 1.7.0, 1.8.0 버전에서 webapp 대신 server 서비스로 ingress를 연결했을 때 이 문제는 Airbyte의 ingress 설정 변경(특히 webapp 서비스가 제거되고 server 서비스로 대체된 이후)과 관련이 깊으며, 아직 완전히 해결되지 않은 것으로 보입니다. Airbyte 팀도 이 현상을 인지하고 있으며, 향후 릴리즈에서 더 명확한 에러 메시지와 가이드가 제공될 예정이라고 언급했습니다 [Refresh in UI causing error](https://github.com/airbytehq/airbyte/issues/65070), [403 forbidden error on local deployment when creating a custom connector](https://github.com/airbytehq/airbyte/issues/61677). 현재 할 수 있는 조치: - Helm 차트 1.6.x 등 이전 버전으로 다운그레이드하면 문제가 해결된다는 사용자 보고가 있습니다. - ingress 설정을 재검토하고, webapp 서비스가 필요한 경우 Helm 차트 1.6.x로 설치하는 것이 임시 해결책이 될 수 있습니다. - abctl을 최신 버전(예: 0.28 이상)으로 업그레이드 후 재설치하면 일부 환경에서 정상 동작했다는 사례도 있습니다. 정리: 이 에러는 Airbyte의 최근 Helm 차트 및 ingress 구조 변경과 관련된 알려진 이슈입니다. 다운그레이드 또는 ingress 설정 변경이 임시 해결책이 될 수 있으며, 근본적인 패치는 향후 릴리즈를 기다려야 할 수 있습니다. 자세한 내용과 유사 사례는 [이 이슈](https://github.com/airbytehq/airbyte/issues/65070)에서 확인하실 수 있습니다.
u
@kapa.ai 근데 나는 abctl 를 이용해서 airbyte를 업로드했어
k
A message from kapa.ai
Sorry @문주은, I'm currently experiencing some technical difficulties. Please try again in a few minutes. If this issue persists, please reach out to the administrators of this Slack workspace.