<@U04S8PLJWMT> - I am deploying Airbyte Core editi...
# ask-ai
s
@kapa.ai - I am deploying Airbyte Core edition on a self managed cluster and server is not able to connect to temporal instance. What could be the issue here ?
k
Based on the knowledge sources, there are several common reasons why the Airbyte server cannot connect to the Temporal instance: ## Common Connection Issues 1. DNS/Network Resolution Problems The most frequent issue is that services cannot resolve each other's hostnames. This manifests as errors like: -
Unable to resolve host airbyte-temporal
-
java.net.UnknownHostException: airbyte-temporal
-
Connection refused
errors As noted in [DNS issue? - Unable to resolve host airbyte-temporal](https://discuss.airbyte.io/t/3899), this can occur when containers cannot properly communicate with each other on the network. 2. Temporal Service Not Ready The Temporal service may not be fully started when other services try to connect. The logs typically show: -
Waiting for temporal server...
-
DEADLINE_EXCEEDED
exceptions -
Connection refused
errors As discussed in [Airbyte-Server connection with Airbyte-Temporal seems to fail](https://discuss.airbyte.io/t/3467), the server waits for Temporal to initialize but times out if it's not ready. 3. Database Configuration Issues Temporal requires specific databases to exist. According to ["Unable to create SQL database." when trying to connect to an external database](https://discuss.airbyte.io/t/1544), you need to manually create: -
temporal
database -
temporal_visibility
database If using an external database, ensure the user has proper permissions. 4. Dual Stack Network Issues For GKE clusters with dual stack networking, there can be IPv4/IPv6 binding mismatches. As mentioned in [Temporal Pod Does Not Bind to Correct Address with dual stack GKE cluster](https://github.com/airbytehq/airbyte/issues/50948), you may need to add:
Copy code
yaml temporal:   extraEnv:     - name: BIND_ON_IP       valueFrom:         fieldRef:           fieldPath: status.podIP
## Troubleshooting Steps 1. Verify all pods are running:
kubectl get pods
2. Check Temporal pod logs for startup errors 3. Ensure database connectivity from Temporal pod 4. Verify network policies allow pod-to-pod communication 5. Check that required databases exist if using external database