Matheus Dantas
08/26/2025, 5:27 AM2025-08-26 05:03:58,272 [main] ERROR i.a.a.c.a.AccessTokenInterceptor(intercept):120 - Failed to obtain or add access token
java.net.UnknownHostException: airbyte-airbyte-server-svc: Name or service not known
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52)
at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211)
at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828)
at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139)
at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818)
at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1688)
at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:169)
at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:131)
at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:73)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
at io.airbyte.api.client.auth.AccessTokenInterceptor.fetchNewToken(AccessTokenInterceptor.kt:96)
at io.airbyte.api.client.auth.AccessTokenInterceptor.getCachedToken(AccessTokenInterceptor.kt:70)
at io.airbyte.api.client.auth.AccessTokenInterceptor.intercept(AccessTokenInterceptor.kt:116)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
at retrofit2.OkHttpCall.execute(OkHttpCall.java:207)
at dev.failsafe.retrofit.FailsafeCall.lambda$execute$0(FailsafeCall.java:118)
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.CallImpl.execute(CallImpl.java:33)
at dev.failsafe.retrofit.FailsafeCall.execute(FailsafeCall.java:122)
at io.airbyte.workload.api.client.WorkloadApiClient.workloadGet(WorkloadApiClient.kt:256)
at io.airbyte.initContainer.InputFetcher.fetch(InputFetcher.kt:35)
at io.airbyte.initContainer.ApplicationKt.main(Application.kt:32)
at io.airbyte.initContainer.ApplicationKt.main(Application.kt)
2025-08-26 05:03:58,316 [main] ERROR i.a.i.InputFetcher(failWorkloadAndExit):62 - Init container error encountered while fetching workload for id: 35986310-239d-4ded-885c-695533f02ea6_1756166400000_discover. Attempting to fail workload...
io.airbyte.api.client.ApiException: Unauthorized
at io.airbyte.workload.api.client.WorkloadApiClient.workloadGet(WorkloadApiClient.kt:265)
at io.airbyte.initContainer.InputFetcher.fetch(InputFetcher.kt:35)
at io.airbyte.initContainer.ApplicationKt.main(Application.kt:32)
at io.airbyte.initContainer.ApplicationKt.main(Application.kt)
2025-08-26 05:03:58,345 [main] ERROR i.a.a.c.a.AccessTokenInterceptor(intercept):120 - Failed to obtain or add access token
java.net.UnknownHostException: airbyte-airbyte-server-svc
at java.base/java.net.InetAddress$CachedLookup.get(InetAddress.java:988)
at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818)
at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1688)
at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:169)
at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:131)
at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:73)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
at io.airbyte.api.client.auth.AccessTokenInterceptor.fetchNewToken(AccessTokenInterceptor.kt:96)
at io.airbyte.api.client.auth.AccessTokenInterceptor.getCachedToken(AccessTokenInterceptor.kt:70)
at io.airbyte.api.client.auth.AccessTokenInterceptor.intercept(AccessTokenInterceptor.kt:116)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
at retrofit2.OkHttpCall.execute(OkHttpCall.java:207)
at dev.failsafe.retrofit.FailsafeCall.lambda$execute$0(FailsafeCall.java:118)
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.CallImpl.execute(CallImpl.java:33)
at dev.failsafe.retrofit.FailsafeCall.execute(FailsafeCall.java:122)
at io.airbyte.workload.api.client.WorkloadApiClient.unit(WorkloadApiClient.kt:400)
at io.airbyte.workload.api.client.WorkloadApiClient.workloadFailure(WorkloadApiClient.kt:52)
at io.airbyte.initContainer.InputFetcher.failWorkloadAndExit(InputFetcher.kt:67)
at io.airbyte.initContainer.InputFetcher.fetch(InputFetcher.kt:38)
at io.airbyte.initContainer.ApplicationKt.main(Application.kt:32)
at io.airbyte.initContainer.ApplicationKt.main(Application.kt)
2025-08-26 05:03:58,350 [main] ERROR i.a.i.InputFetcher(failWorkloadAndExit):75 - Error encountered failing workload for id: 35986310-239d-4ded-885c-695533f02ea6_1756166400000_discover. Ignoring...
io.airbyte.api.client.ApiException: Unauthorized
at io.airbyte.workload.api.client.WorkloadApiClient.unit(WorkloadApiClient.kt:405)
at io.airbyte.workload.api.client.WorkloadApiClient.workloadFailure(WorkloadApiClient.kt:52)
at io.airbyte.initContainer.InputFetcher.failWorkloadAndExit(InputFetcher.kt:67)
at io.airbyte.initContainer.InputFetcher.fetch(InputFetcher.kt:38)
at io.airbyte.initContainer.ApplicationKt.main(Application.kt:32)
at io.airbyte.initContainer.ApplicationKt.main(Application.kt)kapa.ai
08/26/2025, 5:28 AMjava.net.UnknownHostException: airbyte-airbyte-server-svc: Name or service not known, indicates that the pod is unable to resolve the DNS name for the Airbyte server service. This is a common networking or DNS resolution issue in Kubernetes-based Airbyte deployments. Possible causes and troubleshooting steps: 1. Service Name/Namespace Issues: Ensure that the service name airbyte-airbyte-server-svc is correct and exists in the same namespace as your pods, or that you are using the fully qualified domain name (FQDN) if accessing across namespaces. 2. Kubernetes DNS Issues: DNS resolution problems can occur if the cluster DNS is misconfigured or not running. You can check DNS resolution inside a pod using tools like nslookup or `dig`: kubectl exec -it <pod-name> -- nslookup airbyte-airbyte-server-svc If this fails, investigate your cluster's DNS setup. 3. Pod Network Configuration: If you are using a custom CNI or network policies, ensure that DNS traffic is allowed and pods can communicate with the Kubernetes DNS service. 4. Service Not Created or Pending: Verify that the airbyte-airbyte-server-svc service is up and running: kubectl get svc If the service is missing or not ready, pods won't be able to resolve it. 5. Helm/Values.yaml Misconfiguration: If you are using Helm, double-check your values.yaml for correct service names and ensure that all required services are enabled and properly configured. Misplaced or incorrectly indented configuration keys can cause services not to be created as expected. For example, in one case, postgresql and minio config keys needed to be at the top level, not nested under global or other keys, to be recognized by the chart logic. Incorrect indentation can lead to missing services and subsequent DNS errors[Pod-airbyte-bootloader-error](https://github.com/airbytehq/airbyte/discussions/45177). 6. Network Stack/Container Runtime Issues: If running Airbyte with Podman or Docker Compose, ensure your container runtime supports container name resolution. For Podman, using the correct network stack (e.g., netavark) is necessary for DNS to work between containers[DNS issue? - Unable to resolve host airbyte-temporal](https://discuss.airbyte.io/t/3899). Summary: This is a DNS/service discovery issue. Focus on verifying that the service exists, is named correctly, and that your cluster's DNS is functioning. Also, check for any misconfigurations in your deployment files or Helm values that could prevent the service from being created or registered with DNS. If after these checks the issue persists, please provide more details about your deployment method (Helm, Docker Compose, etc.), your values.yaml (if using Helm), and the output of kubectl get svc and kubectl get pods for further assistance.Matheus Dantas
08/26/2025, 5:46 AMkapa.ai
08/26/2025, 5:46 AMkapa.ai
08/26/2025, 5:47 AMUnknownHostException error—where a retrigger often resolves the issue—suggests a transient DNS resolution or networking problem in your environment. This pattern has been observed by other Airbyte users as well, especially in Kubernetes or containerized deployments. Possible causes based on Airbyte community reports: - Cluster DNS Flakiness: DNS resolution in Kubernetes can sometimes be unreliable, especially under heavy load or if the DNS service is not highly available. This can cause occasional failures to resolve service names, which are then resolved on retry as the DNS cache or service recovers. This was noted in issues where jobs failed due to DNS issues but succeeded after a restart or retry [Intermittent WorkerException](https://github.com/airbytehq/airbyte/issues/34590), [Intermittent DNS issue during S3 log push](https://github.com/airbytehq/airbyte/issues/33613), [AWS S3 SDK DNS issue](https://github.com/airbytehq/airbyte/issues/35601). - Resource Contention or Network Latency: High job concurrency or resource limits (CPU, memory, open ports) can exacerbate DNS or network issues, leading to intermittent failures that resolve when the system is less busy or after a retry [Intermittent WorkerException](https://github.com/airbytehq/airbyte/issues/34590). - Container Runtime/Network Stack: In some environments (e.g., Podman, Docker), the container network stack or DNS plugin may not always resolve service names reliably, especially right after startup or under certain network conditions. Upgrading the network stack or ensuring correct configuration can help [DNS issue? - Unable to resolve host airbyte-temporal](https://discuss.airbyte.io/t/3899). What you can do: - Monitor and Tune DNS: Ensure your cluster DNS is healthy and has enough resources. Consider increasing DNS cache or retry settings if possible. - Retry Logic: Airbyte jobs often succeed on retry, so automated retry mechanisms can help mitigate transient issues. - Resource Allocation: Review your resource allocation (CPU, memory, open ports) and scale up if you are running many jobs in parallel. - Network Configuration: If using custom CNI or container runtimes, ensure DNS and service discovery are configured correctly. Summary: Intermittent DNS resolution errors are a known issue in distributed/containerized Airbyte deployments and are often resolved by retrying the job. If the problem becomes more frequent, it may indicate underlying DNS or network instability that should be investigated further. If you need more targeted help, providing details about your cluster DNS setup and resource usage may help the community or support team diagnose the root cause. If you need more specific troubleshooting steps, let me know your deployment method and environment details!Matheus Dantas
08/26/2025, 5:48 AMkapa.ai
08/26/2025, 5:48 AMkapa.ai
08/26/2025, 5:49 AMRETRY or FAIL actions for certain error codes or messages) [Error Handling in Config-based Connectors](https://docs.airbyte.com/platform/1.7/connector-development/config-based/understanding-the-yaml-file/error-handling). - If the error is not being caught by the error handler, you may need to update the connector logic to propagate such errors as failures. Summary: Airbyte only retries jobs that end in failure. If a job ends with "success," no retry will be triggered, even if there were transient errors during execution. To ensure retries for specific errors, configure your connector’s error handling to treat those errors as failures or retriable events, so Airbyte’s job controller can respond appropriately. If you need help configuring error handling for your specific connector, please provide more details about the connector type and error scenario.