<@U04S8PLJWMT> I have a connection which has been ...
# ask-ai
w
@kapa.ai I have a connection which has been running for over an hour and doesnt seem to progress at all, it is the first sync and the destination does not even have an tables created yet.
k
Based on the information in the knowledge sources, long-running or stalled syncs—especially on the first run when no tables exist yet in the destination—are a known issue with Airbyte, particularly with the BigQuery destination. Several users have reported that after the source completes, the sync hangs indefinitely with no further progress or logs from the destination side. In some cases, the sync remains in a running state for many hours before eventually failing with a timeout or "deadline exceeded" error. This can happen even when the source data extraction is successful and the destination tables have not yet been created. There are a few possible causes and troubleshooting steps mentioned in the sources: - The sync process may hang during the table creation or schema migration phase in the destination, especially if using modes like "Deduped + history" or with large data volumes. There may be no logs or visible progress in the UI or Docker containers during this time, making it difficult to diagnose the root cause. - In some cases, the BigQuery destination logs show repeated attempts to write to a staging table and then waiting for a BigQuery job to finish, but the job remains in a "RUNNING" state indefinitely, with no errors reported. This suggests the process is stuck either in the BigQuery job execution or in Airbyte's orchestration of that job. - There are no explicit solutions or workarounds provided in the knowledge sources, but users are encouraged to check the full sync logs for any clues and to consider the data volume and sync mode being used. For very large initial syncs, the "Deduped + history" mode may not be optimal. If you are experiencing this issue, you may want to: - Review the full sync logs for any errors or repeated patterns (such as waiting for a BigQuery job to finish). - Try running the sync with a smaller dataset or a different sync mode to see if the issue persists. - Ensure that your Airbyte deployment and connectors are up to date, as some issues may have been fixed in newer versions. - If the problem continues, consider opening a GitHub issue with the full logs for further investigation by the Airbyte team, as suggested in the sources. Unfortunately, the knowledge sources do not provide a definitive fix for this issue, but they do confirm that it is a known problem that can occur under certain conditions, particularly with the BigQuery destination and large or first-time syncs [Destination Bigquery sync process never starts](https://discuss.airbyte.io/t/298) [Github Issue: Sync hangs forever](https://github.com/airbytehq/airbyte/issues/58082).
w
@kapa.ai My logs are showing these warning 2025-08-03 165657 replication-orchestrator WARN Could not find the state message with id 10 in the stagedStatsList
k
A message from kapa.ai
The warning message:
Copy code
replication-orchestrator WARN Could not find the state message with id 10 in the stagedStatsList
indicates that during the sync process, Airbyte's replication orchestrator is unable to match a state message (with the given ID) to an expected entry in its internal tracking list (
stagedStatsList
). This type of warning is seen in several sync logs and is related to Airbyte's internal state tracking and metrics computation. According to the knowledge sources, similar warnings (such as "Could not find the state message with hash ... in the stagedStatsList" or "Unexpected state from destination for stream ... not found in the stored stateHashes") are typically related to Airbyte's bookkeeping and do not necessarily indicate a problem with the actual sync data. Instead, they impact the reliability of sync metadata and metrics, such as committed record counts, but not the data transfer itself [Github Issue: Initial sync hang](https://github.com/airbytehq/airbyte/issues/31536) [Github Issue: Full Refresh - Overwrite sync resulted in empty destination](https://github.com/airbytehq/airbyte/issues/44497). Unless you are seeing actual data loss, sync failures, or other errors, these warnings can generally be considered informational. However, if your sync is also hanging or not progressing, it may be a symptom of a deeper issue with state management or the sync process itself. If you continue to experience sync hangs or data issues alongside these warnings, it is recommended to: - Check for other errors in the logs. - Ensure you are running a recent version of Airbyte. - If the problem persists, consider opening a GitHub issue with your logs for further investigation. If you need more specific troubleshooting, please provide additional context or log excerpts.