<@U04S8PLJWMT> My sync dont start
# ask-ai
k
@kapa.ai My sync dont start
k
If your sync does not start in Airbyte, there are several possible causes and troubleshooting steps you can take, depending on your deployment and the symptoms you observe: 1. Check Sync Status and Errors in the UI Go to the Status page for your connection. If the sync failed or is not starting, you should see an error message that can help diagnose the issue. Airbyte may automatically disable a connection after multiple consecutive failures or days of failure. Look for configuration errors (shown in red) or system errors (shown in yellow). Configuration errors require you to re-test and save the source or destination before retrying. System errors are often transient and may resolve themselves, but reviewing the error details is helpful. Also, check if your sync is being rate-limited, as Airbyte will pause syncs until the rate limit is lifted [Connection troubleshooting](https://docs.airbyte.com/platform/1.8/cloud/managing-airbyte-cloud/review-connection-status#connection-troubleshooting). 2. Job State and Queued Syncs If your sync is stuck in a "Queued" or "Starting" state and never progresses, this could indicate a problem with the Airbyte job orchestration system. This can happen if there are too many concurrent jobs, resource exhaustion, or issues with the underlying job runner (such as Temporal or Kubernetes). In some cases, restarting Airbyte services or the job orchestrator may help, but persistent issues may require deeper investigation into logs and system health [Github Issue: All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812). 3. Temporal or Infrastructure Issues (Self-Hosted) If you are self-hosting Airbyte (e.g., with Docker or Kubernetes) and no jobs can be run, check the health of the Temporal service and other core containers. High CPU usage or errors like "service rate limit exceeded" in Temporal logs, or 502 errors in the UI, indicate infrastructure issues. Restarting the affected containers or the entire Airbyte stack may be necessary. If the Temporal service is stuck, no syncs or connection checks will be triggered [Github Issue: Self-hosted Airbyte in Docker stuck and will not trigger sync](https://github.com/airbytehq/airbyte/issues/44833). 4. Sync Scheduling and Overlapping Jobs Only one sync per connection can run at a time. If a sync is scheduled to run before the previous one finishes, the new sync will wait until the previous one completes. In Airbyte Cloud, syncs can run at most every 60 minutes. If you try to schedule more frequent syncs, they will not start [Sync schedules](https://docs.airbyte.com/platform/1.8/using-airbyte/core-concepts/sync-schedules). Next Steps: - Review the error messages and sync status in the Airbyte UI. - Check for any configuration or system errors. - Ensure your infrastructure (Temporal, Docker, Kubernetes) is healthy if self-hosted. - Make sure no other sync is currently running for the same connection. - If the issue persists and you see no clear error, consult the Airbyte logs for more details or consider restarting the Airbyte services. If you provide more details about your deployment type and any error messages you see, I can help you further narrow down the cause.
k
@kapa.ai how to check airbyte logs
k
A message from kapa.ai
To check Airbyte logs, you have several options depending on your deployment and what you want to investigate: ### 1. Viewing Logs in the Airbyte UI - Go to your connection's Job History tab. - Click the three grey dots next to a sync and select View logs. This opens the in-app log viewer. - You can search for terms like
Error
,
Exception
, or
Fail
to troubleshoot issues. - To download logs, use the Download logs option from the same menu. If a sync had multiple attempts, downloading will union all logs for that job [Browsing logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs). ### 2. Accessing Local Logs (Open Source) If you are running Airbyte Open Source (e.g., via Docker), you can access logs directly from the Docker volumes: - Find the Attempt ID in the UI. The log files are stored in directories like
/tmp/workspace/<job_id>/<attempt_number>/
. - You can browse these logs by running a shell in the Docker volume. For example:
Copy code
sh   docker run -it --rm --volume airbyte_workspace:/data busybox   ls /data/<job_id>/<attempt_number>/
- Or, run a command directly:
Copy code
sh   docker run -it --rm --volume airbyte_workspace:/data busybox cat /data/<job_id>/<attempt_number>/logs.log
- You can also copy files out of the container:
Copy code
sh   docker cp airbyte-server:/tmp/workspace/<job_id>/<attempt_number>/logs.log .   cat logs.log
Replace
<job_id>
and
<attempt_number>
with the actual values from your sync attempt [Exploring Local Logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#exploring-local-logs). ### 3. Cloud Deployments For Airbyte Cloud, you can only access logs via the UI as described above. --- If you need more detailed steps for your specific deployment, let me know!
k
@kapa.ai Im using on prem airbyte in EC2
k
A message from kapa.ai
If you are running Airbyte on-premises (for example, on EC2) using the Open Source version, you can check logs in two main ways: ### 1. Via the Airbyte UI - Go to your connection's Job History tab. - Click the three grey dots next to a sync and select View logs to open the in-app log viewer. - You can also Download logs from the same menu. This will give you all logs for that job, including multiple attempts if applicable. - Use the search feature in the log viewer to look for keywords like
Error
,
Exception
, or
Fail
to help with troubleshooting ([Browsing logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs)). ### 2. Directly from the Host (Docker Volumes) If you need more detailed logs or want to access files directly: - Log files are stored in Docker volumes, typically under
/tmp/workspace/<job_id>/<attempt_number>/
. - You can browse these logs by running a shell in the Docker volume. For example:
Copy code
sh   docker run -it --rm --volume airbyte_workspace:/data busybox   ls /data/<job_id>/<attempt_number>/
- To read a log file directly:
Copy code
sh   docker run -it --rm --volume airbyte_workspace:/data busybox cat /data/<job_id>/<attempt_number>/logs.log
- Or, copy the log file to your host:
Copy code
sh   docker cp airbyte-server:/tmp/workspace/<job_id>/<attempt_number>/logs.log .   cat logs.log
Replace
<job_id>
and
<attempt_number>
with the actual values from your sync attempt, which you can find in the Airbyte UI ([Exploring Local Logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#exploring-local-logs)). --- These methods should help you access and review Airbyte logs on your EC2-hosted, on-premises deployment.
k
@kapa.ai Have no logs, the sync keep ruunning but anything happens
k
A message from kapa.ai
If your Airbyte sync keeps running but nothing happens and there are no logs, this is a scenario that has been reported by several users. Here are some key points and troubleshooting steps based on the knowledge sources: 1. Common Symptoms - Syncs get stuck in the "Running" state for hours with no progress or log updates. - The Airbyte UI does not show new logs, or the log viewer hangs. - Cancelling the sync may not work, or the UI becomes unresponsive. - Other connections may work fine, or the issue may affect multiple connections at once. 2. Possible Causes - Resource exhaustion or infrastructure issues: For example, if the MinIO storage (used for job logs and state) is full, Airbyte jobs can hang indefinitely. This is especially common in Kubernetes or Docker deployments with default small persistent volumes. Users have reported that deleting old logs or increasing the MinIO storage resolved the issue [Github Issue: All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812). - Stuck or pending worker pods/containers: In Kubernetes, if the airbyte-worker pod is stuck in "Pending" state, syncs will not progress [Forum: Syncs getting stuck on](https://discuss.airbyte.io/t/2394). - Version or connector bugs: Some users have found that upgrading Airbyte to the latest version resolved the issue [Forum: Source halted midway, nothing in log (UI)](https://discuss.airbyte.io/t/2604). - Job orchestration issues: Problems with Temporal or the job runner can prevent jobs from starting or progressing [Github Issue: Self-hosted Airbyte in Docker stuck and will not trigger sync](https://github.com/airbytehq/airbyte/issues/44833). 3. What You Can Do - Check MinIO or log storage: If you are using MinIO, check if the storage is full. You can clear old logs from
/storage/airbyte-storage/job-logging/workspace
inside the MinIO container, or increase the persistent volume size. This has resolved the issue for several users [Github Issue: All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812). - Restart Airbyte services: Sometimes, restarting the Airbyte containers or services can clear stuck jobs. - Upgrade Airbyte: If you are not on the latest version, consider upgrading, as some bugs causing stuck syncs have been fixed in newer releases [Forum: Source halted midway, nothing in log (UI)](https://discuss.airbyte.io/t/2604). - Check system resources: Ensure your EC2 instance has enough CPU, memory, and disk space. - Review Docker/Kubernetes status: If using Docker, check that all containers are running. If using Kubernetes, check pod status (especially airbyte-worker and airbyte-server). 4. If No Logs Are Generated - This often points to a deeper infrastructure or orchestration issue (e.g., storage full, stuck worker, or a bug in the job runner). If you have already checked the above and the problem persists, you may need to clear out old job logs or increase storage, as this is a common root cause. If you need more specific guidance, please provide details about your Airbyte version, deployment method (Docker/Kubernetes), and any recent changes to your environment. --- Summary: When syncs hang with no logs, the most common cause is full log storage (MinIO), stuck worker containers, or a bug in the orchestration layer. Clearing old logs or increasing storage often resolves the issue. Upgrading Airbyte may also help if the problem is due to a bug. If you need step-by-step instructions for checking MinIO or clearing logs, let me know your deployment details.
k
@kapa.ai is not a MinIO problem
k
A message from kapa.ai
Thank you for clarifying that it is not a MinIO problem. Based on the knowledge sources, if your Airbyte sync is stuck in the "Running" state, nothing happens, and there are no logs—even after checking storage and confirming MinIO is not the issue—other possible causes and troubleshooting steps include: - Resource Exhaustion or Worker Issues: Users have reported that syncs can get stuck if the worker is not running or is stuck in a pending state. In Kubernetes deployments, for example, if the airbyte-worker pod is stuck in "Pending," syncs will not progress. Restarting the pods has resolved the issue for some users [Syncs getting stuck on](https://discuss.airbyte.io/t/2394), [Sync Stuck in Running / K8s](https://discuss.airbyte.io/t/680). - Job Orchestration or Temporal Issues: If the orchestration system (such as Temporal) is unhealthy or overloaded, jobs may not start or may hang indefinitely. Restarting Airbyte services or the orchestrator can sometimes resolve this. There are cases where all syncs hang and only cancelling each job individually or restarting the system helps [All syncs hanging for days](https://discuss.airbyte.io/t/1916). - Version-Specific Bugs: Some users have found that upgrading Airbyte to the latest version resolved issues with stuck syncs. If you are not on the latest version, consider upgrading [Sync Stuck in Running / K8s](https://discuss.airbyte.io/t/680). - No Logs Generated: If there are no logs at all, it often points to the worker not starting or being unable to claim the job. This could be due to resource limits, misconfiguration, or a bug in the job runner. In some cases, increasing memory/CPU or restarting the worker has helped [Sync Stuck in Running / K8s](https://discuss.airbyte.io/t/680). Summary of next steps: - Restart Airbyte worker and server services (or pods, if using Kubernetes). - Check that all Airbyte containers/pods are running and healthy. - Consider upgrading Airbyte to the latest version if you are not already on it. - Review resource allocation (CPU/memory) for the worker. - If the issue persists and there are still no logs, it may be a deeper orchestration or worker issue that requires further investigation. If you have already tried these steps and the problem remains, the knowledge sources do not provide a more specific solution for your scenario. If you can share more details about your deployment (Docker/Kubernetes, Airbyte version, etc.), it may help narrow down the cause.
k
@kapa.ai WARNING: [Channel<9>: (airbyte-abctl-temporal:7233)] Failed to resolve name. status=Status{code=UNAVAILABLE, description=Unable to resolve host airbyte-abctl-temporal, cause=java.lang.RuntimeException: java.net.UnknownHostException: airbyte-abctl-temporal Caused by: java.net.UnknownHostException: airbyte-abctl-temporal
k
A message from kapa.ai
The error message:
Copy code
WARNING: [Channel<9>: (airbyte-abctl-temporal:7233)] Failed to resolve name. status=Status{code=UNAVAILABLE, description=Unable to resolve host airbyte-abctl-temporal, cause=java.lang.RuntimeException: java.net.UnknownHostException: airbyte-abctl-temporal Caused by: java.net.UnknownHostException: airbyte-abctl-temporal
indicates that Airbyte is unable to resolve the DNS name for the
airbyte-abctl-temporal
service. This is a DNS resolution issue, meaning the Airbyte service cannot find the Temporal service by its hostname. Possible causes and troubleshooting steps from the knowledge sources: - Container Name Resolution Issue: This type of error often occurs when the container network is not set up to allow service discovery by name. For example, if you are using Podman instead of Docker, you may need to ensure that the correct network stack (such as netavark) is being used to enable container name resolution. One user resolved a similar issue by switching Podman to use the newer netavark network stack, which allowed containers to resolve each other's names properly [Forum: DNS issue? - Unable to resolve host airbyte-temporal](https://discuss.airbyte.io/t/3899). - Service Not Running or Misconfigured: The error can also occur if the Temporal service (
airbyte-abctl-temporal
) is not running, not started, or not correctly named in your deployment. Ensure that the Temporal container or pod is up and running and that its name matches what Airbyte expects. - Network Configuration: If you are running Airbyte in Docker Compose or Kubernetes, make sure all services are on the same network and that the service names in your configuration files match the actual service names. Actionable steps: 1. Check that the
airbyte-abctl-temporal
service/container/pod is running. 2. Verify that your container runtime/networking allows DNS resolution by service/container name. 3. If using Podman, consider switching to the netavark network stack as described in the referenced forum post. 4. Double-check your deployment configuration for typos or mismatches in service names. If you are using Podman, you can find more details and a solution in this discussion: [Forum: DNS issue? - Unable to resolve host airbyte-temporal](https://discuss.airbyte.io/t/3899). If these steps do not resolve the issue, the knowledge sources do not provide further specific troubleshooting for this error.