sp33dy
11/03/2025, 11:35 AMextraInitContainers:
- name: config-loader
image: temporalio/auto-setup:1.27.2
command:
- /bin/sh
- -c
- >-
find /etc/temporal/config/ -maxdepth 1 -mindepth 1 -exec cp -ar {} /config/ \;
volumeMounts:
- name: config
mountPath: /config
This extra container has these errors:
cp: can't preserve ownership of '/config/config_template.yaml': Operation not permitted
cp: can't preserve ownership of '/config/dynamicconfig/docker.yaml': Operation not permitted
cp: can't preserve ownership of '/config/dynamicconfig': Operation not permitted
How can I correct this?kapa.ai
11/03/2025, 11:35 AMreadOnlyRootFilesystem=true or when there are ownership/permission constraints. Based on the knowledge sources, I can see examples of similar configurations. The issue occurs because the cp -ar command tries to preserve ownership and permissions, which fails due to insufficient privileges. To resolve this, you should modify your command to not preserve ownership. Here's the corrected configuration: yaml extraInitContainers: - name: config-loader image: temporalio/auto-setup:1.27.2 command: - /bin/sh - -c - >- find /etc/temporal/config/ -maxdepth 1 -mindepth 1 -exec cp -r {} /config/ \; volumeMounts: - name: config mountPath: /config The key change is replacing cp -ar with cp -r. The -a flag (archive mode) attempts to preserve ownership, permissions, and timestamps, which causes the "Operation not permitted" errors. Using just -r (recursive) will copy the files without trying to preserve ownership. Alternatively, you could use cp -rL to also dereference symbolic links if needed, or add || true at the end of the command to ignore permission errors: yaml command: - /bin/sh - -c - >- find /etc/temporal/config/ -maxdepth 1 -mindepth 1 -exec cp -r {} /config/ \; || true This approach is consistent with the pattern shown in the [Helm chart configuration examples](https://github.com/airbytehq/airbyte/issues/49843) for temporal init containers.kapa.ai
11/03/2025, 11:50 AMkapa.ai
11/03/2025, 11:50 AMactorDefinitionId) but finding that they're not available for your organization. Based on the knowledge sources, these warnings are typically harmless and occur when: 1. You're using Airbyte OSS (Open Source) and the system is checking for enterprise connectors 2. The connectors in question are enterprise-only connectors that require specific entitlements The organizationId=00000000-0000-0000-0000-000000000000 indicates this is the default organization ID, which is commonly used in OSS deployments. These are just warnings and shouldn't prevent your Airbyte instance from functioning normally. The system is simply logging that certain enterprise connectors are not available for use. If you're not planning to use these specific enterprise connectors, you can safely ignore these warnings. If you want to reduce these warnings, you could: 1. Continue using your current setup - These warnings don't affect functionality and can be safely ignored if you're not using enterprise connectors 2. Filter out enterprise connectors - Though the knowledge sources don't provide a specific configuration for this in your version The warnings are part of the normal entitlement checking process and don't indicate any configuration error on your part. Your Airbyte deployment should work correctly despite these warnings.kapa.ai
11/03/2025, 11:53 AMkapa.ai
11/03/2025, 11:53 AMbash kubectl get pods -l app=temporal kubectl logs <temporal-pod-name> 3. Monitor the worker logs - If these errors persist for more than a few minutes after Temporal pods show as "Running" and "Ready", there may be a connectivity issue between the worker and Temporal services. 4. Verify Temporal service configuration - Ensure that the worker can reach the Temporal service endpoint. Check your Helm values for the correct Temporal service name and port configuration. These warnings are part of the normal startup sequence when the worker starts before Temporal is fully initialized. They should stop appearing once Temporal's frontend service is healthy and accepting connections. If they persist beyond the initial startup period, you may need to investigate network connectivity or Temporal configuration issues.kapa.ai
11/03/2025, 11:57 AMkapa.ai
11/03/2025, 11:58 AM"GetWorkflowExecution: failed to get signals requested. Error: Failed to get signals requested. Error: context deadline exceeded" indicates that Temporal's database queries are timing out. This is typically caused by: 1. Database connectivity issues - Network latency or connectivity problems between Temporal and the database 2. Database performance problems - The database is overloaded or under-resourced 3. Network latency - High latency between Temporal and the database instance ## Solution According to the [GitHub issue #59730](https://github.com/airbytehq/airbyte/issues/59730), a user encountered very similar "context deadline exceeded" errors and found that: > "After reviewing the airbyte-temporal logs and checking their repository, I discovered that the PostgreSQL Go client was unable to communicate properly with my database instance. This was strange because it could run migrations and insert rows without issues." The solution that worked was: > "After recreating everything from scratch (again) but using an RDS instance in the same region as my EKS cluster, everything started working properly. The Temporal pod stopped logging context deadline exceeded, and the check pod was created and responded as expected." The user concluded: > "It seems that the Temporal pod is highly sensitive to delays and timeouts when interacting with the database." ## Recommended Actions 1. Check database location and latency - Ensure your database instance is in the same region/availability zone as your Temporal pods to minimize network latency 2. Verify database connectivity - Test the connection between Temporal and your database: - Check if there are any network policies or security groups blocking traffic - Verify DNS resolution is working correctly - Test database connectivity from within the Temporal pod 3. Monitor database performance - Check if your database has sufficient resources: - CPU utilization - Memory usage - Disk I/O - Connection pool exhaustion 4. Review database configuration - Ensure your database is properly configured for Temporal's requirements 5. Consider database proximity - If your database is in a different region or has high latency, consider moving it closer to your EKS cluster or using a database instance in the same region The knowledge sources indicate that Temporal is particularly sensitive to database latency and timeout issues, and resolving the underlying connectivity or performance problem with the database is key to fixing these errors.kapa.ai
11/03/2025, 12:06 PMkapa.ai
11/03/2025, 12:06 PM{"level":"warn","ts":"2025-11-03T11:42:39.065Z","msg":"Search attribute CustomStringField already exists."...} These are harmless warnings that occur during Temporal's initialization when it tries to add custom search attributes that have already been registered. The message "Search attributes have been added" confirms that the process completed successfully. These warnings can be safely ignored. ## Task Queue Manager Lifecycle Messages The info-level messages about physicalTaskQueueManager being "Started" and "Stopped" are normal operational logs: {"level":"info","ts":"2025-11-03T11:47:33.166Z","msg":"Stopped physicalTaskQueueManager"...,"cause":"Idle"...} {"level":"info","ts":"2025-11-03T11:49:32.176Z","msg":"Started physicalTaskQueueManager"...,"cause":"Poll"...} These messages indicate that: - Task queue managers are being stopped when they're idle (no work to process) - Task queue managers are being started when workers poll for tasks - This is normal behavior for various task queues like GET_SPEC, CHECK_CONNECTION, DISCOVER_SCHEMA, etc. ## What This Means The logs you're showing indicate that Temporal is now operating normally. The previous "context deadline exceeded" errors are gone, which suggests that the database connectivity issue has been resolved. If you're still experiencing issues with Airbyte functionality, the problem is likely not with Temporal itself. To help diagnose further, you would need to: 1. Check the worker logs for any errors 2. Check the server logs for any errors beyond the entitlement warnings we discussed earlier 3. Verify that connections and syncs are actually failing (and not just appearing to have issues) The Temporal logs you've shared show a healthy, functioning Temporal instance with no errors.sp33dy
11/03/2025, 12:08 PMReadiness probe failed:kapa.ai
11/03/2025, 12:08 PMkapa.ai
11/03/2025, 12:08 PMbash kubectl logs <temporal-pod-name> -n <namespace> kubectl describe pod <temporal-pod-name> -n <namespace> 3. Verify database connectivity - Since we previously resolved "context deadline exceeded" errors related to database connectivity, ensure that the database connection is still stable and performing well 4. Check resource constraints - Verify that the Temporal pod has sufficient CPU and memory resources allocated 5. Review the readiness probe endpoint - The readiness probe typically checks a health endpoint. You can manually test this endpoint from within the pod or from another pod in the cluster The knowledge sources don't provide specific guidance on Temporal readiness probe failures, so I recommend checking the Temporal pod's detailed logs and events to understand what specific check is failing. If you can share those logs, I may be able to provide more specific guidance based on the error messages.sp33dy
11/03/2025, 12:12 PMreadinessProbe:
exec:
command:
- /bin/sh
- -ec
- 'test $(ps -ef | grep -v grep | grep temporal-server | wc -l) -eq 1'
I ran it is pod shell, but it gives no output:
airbyte-temporal-6f8fb99898-6vz6t:/etc/temporal$ test $(ps -ef | grep -v grep | grep temporal-server | wc -l) -eq 1
airbyte-temporal-6f8fb99898-6vz6t:/etc/temporal$kapa.ai
11/03/2025, 12:12 PMkapa.ai
11/03/2025, 12:12 PMbash test $(ps -ef | grep -v grep | grep temporal-server | wc -l) -eq 1 This command: 1. Counts the number of temporal-server processes running 2. Tests if exactly 1 process is running 3. Returns exit code 0 (success) if true, or exit code 1 (failure) if false ## Why There's No Output The test command in shell scripts doesn't produce any output when it succeeds. It only sets an exit code: - Exit code 0 = success (condition is true) - Exit code 1 = failure (condition is false) When you run the command and see no output, that's actually a good sign - it means the test passed. ## Verifying the Probe is Working To verify the readiness probe is actually working correctly, you can: 1. Check the exit code of the command: bash test $(ps -ef | grep -v grep | grep temporal-server | wc -l) -eq 1 echo $? If it prints 0, the probe is passing. If it prints 1, the probe is failing. 2. Check how many temporal-server processes are running: bash ps -ef | grep -v grep | grep temporal-server | wc -l This should output 1 if Temporal is running correctly. 3. Verify the process is actually running: bash ps -ef | grep temporal-server ## If the Readiness Probe is Still Failing If Kubernetes is still reporting readiness probe failures despite the command appearing to work when you run it manually, check: 1. The probe's timing configuration - The probe might be timing out before the command completes 2. Pod events - Run kubectl describe pod <temporal-pod-name> to see the specific readiness probe failure messages 3. Whether the shell is available - The probe uses /bin/sh, ensure it's available in the container The knowledge sources don't provide specific troubleshooting steps for Temporal readiness probe failures, but the command you've shown appears to be functioning correctly based on the lack of output (which indicates success).sp33dy
11/03/2025, 12:22 PMFailed to save GitHub due to the following error: errors.http.defaultkapa.ai
11/03/2025, 12:22 PMkapa.ai
11/03/2025, 12:22 PMBASIC_AUTH_PROXY_TIMEOUT environment variable: BASIC_AUTH_PROXY_TIMEOUT=600 This environment variable controls the nginx proxy timeout for Airbyte operations. The default timeout may be too short for connector operations like saving configurations or discovering schemas. ## Additional Considerations The [Enterprise Setup Implementation Guide](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#configuring-ingress) also notes: > Set appropriate backend timeout values for the Airbyte server ingress. Timeout values that are too short can lead to 504 errors in the UI when creating new sources or destinations. If you're using Kubernetes with an ingress controller, you may also need to configure timeout values at the ingress level. For example, in the [GitHub issue #55690](https://github.com/airbytehq/airbyte/issues/55690), a user had to configure multiple timeout settings including: - Ingress annotations for nginx timeout settings - Load balancer timeout configurations - Server-level timeout configurations ## How to Apply the Fix For a Docker deployment, you would add or modify the BASIC_AUTH_PROXY_TIMEOUT variable in your .env file. For a Helm deployment, you may need to configure timeout values through your values.yaml file, though the specific configuration path isn't detailed in the knowledge sources for this particular environment variable. The 504 errors you're seeing when trying to save connectors like GitHub are likely due to these timeout constraints, and increasing the timeout values should resolve the issue.sp33dy
11/03/2025, 12:26 PM2025-11-03 12:25:37,340 [scheduled-executor-thread-2] INFO i.a.c.j.WorkloadMonitor(cancelNotStartedWorkloads):66 - Checking for not started workloads.
2025-11-03 12:25:37,342 [scheduled-executor-thread-1] INFO i.a.c.j.WorkloadMonitor(cancelNotClaimedWorkloads):93 - Checking for not claimed workloads.
2025-11-03 12:25:37,348 [scheduled-executor-thread-2] INFO i.a.c.j.WorkloadMonitor(cancelNotHeartbeatingWorkloads):120 - Checking for non heartbeating workloads.
2025-11-03 12:25:37,351 [scheduled-executor-thread-1] INFO i.a.c.j.WorkloadMonitor(cancelRunningForTooLongNonSyncWorkloads):148 - Checking for workloads running for too long with timeout value PT4H
2025-11-03 12:25:37,353 [scheduled-executor-thread-2] INFO i.a.c.j.WorkloadMonitor(cancelRunningForTooLongSyncWorkloads):169 - Checking for sync workloads running for too long with timeout value PT720Hkapa.ai
11/03/2025, 12:26 PMkapa.ai
11/03/2025, 12:27 PMBASIC_AUTH_PROXY_TIMEOUT. The [forum discussion](https://discuss.airbyte.io/t/3305) only shows that a user was advised to set it to 600 seconds to resolve 504 timeout errors, but the default value is not mentioned. ## Cron Log Messages - Workload Timeout Values The messages you're seeing in the cron logs are normal operational logs showing that Airbyte's workload monitoring system is functioning correctly. These logs indicate the system is checking for various workload issues: According to the logs and the knowledge sources: 1. Non-sync workloads timeout: PT4H (4 hours) - This applies to operations like CHECK_CONNECTION, GET_SPEC, and DISCOVER_SCHEMA 2. Sync workloads timeout: PT720H (720 hours = 30 days) - This applies to actual data synchronization jobs These timeout values are visible in the [GitHub issue #59730](https://github.com/airbytehq/airbyte/issues/59730) and [GitHub issue #55812](https://github.com/airbytehq/airbyte/issues/55812) logs, which show the same monitoring messages: INFO i.a.c.j.WorkloadMonitor(cancelRunningForTooLongNonSyncWorkloads):137 - Checking for workloads running for too long with timeout value PT4H INFO i.a.c.j.WorkloadMonitor(cancelRunningForTooLongSyncWorkloads):157 - Checking for sync workloads running for too long with timeout value PT720H These are informational messages showing that the cron job is actively monitoring workloads and will cancel them if they exceed these timeout thresholds. This is expected behavior and not an error.sp33dy
11/03/2025, 12:31 PMkapa.ai
11/03/2025, 12:31 PMkapa.ai
11/03/2025, 12:32 PMBASIC_AUTH_PROXY_TIMEOUT is related to the basic authentication proxy component. However, based on the knowledge sources, this environment variable controls the timeout for the airbyte-proxy service, which is part of Airbyte's architecture regardless of whether you're using basic authentication or not. Looking at the [Docker Compose configuration](https://discuss.airbyte.io/t/3748) from the knowledge sources, the airbyte-proxy service is defined as: yaml airbyte-proxy: image: airbyte/proxy:${VERSION} container_name: airbyte-proxy restart: unless-stopped environment: - BASIC_AUTH_USERNAME=${BASIC_AUTH_USERNAME} - BASIC_AUTH_PASSWORD=${BASIC_AUTH_PASSWORD} - BASIC_AUTH_PROXY_TIMEOUT=${BASIC_AUTH_PROXY_TIMEOUT} networks: - backend - airbyte_public depends_on: - webapp - server The proxy service acts as a reverse proxy/gateway for Airbyte's web application and API, even when basic authentication is disabled. The BASIC_AUTH_PROXY_TIMEOUT variable controls the timeout for requests passing through this proxy, not just authenticated requests. According to the [GitHub issue #33845](https://github.com/airbytehq/airbyte/issues/33845), when BASIC_AUTH_PROXY_TIMEOUT is not set, it defaults to a blank string, which means the proxy uses its default nginx timeout configuration. So even though you're not using basic authentication (you can leave BASIC_AUTH_USERNAME and BASIC_AUTH_PASSWORD empty), the BASIC_AUTH_PROXY_TIMEOUT setting still affects all requests going through the proxy, including your connector operations. Setting it to a higher value like 600 should help resolve your 504 timeout errors.sp33dy
11/03/2025, 12:33 PMkapa.ai
11/03/2025, 12:33 PMkapa.ai
11/03/2025, 12:33 PMyaml server: httpIdleTimeout: 20m extraEnv: - name: READ_TIMEOUT value: 30m ## Ingress-Level Timeouts Additionally, the [Ingress documentation](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress) and [Implementation Guide](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#configuring-ingress) emphasize: > Set appropriate backend timeout values for the Airbyte server ingress. Timeout values that are too short can lead to 504 errors in the UI when creating new sources or destinations. If you're using NGINX ingress, you would need to configure timeout annotations in your ingress resource. From [GitHub issue #55690](https://github.com/airbytehq/airbyte/issues/55690), a user configured: yaml annotations: nginx.ingress.kubernetes.io/proxy-connect-timeout: "600" nginx.ingress.kubernetes.io/proxy-send-timeout: "600" nginx.ingress.kubernetes.io/proxy-read-timeout: "600" The 504 errors you're experiencing are likely due to timeout configurations at either the server level or the ingress level, not the BASIC_AUTH_PROXY_TIMEOUT which is indeed specific to Docker deployments with the proxy component.sp33dy
11/03/2025, 12:36 PMkapa.ai
11/03/2025, 12:36 PMkapa.ai
11/03/2025, 12:36 PMhaproxy.org/timeout-client, haproxy.org/timeout-server, or similar (though I cannot confirm these exact names from the knowledge sources) 3. Apply these to your Airbyte ingress resource Additionally, you should still configure the server-level timeouts in your Helm values.yaml as mentioned in the [Schema Discovery Timeouts documentation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#schema-discovery-timeouts): yaml server: httpIdleTimeout: 20m extraEnv: - name: READ_TIMEOUT value: 30m I'm sorry, but the knowledge sources don't contain specific HAProxy ingress controller timeout configuration examples for Airbyte.