Slackbot
07/17/2024, 9:04 AMkapa.ai
07/17/2024, 9:04 AMAn unknown error occurred. (HTTP 504)
typically indicates a timeout issue. This can happen when fetching the schema of your data source takes longer than the server is prepared to wait. This could be due to slow internet connections or data sources with a large amount of streams. In one of the discussions, a user mentioned that they encountered this error when trying to set up a new connection between Shopify API (source) and Google Sheets (destination). They suspected that they were hitting a timeout limit and considered increasing the timeout config on the nginx template for the Airbyte proxy. However, they were unsure how to do this exactly. Unfortunately, the knowledge sources provided do not include specific instructions on how to increase the timeout config on the nginx template for the Airbyte proxy. You may want to look into the official Airbyte documentation or reach out to the Airbyte community for more specific guidance. If you're self-hosting Airbyte, it's also worth checking that your version of Airbyte and your connectors are up to date, as this can sometimes resolve issues. Sources: - [Discussion: An unknown error occurred (HTTP 504) while setting up a new connection between Shopify API (source) and Google Sheets (destination)](https://github.com/airbytehq/airbyte/discussions/40738) - [Github Issue (closed): [source-facebook-marketing] Failed to discover schema](https://github.com/airbytehq/airbyte/issues/39140)kapa.ai
07/17/2024, 10:56 AMkapa.ai
07/17/2024, 11:02 AMSuthira (Praer) Owlarn
07/17/2024, 11:12 AMFailed to fetch
. Logs include eg. Workflow task processing failure
PotentialDeadlockException: Potential deadlock detected
Caused by: io.temporal.failure.TimeoutFailure: message='activity ScheduleToClose timeout', timeoutType=TIMEOUT_TYPE_SCHEDULE_TO_CLOSE
kapa.ai
07/17/2024, 11:12 AMScheduleToClose
timeout type. This issue has been reported in the past with the Source S3 connector, where the check_connection
function failed due to a large number of files in the S3 bucket ([source](https://github.com/airbytehq/airbyte/issues/25955)). The error message io.temporal.failure.TimeoutFailure: message='activity ScheduleToClose timeout', timeoutType=TIMEOUT_TYPE_SCHEDULE_TO_CLOSE
indicates that the activity did not complete within the timeout period specified. This could be due to various reasons such as network latency, the size of the data, or the performance of the system where Airbyte is running. Unfortunately, the provided knowledge sources do not contain specific solutions to this issue. However, you might want to consider the following general suggestions: 1. Increase the system resources: If your system is under high load, it might not be able to process the tasks within the specified timeout. Increasing the system resources (CPU, memory) might help. 2. Optimize your data source: If the data source contains a large number of files or large files, consider optimizing it by reducing the number of files or their size. 3. Check network latency: If your system and the data source are located in different geographical locations, network latency might cause delays. Consider using a system closer to the data source. 4. Update to the latest version of Airbyte: If you're not already using the latest version of Airbyte, consider updating it. Some issues might have been fixed in the newer versions. If none of the above suggestions work, I recommend reaching out to the Airbyte community on [Github](https://github.com/airbytehq/airbyte) or [Discourse](https://discuss.airbyte.io/) for further assistance.Suthira (Praer) Owlarn
07/17/2024, 11:41 AMINFO i.a.w.p.ExitCodeWatcher(persistExitCode):117 - Received exit code 0 for pod ce-stripe-discover-2e56962b-2f33-45c9-9a49-52ea50ca1d80-0-uewan
there was no following INFO i.a.c.t.HeartbeatUtils(withBackgroundHeartbeat):64 - Stopping temporal heartbeating...
and INFO i.a.c.t.HeartbeatUtils(withBackgroundHeartbeat):73 - Temporal heartbeating stopped.
.. is this important?kapa.ai
07/17/2024, 11:41 AMkapa.ai
07/17/2024, 11:42 AMINFO i.a.c.t.HeartbeatUtils(withBackgroundHeartbeat):64 - Stopping temporal heartbeating...
and INFO i.a.c.t.HeartbeatUtils(withBackgroundHeartbeat):73 - Temporal heartbeating stopped.
are related to the Temporal heartbeating process in Airbyte. Temporal is a microservice orchestration platform used by Airbyte for task scheduling and execution. The heartbeating process is a mechanism to signal that a task is still running. When a task finishes, the heartbeating process is stopped, which is indicated by these log messages. If these messages are not present after a worker pod finishes its task (indicated by the Received exit code 0
log message), it could mean that the heartbeating process was not stopped properly. This could potentially lead to issues, as Temporal might still consider the task as running. However, the absence of these log messages does not necessarily indicate a problem. It could also be that the logging level was set in a way that these informational messages are not logged. If you are not experiencing any issues with your data synchronization tasks, this is likely not a cause for concern. However, if you are noticing issues with tasks not completing as expected, this could be a part of the problem and it might be worth investigating further. For more detailed information or assistance, consider reaching out to the Airbyte community on [Github](https://github.com/airbytehq/airbyte) or [Discourse](https://discuss.airbyte.io/).Suthira (Praer) Owlarn
07/17/2024, 11:55 AMWorkflow task processing failure. [] If seen continuously the workflow might be stuck.
The syncs succeed at the moment, but they do fail in various attempts from this error. So I'd still like to understand them. Also this is a blocker for adding new connections with stripe sources.kapa.ai
07/17/2024, 11:55 AMkapa.ai
07/17/2024, 11:56 AMWorkflow task processing failure. If seen continuously the workflow might be stuck.
is related to the Temporal workflow engine that Airbyte uses for task scheduling and execution. This error message indicates that there was a problem processing a task within the workflow. This could be due to various reasons such as a bug in the workflow code, a problem with the Temporal service, or a resource issue on the system running Airbyte. If this error is seen continuously, it could mean that the workflow is stuck in a state where it cannot progress, which could potentially lead to failed syncs. In the context of adding new connections with Stripe sources, if you're seeing this error, it could mean that the workflow for setting up the new connection is encountering an issue. This could be due to a problem with the Stripe source connector, a configuration issue, or a problem with the Temporal service. Unfortunately, the provided knowledge sources do not contain specific solutions to this issue. However, you might want to consider the following general suggestions: 1. Check the complete logs: The complete logs might contain more detailed error messages that could help identify the issue. You can access the logs from the Airbyte UI or directly from the system running Airbyte. 2. Check the configuration of the Stripe source: Make sure that the configuration of the Stripe source is correct. This includes the API key, the start date, and any other configuration parameters. 3. Update to the latest version of Airbyte and the Stripe source connector: If you're not already using the latest version of Airbyte and the Stripe source connector, consider updating them. Some issues might have been fixed in the newer versions. If none of the above suggestions work, I recommend reaching out to the Airbyte community on [Github](https://github.com/airbytehq/airbyte) or [Discourse](https://discuss.airbyte.io/) for further assistance.Suthira (Praer) Owlarn
07/17/2024, 12:20 PMkapa.ai
07/17/2024, 12:20 PMkapa.ai
07/17/2024, 12:21 PM