<@U04S8PLJWMT> 2025-11-18 00:54:52 replication-orc...
# ask-ai
i
@kapa.ai 2025-11-18 005452 replication-orchestrator ERROR Log message invocation failed: java.lang.NullPointerException: Cannot invoke "retrofit2.Response.raw()" because the return value of "dev.failsafe.event.ExecutionCompletedEvent.getResult()" is null 2025-11-18 005452 replication-orchestrator ERROR Killing orchestrator because of an Exception Getting this for bigquery to bigqiery sync
k
Based on the error you're encountering with your BigQuery to BigQuery sync, I can see this is related to a
NullPointerException
during the replication process. While the knowledge sources don't contain an exact match for your specific error with BigQuery to BigQuery, there are similar issues documented. The error message
Cannot invoke "retrofit2.Response.raw()" because the return value of "dev.failsafe.event.ExecutionCompletedEvent.getResult()" is null
appears in the knowledge sources in a different context. According to [Error while installing airbyte through helm chart](https://github.com/airbytehq/airbyte/issues/68136), this error was seen when there was a connection failure to the workload API server. Your error during replication suggests a similar underlying issue - a null response is being returned where a valid response object is expected. This could indicate: 1. Connection issues: The replication orchestrator may be failing to communicate with required services 2. Resource constraints: The sync might be running out of resources, causing premature termination 3. Configuration problems: There may be issues with your BigQuery connection settings Unfortunately, the knowledge sources don't contain specific troubleshooting steps for BigQuery to BigQuery syncs with this exact error. To get proper assistance, I recommend: 1. Checking your full logs for any preceding errors or warnings 2. Verifying your BigQuery source and destination configurations 3. Ensuring your Airbyte instance has sufficient resources 4. Reporting this issue on the [Airbyte GitHub repository](https://github.com/airbytehq/airbyte/issues) with complete logs and your setup details The knowledge sources indicate that similar
NullPointerException
errors during replication often require detailed log analysis to diagnose properly.
i
@kapa.ai i am also seeing this Source process exited with non-zero exit code 143
k
A message from kapa.ai
Based on the knowledge sources, the error "Source process exited with non-zero exit code 143" is a commonly documented issue in Airbyte. This exit code typically indicates that the source process was terminated, often due to cancellation or resource constraints. According to multiple sources, exit code 143 is normal when a job is cancelled. As stated in [MySQL to BigQuery connection failing](https://discuss.airbyte.io/t/1107): > "Source process exit with code 143. This warning is normal if the job was cancelled." However, if you're not manually cancelling the job, this error can occur due to several reasons: ## Common Causes 1. Memory constraints: The knowledge sources suggest increasing memory allocation. From [Source process exited with non-zero exit code 143 for a customized source](https://discuss.airbyte.io/t/2291), users were advised to increase
JOB_MAIN_CONTAINER_MEMORY_REQUEST
to 4GB or 8GB. 2. Large data volumes: According to [Sync appears to be getting cancelled on it's own when handling large amounts of data](https://discuss.airbyte.io/t/2921), syncs can fail with exit code 143 when handling large amounts of data. 3. Automatic cancellation: As mentioned in [Large sync fails but successfully loads data after failed retry](https://discuss.airbyte.io/t/782), jobs can be automatically cancelled during long-running syncs. ## Recommended Actions From [Sync Jobs Failing: Non-Zero Error Code 143](https://discuss.airbyte.io/t/589), the troubleshooting steps include: 1. Check if retesting your destination connection works 2. Increase memory allocation for sync pods (try 4GB or more) 3. Try syncing a single stream to isolate the issue 4. Review your full sync logs for additional context Combined with your earlier
NullPointerException
error, this suggests your BigQuery to BigQuery sync is experiencing both connection/orchestration issues and process termination problems. I recommend checking your resource allocation and reviewing the complete logs to identify what's triggering the cancellation.
i
@kapa.ai in my airbyte eks setup, is there a way to have a bunch of pipeline run in a separate node group ?
k
A message from kapa.ai
Yes, Airbyte supports running pipelines (sync jobs) in a separate node group on EKS. This is actually a recommended practice for production deployments. ## Configuration Approach According to the [Multiple Node Groups](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#multiple-node-groups) documentation, you can configure Airbyte to place 'static' workloads (like
server
,
webapp
, etc.) on one Kubernetes node group, while placing job-related workloads (connector pods) on a different node group. This ensures that UI or API availability is unlikely to be impacted by the number of concurrent syncs. ## Implementation Based on your values.yaml configuration, you'll need to configure node selectors and tolerations for job pods. Here's how to set this up:
Copy code
yaml global:   jobs:     kube:       nodeSelector:         abc/node-group: airbyte-workers       tolerations:         - key: abc/node-group           value: airbyte-workers           effect: NoSchedule           operator: Equal       scheduling:         check:           nodeSelectors:             abc/node-group: airbyte-workers         discover:           nodeSelectors:             abc/node-group: airbyte-workers         spec:           nodeSelectors:             abc/node-group: airbyte-workers  workloadLauncher:   nodeSelector:     type: static  # Keep launcher on static nodes
## Important Notes 1. Job-specific selectors: According to the [Jobs-specific configuration](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#jobs-specific), you need to set node selectors for different job types (spec, check, discover) separately, as the fallback to
JOB_KUBE_NODE_SELECTORS
doesn't always work for non-sync jobs. 2. Restart required: As noted in [Node selector and tolerations for job](https://github.com/airbytehq/airbyte/issues/10378), after updating your configuration, you must manually restart the
airbyte-workload-launcher
deployment for the changes to take effect, as the configMap changes aren't automatically applied to running deployments. 3. Tolerations: Make sure your tolerations match the taints on your dedicated node group to ensure job pods can be scheduled there. Your existing configuration already has the node selector and tolerations defined under
global.jobs.kube
, which is a good start. Just ensure you add the job-specific selectors and restart the workload-launcher deployment after applying the changes.
i
@kapa.ai i have one problematic pipeline that might be affecting others, how do i isolate it ?
k
A message from kapa.ai
Based on the knowledge sources, there are several ways to isolate a problematic pipeline in Airbyte: ## 1. Connection-Specific Resource Configuration According to the [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources) documentation, you can apply connection-specific configurations which have the highest precedence and only affect that particular source/destination combination. This allows you to: - Allocate more resources to the problematic pipeline - Set different resource limits to prevent it from consuming excessive resources - Isolate its resource usage from other pipelines The configuration hierarchy is: - Connection-specific (highest precedence) - applies to only this source/destination combination - Connector-specific - applies to one connector instance - Connector definition - applies to all connectors of that type - Instance-wide (lowest precedence) - applies to all containers ## 2. Resource Allocation Strategy The documentation recommends following this approach: > "If you have an issue that you suspect is due to insufficient resources, you should be able to confirm it via observability tools (e.g. Airbyte-provided logs). If these indicate that there's an issue with CPU or memory, start by upgrading resource profiles only for connectors that need it. Upgrade resource profiles for specific connections as a last resort." For your problematic BigQuery to BigQuery pipeline, you can configure connection-specific resource requirements using SQL:
Copy code
sql update actor_definition set resource_requirements = '{"jobSpecific": [{"jobType": "sync", "resourceRequirements": {"cpu_limit": "2", "cpu_request": "2", "memory_limit": "2048Mi", "memory_request": "2048Mi"}}]}' where id = '<connection-id>';
## 3. Separate Node Group (Already Configured) Based on your earlier question, you already have a separate node group configured for workers. You could potentially: - Keep the problematic pipeline on the existing worker node group with adjusted resources - Ensure other pipelines have sufficient resources by adjusting instance-wide or connector-specific settings Unfortunately, the knowledge sources don't explicitly mention a way to run a single connection on a completely separate node group from other connections. The node selector configuration applies at the job level (all sync jobs, all check jobs, etc.), not at the individual connection level. ## Recommended Approach 1. Identify the issue: Review logs to confirm whether it's a resource constraint issue 2. Apply connection-specific resource limits: Use the highest precedence configuration to isolate this pipeline's resource usage 3. Monitor: Check if the isolation prevents it from affecting other pipelines The knowledge sources don't contain information about completely quarantining a single connection to prevent it from affecting others beyond resource configuration.
i
@kapa.ai also another thing i have noticed is , my worker and workload-api-server keep restarting. I can see the containers are being recreated for some reason
k
A message from kapa.ai
Based on the knowledge sources, worker and workload-api-server pods restarting frequently is a documented issue in Airbyte deployments, particularly with
abctl
installations. Here are the most common causes and solutions: ## Authentication Token Mismatch The most frequently reported cause is misaligned authentication tokens between the worker and workload-api-server. According to [source-postgres Connector setup fails with HTTP 502 error](https://github.com/airbytehq/airbyte/issues/65567), this manifests as: > "WORKLOAD_API_BEARER_TOKEN (and header) wasn't aligned between the Worker and the Workload API Server pods." This causes API calls to be rejected with 401 errors, leading to pod restarts. ### Solution The fix involves setting matching authentication tokens across all deployments:
Copy code
bash # Generate a token TOKEN=$(openssl rand -hex 24)  # Apply to all three deployments kubectl -n airbyte-abctl set env deployment/airbyte-abctl-workload-api-server \   WORKLOAD_API_AUTH_HEADER=Authorization \   WORKLOAD_API_BEARER_TOKEN=$TOKEN  kubectl -n airbyte-abctl set env deployment/airbyte-abctl-worker \   WORKLOAD_API_AUTH_HEADER=Authorization \   WORKLOAD_API_BEARER_TOKEN=$TOKEN  kubectl -n airbyte-abctl set env deployment/airbyte-abctl-server \   WORKLOAD_API_AUTH_HEADER=Authorization \   WORKLOAD_API_BEARER_TOKEN=$TOKEN  # Restart all services kubectl -n airbyte-abctl rollout restart deploy/airbyte-abctl-workload-api-server \   airbyte-abctl-worker airbyte-abctl-server
## Memory Leak Issues According to [Memory Leak Worker pod keep consuming memory over time](https://github.com/airbytehq/airbyte/issues/56944), the worker pod can experience memory leaks that cause it to be OOM killed and restarted: > "If I restart the deployment, memory consumption drops to 500-600 MB, increasing over time again until it's OOM killed." This issue has been reported in versions 1.2.0 and 1.4.0, and affects both worker and workload-launcher pods. ## Resource Constraints From [Airbyte is not stable in k8s env](https://github.com/airbytehq/airbyte/issues/38853), resource exhaustion can cause worker pods to fail and restart: > "Job sync stopped after sometime and it gets resolved once we restart worker pods. it seems, some resource releasing issue with worker." ## Recommended Actions 1. Check authentication tokens first - This is the most common cause for
abctl
deployments 2. Monitor memory usage - Check if pods are being OOM killed 3. Review pod logs - Look for 401 errors or connection refused errors 4. Check resource limits - Ensure adequate memory and CPU allocation Given your earlier errors (NullPointerException and exit code 143), combined with pod restarts, the authentication token mismatch is the most likely culprit. I recommend applying the token fix first and monitoring whether the restarts continue.
i
@kapa.ai can i pull data from zoho creator apps ?
k
A message from kapa.ai
Based on the knowledge sources provided, I don't see a specific Zoho Creator connector documented in Airbyte's catalog. The knowledge sources show several Zoho connectors including: - [Zoho Desk](https://docs.airbyte.com/integrations/sources/zoho-desk) - [Zoho Books](https://docs.airbyte.com/integrations/sources/zoho-books) - [Zoho Inventory](https://docs.airbyte.com/integrations/sources/zoho-inventory) - [Zoho Campaign](https://docs.airbyte.com/integrations/sources/zoho-campaign) - [Zoho Bigin](https://docs.airbyte.com/integrations/sources/zoho-bigin) - [Zoho CRM](https://docs.airbyte.com/integrations/sources/zoho-crm) - [Zoho Analytics Metadata API](https://docs.airbyte.com/integrations/sources/zoho-analytics-metadata-api) However, there is no mention of a Zoho Creator connector in the knowledge sources. ## Options for Zoho Creator If you need to pull data from Zoho Creator apps, you have a few options: 1. Build a custom connector: According to the [Connector Development](https://docs.airbyte.com/platform/connector-development) documentation, you can build your own connector using the [Connector Builder](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/overview), which works for most API source connectors as long as you can read the data with HTTP requests (REST, GraphQL) and get results in JSON or JSONL formats. 2. Request a new connector: As mentioned in [Custom or New Connector](https://docs.airbyte.com/integrations/custom-connectors), you can request a new connector directly [here](https://github.com/airbytehq/airbyte/discussions/new?category=new-connector-request). 3. Contribute to Airbyte: If you build a Zoho Creator connector, you can [contribute it back to Airbyte](https://docs.airbyte.com/platform/connector-development/submit-new-connector) to help others in the community. The knowledge sources don't contain information about an existing Zoho Creator connector, so you would need to build one or request it from the Airbyte community.