After upgrading to 1.4.0 I'm getting this error: `...
# ask-ai
d
After upgrading to 1.4.0 I'm getting this error:
2025-02-07 13:41:40 platform INFO Retry State: RetryManager(completeFailureBackoffPolicy=BackoffPolicy(minInterval=PT10S, maxInterval=PT30M, base=3), partialFailureBackoffPolicy=null, successiveCompleteFailureLimit=5, successivePartialFailureLimit=1000, totalCompleteFailureLimit=10, totalPartialFailureLimit=20, successiveCompleteFailures=1, successivePartialFailures=0, totalCompleteFailures=1, totalPartialFailures=0)
Backoff before next attempt: 10 seconds
The sync is currently stalled on attempt two
k
Based on the information provided in the knowledge sources, the error message you're seeing is related to Airbyte's retry mechanism for sync jobs. This message indicates that the sync job has encountered a failure and is attempting to retry. Let me break down the key points: 1. The error message shows the current state of the RetryManager, which is responsible for handling retries when sync jobs fail. 2. The retry configuration includes: - A backoff policy with a minimum interval of 10 seconds and a maximum of 30 minutes - Limits on the number of successive and total failures allowed 3. In your case, it shows: - 1 successive complete failure - 1 total complete failure - The system is backing off for 10 seconds before the next attempt This behavior is consistent with Airbyte's default retry mechanism, as described in the [Airbyte documentation on Sync Jobs](https://docs.airbyte.com/understanding-airbyte/jobs#sync-jobs). According to the documentation: "After an attempt where no data was synchronized, we implement a short backoff period before starting a new attempt. This will increase with each successive complete failure—a partially successful attempt will reset this value." The default configuration allows for: - 5 subsequent attempts where no data was synchronized - 10 total attempts where no data was synchronized - 20 total attempts where some data was synchronized Your sync job is currently on its second attempt, which is within the normal retry limits. The system is following the designed behavior by implementing a short backoff period (10 seconds in this case) before the next attempt. If the issue persists and the job continues to fail, you may want to: 1. Check the logs for more detailed error messages to understand why the sync is failing. 2. Verify your source and destination configurations. 3. Ensure that there are no connectivity issues between Airbyte and your source/destination. If you continue to experience problems, you may need to reach out to Airbyte support or consult the Airbyte community forums for more specific assistance related to your particular setup and the nature of the failure.
d
@kapa.ai the sync has been on the second try for two hours now and is stalled
k
A message from kapa.ai
Based on the information you've provided and the knowledge sources available, it appears that your sync job is experiencing an issue beyond the normal retry behavior. While Airbyte does have a retry mechanism in place, a sync being stalled for two hours on the second attempt is not expected behavior. Let me provide some insights and suggestions: 1. Stalled Sync: The situation you're describing is similar to an issue reported in the [Airbyte GitHub repository](https://github.com/airbytehq/airbyte/issues/11827), where sync jobs were getting stuck without any errors. This was considered a critical issue. 2. Expected Behavior: As mentioned in the GitHub issue, the expected behavior is that "The job should fail and then retry sync data. There should be something like TimeOut." 3. Possible Causes: While the exact cause isn't clear from the available information, it could be due to various factors such as network issues, API rate limiting, or problems with the source or destination systems. 4. Troubleshooting Steps: - Cancel the current sync job manually. - Check the logs for any additional error messages or warnings that might provide more context. - Verify the configurations of your source and destination connectors. - Ensure there are no network issues or firewall restrictions preventing communication. 5. Workaround: As a temporary workaround, you may need to manually cancel the stuck job and initiate a new sync, as mentioned in the GitHub issue. 6. Reporting the Issue: If this problem persists, it would be beneficial to report it to the Airbyte team. You can do this by opening a new issue on the [Airbyte GitHub repository](https://github.com/airbytehq/airbyte/issues), providing detailed information about your setup, the connectors you're using, and any relevant logs. 7. Version Check: Ensure you're using the latest version of Airbyte and the relevant connectors, as there may have been fixes for similar issues in recent releases. It's important to note that while Airbyte has mechanisms in place to handle retries and failures, a sync being stalled for such a long period is not normal and indicates a more significant problem that needs investigation.