Nimrod Oren
07/15/2025, 1:21 PM2025-07-15 13:16:42,915 [io-executor-thread-3] ERROR i.a.s.a.ApiHelper(execute):47 - Unexpected Exception │
│ io.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: 13086 and attempt n │
│ at io.airbyte.commons.server.handlers.AttemptHandler.getAttemptCombinedStats(AttemptHandler.java:249) │
│ at io.airbyte.server.apis.controllers.AttemptApiController.getAttemptCombinedStats$lambda$2(AttemptApiController.kt │
│ at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.kt:32) │
│ at io.airbyte.server.apis.controllers.AttemptApiController.getAttemptCombinedStats(AttemptApiController.kt:65) │
│ at io.airbyte.server.apis.controllers.$AttemptApiController$Definition$Exec.dispatch(Unknown Source) │
│ at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecuta │
│ at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:44 │
│ at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:272) │
│ at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:38) │
│ at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:493) │
│ at io.micronaut.http.server.RouteExecutor.lambda$callRoute$5(RouteExecutor.java:470) │
│ at io.micronaut.core.execution.ExecutionFlow.lambda$async$0(ExecutionFlow.java:92) │
│ at io.micrometer.core.instrument.noop.NoopTimer.record(NoopTimer.java:71) │
│ at io.micrometer.core.instrument.Timer.lambda$wrap$2(Timer.java:199) │
│ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) │
│ at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) │
│ at java.base/java.lang.Thread.run(Thread.java:1583)kapa.ai
07/15/2025, 1:21 PMio.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: 13086 and attempt no: ... indicates that Airbyte is unable to find the attempt statistics for a specific job and attempt number. This is a known issue that has been reported by several users, especially when using external storage backends like GCS or S3 for logs and state. Possible Causes and Context: - This error often appears in Airbyte deployments using GCS or S3 for state/log storage, and is not necessarily related to authentication or connection issues with the storage provider. Instead, it suggests that the expected stats file/object for the job attempt is missing or was never written. - The issue has been observed across multiple Airbyte versions, including 1.1.x and 1.6.x, and is not limited to a specific cloud provider (both GCS and S3 users have reported it). - There is no confirmed workaround or fix in the knowledge sources, but the Airbyte platform team is aware and has been notified about the problem. Some users have reported the issue persists even after checking environment variables like CONTAINER_ORCHESTRATOR_SECRET_NAME and ensuring correct configuration of storage credentials and buckets. References: - [Github Issue: Using GCS Results in could not find attempt stats for job_id](https://github.com/airbytehq/airbyte/issues/48503) - [Forum Post: JobHistoryHandler - "Missing stats for job" warning](https://discuss.airbyte.io/t/4016) What you can do: - Double-check your storage configuration and environment variables, especially if you recently migrated from one storage backend to another (e.g., from MinIO to GCS). - Ensure that all Airbyte pods (server, worker, workload launcher) have access to the correct credentials and bucket names. - If you are using Helm, verify that all relevant values (such as storageSecretName, bucket names, and credentials paths) are correctly templated and available to all components. - If the issue persists, consider following or commenting on the linked GitHub issue to stay updated on any progress or workarounds from the Airbyte team. Unfortunately, the knowledge sources do not provide a definitive solution at this time, but they confirm this is a known and recurring issue in the community.Nimrod Oren
07/15/2025, 1:26 PMkapa.ai
07/15/2025, 1:26 PMkapa.ai
07/15/2025, 1:26 PMio.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: ... and attempt no: ... is a known issue in Airbyte, especially when using external storage backends like AWS S3 or GCS for logs and state. Multiple users have reported this problem, and it appears to be related to Airbyte not finding the expected stats file/object for a job attempt, rather than an authentication or connection issue with S3 itself. The error has been seen across several Airbyte versions, including recent ones, and persists even when environment variables and storage configurations appear correct. Key points from the knowledge sources: - The issue is not unique to GCS; users on S3 have also reported it, especially after migrating storage backends or changing related environment variables. - There is no confirmed workaround or fix documented in the knowledge sources. The Airbyte platform team is aware of the problem, and it is under investigation. - Double-checking your S3 configuration, IAM policies, and ensuring all Airbyte components have the correct credentials and access is recommended, but may not resolve the issue if it is related to Airbyte's internal handling of stats files or job metadata. - The error does not necessarily impact the actual sync operation, but it does pollute logs and may affect job monitoring or UI reporting. References: - [Github Issue: Using GCS Results in could not find attempt stats for job_id](https://github.com/airbytehq/airbyte/issues/48503) - [Forum Post: JobHistoryHandler - "Missing stats for job" warning](https://discuss.airbyte.io/t/4016) Summary: If you are on AWS and seeing this error, you are not alone—it's a known issue affecting both S3 and GCS users. There is no documented fix or workaround in the knowledge sources at this time. Monitoring the linked GitHub issue for updates from the Airbyte team is recommended. If your syncs are otherwise working, this error may be limited to job stats reporting. If you experience functional issues, double-check your S3 IAM policies as described in the [Airbyte AWS policies documentation](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#aws-policies-appendix), but be aware this may not resolve the stats error itself.Nimrod Oren
07/15/2025, 1:27 PMkapa.ai
07/15/2025, 1:27 PMkapa.ai
07/15/2025, 1:27 PMio.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: ... and attempt no: ... has been reported by multiple users, especially when using S3 or GCS for state/log storage. In some cases, users have reported that this error only pollutes the logs but does not cause sync failures. However, there are also reports—like yours—where syncs do fail when this error appears. Unfortunately, the knowledge sources do not provide a root cause or a confirmed solution for cases where syncs actually fail. The Airbyte team has acknowledged the issue and is investigating, but no workaround or fix is documented yet. The error seems to be related to Airbyte not being able to find or write the attempt stats for a job, which could be due to storage misconfiguration, permission issues, or an internal Airbyte bug. Users have checked environment variables and S3 configuration, but the problem has persisted even when those settings appeared correct. This suggests the issue may be deeper within Airbyte's handling of job stats and storage integration, rather than a simple misconfiguration on the user side [Github Issue: Using GCS Results in could not find attempt stats for job_id](https://github.com/airbytehq/airbyte/issues/48503). Summary: - This is a known and recurring issue. - The knowledge sources do not provide a solution or workaround for cases where syncs fail. - The Airbyte team is aware and investigating, but there is no documented fix at this time. If your syncs are failing, you may want to follow or comment on the linked GitHub issue to provide more details and stay updated on progress. If you have recently changed your storage backend or environment variables, double-check those settings, but be aware that this may not resolve the issue if it is due to an internal Airbyte bug. I'm sorry I can't provide a more concrete solution based on the current knowledge sources.Nimrod Oren
07/15/2025, 1:36 PMkapa.ai
07/15/2025, 1:36 PMkapa.ai
07/15/2025, 1:37 PMFailed to find output files from connector within timeout of 9 minute(s). Is the connector still running? Failing workload ... Deliberately exiting process with code 2. This is typically logged by the ConnectorWatcher component in Airbyte and is considered a platform-level failure when the output files are not found in time or are missing entirely. This can be due to storage connectivity issues, misconfigured storage credentials, or internal Airbyte bugs related to how outputs are written and read from storage backends like S3 or GCS [source-zendesk-support] Failed to find output files from connector within timeout of 9 minute(s). Is the connector still running? Failure origin: airbyte_platform](https://github.com/airbytehq/airbyte/issues/54684). Summary: - The error means Airbyte could not read the expected output files from the workload, likely due to storage issues or missing files. - This can cause connection or sync failures. - The knowledge sources do not provide a definitive fix, but recommend checking your storage backend configuration, network connectivity, and permissions. - This is a known issue and has been reported to the Airbyte team. If the problem persists after verifying your storage setup, you may want to follow or comment on the related GitHub issues to stay updated on any progress or fixes from the Airbyte team.