Failure Origin: replication, Message: Something went wrong during replication

  • Is this your first time deploying Airbyte?: Yes
  • OS Version / Instance: Ubuntu 2204
  • Memory / Disk: you can use something like 16 Gb / 160 GB
  • Deployment: docker
  • Airbyte Version: 0.40.26
  • Source name/version: posthog/0.1.8
  • Destination name/version: BIgQuery/ 1.2.9
  • Step: Issue is happening when trying to sync data between Poshog and BigQuery. Sync seems to be running/reading database but fails to move on.
  • Error from error logs:
2023-01-06 16:35:49 WARN i.t.i.w.ActivityWorker$TaskHandlerImpl(logExceptionDuringResultReporting):365 - Failure during reporting of activity result to the server. ActivityId = 8f06f3df-62b5-334b-92fe-8ebf6008f402, ActivityType = Replicate, WorkflowId=sync_6, WorkflowType=SyncWorkflow, RunId=3b79d5ab-382a-4e42-8f1f-00fb4fd8700e

io.grpc.StatusRuntimeException: NOT_FOUND: workflow execution already completed

at io.grpc.stub.ClientCalls.toStatusRuntimeException( ~[grpc-stub-1.50.2.jar:1.50.2]

at io.grpc.stub.ClientCalls.getUnchecked( ~[grpc-stub-1.50.2.jar:1.50.2]

at io.grpc.stub.ClientCalls.blockingUnaryCall( ~[grpc-stub-1.50.2.jar:1.50.2]

at io.temporal.api.workflowservice.v1.WorkflowServiceGrpc$WorkflowServiceBlockingStub.respondActivityTaskFailed( ~[temporal-serviceclient-1.17.0.jar:?]

at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.lambda$sendReply$1( ~[temporal-sdk-1.17.0.jar:?]

at io.temporal.internal.retryer.GrpcRetryer.lambda$retry$0( ~[temporal-serviceclient-1.17.0.jar:?]

at io.temporal.internal.retryer.GrpcSyncRetryer.retry( ~[temporal-serviceclient-1.17.0.jar:?]

at io.temporal.internal.retryer.GrpcRetryer.retryWithResult( ~[temporal-serviceclient-1.17.0.jar:?]

at io.temporal.internal.retryer.GrpcRetryer.retry( ~[temporal-serviceclient-1.17.0.jar:?]

at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.sendReply( ~[temporal-sdk-1.17.0.jar:?]

at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handleActivity( ~[temporal-sdk-1.17.0.jar:?]

at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle( ~[temporal-sdk-1.17.0.jar:?]

at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle( ~[temporal-sdk-1.17.0.jar:?]

at io.temporal.internal.worker.PollTaskExecutor.lambda$process$0( ~[temporal-sdk-1.17.0.jar:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker( ~[?:?]

at java.util.concurrent.ThreadPoolExecutor$ ~[?:?]

at ~[?:?]

Hello there! You are receiving this message because none of your fellow community members has stepped in to respond to your topic post. (If you are a community member and you are reading this response, feel free to jump in if you have the answer!) As a result, the Community Assistance Team has been made aware of this topic and will be investigating and responding as quickly as possible.
Some important considerations that will help your to get your issue solved faster:

  • It is best to use our topic creation template; if you haven’t yet, we recommend posting a followup with the requested information. With that information the team will be able to more quickly search for similar issues with connectors and the platform and troubleshoot more quickly your specific question or problem.
  • Make sure to upload the complete log file; a common investigation roadblock is that sometimes the error for the issue happens well before the problem is surfaced to the user, and so having the tail of the log is less useful than having the whole log to scan through.
  • Be as descriptive and specific as possible; when investigating it is extremely valuable to know what steps were taken to encounter the issue, what version of connector / platform / Java / Python / docker / k8s was used, etc. The more context supplied, the quicker the investigation can start on your topic and the faster we can drive towards an answer.
  • We in the Community Assistance Team are glad you’ve made yourself part of our community, and we’ll do our best to answer your questions and resolve the problems as quickly as possible. Expect to hear from a specific team member as soon as possible.

Thank you for your time and attention.
The Community Assistance Team

Hi @Vanesa, could you please include your full logs? The current info is not enough to debug the issue unfortunately!

HI, yes, sure, I’m sending logs from January 6th that I’ve mentioned in the thread.

We have also tried syncing only persons table and not with INSERT but bucket method. This synced failed aswell, so I’m attaching those logs too.

d73dc327_70be_4623_b7b6_9f4b466dd679_logs_6.txt (330.7 KB)
d73dc327_70be_4623_b7b6_9f4b466dd679_logs_9.txt (782.3 KB)

Thanks for the logs! I can’t pinpoint exactly what’s causing the error yet, but I’ve seen this happen before if the data is malformed/corrupted.

Another thought is that perhaps the node is running out of resources and cancelling the sync. Do you have a lot of connectors running?