Gideon Stowell
07/31/2025, 3:48 AMkapa.ai
07/31/2025, 3:48 AMdefault namespace to be available. If Temporal is not running, not reachable, or slow to start, you will see this message repeatedly. - Check if the Temporal pod/service is running and healthy. For Kubernetes, use: kubectl get pods -n <namespace> kubectl logs <temporal-pod-name> -n <namespace> - Look for errors like Connection refused or DEADLINE_EXCEEDED in the logs, which indicate network or startup issues between Airbyte and Temporal<sup>[1](https://github.com/airbytehq/airbyte/issues/44928)</sup><sup>[2](https://discuss.airbyte.io/t/3467)</sup>. 2. Temporal Namespace Initialization Delay - Sometimes, Temporal takes time to initialize the default namespace. Airbyte will keep waiting until it is available. If the namespace is not created automatically, you may see errors like Error: Namespace default is not found followed by attempts to create it<sup>[3](https://github.com/airbytehq/airbyte/issues/32267)</sup>. - Check the Temporal logs for lines like: Registering default namespace: default. Error: Namespace default is not found. Default namespace default not found. Creating... Namespace default successfully registered. - If the namespace is not being created, there may be a misconfiguration or a startup race condition. 3. Network or Service Configuration Issues - Ensure that the Airbyte server can resolve and connect to the Temporal service address and port (default is airbyte-temporal:7233). - In Kubernetes, check your service definitions and DNS resolution. In Docker Compose, ensure the service names match and are on the same network<sup>[2](https://discuss.airbyte.io/t/3467)</sup>. 4. Database or Storage Issues - If Temporal cannot connect to its database or loses storage, it may fail to initialize properly, causing Airbyte to wait indefinitely<sup>[4](https://github.com/airbytehq/airbyte/issues/57011)</sup>. What to do next: - Check the logs for both Airbyte server and Temporal pods/services for errors or warnings. - Make sure Temporal is running and healthy, and that the default namespace is registered. - If using custom database or storage backends, verify their connectivity and credentials. - If the problem persists, try restarting the Temporal pod/service and then the Airbyte server pods. If you provide more specific logs from your Temporal pod, I can help further pinpoint the issue. --- References: - [abctl Failing to install Helm chart](https://github.com/airbytehq/airbyte/issues/44928) - [Airbyte-Server connection with Airbyte-Temporal seems to fail with Docker-Compose Up (Centos 7)](https://discuss.airbyte.io/t/3467) - [Deploying to local Kubernetes via Helm: Airbyte-Temporal fails to initialize: Error: unable to list search attributes: Namespace default is not found.](https://github.com/airbytehq/airbyte/issues/32267) - [workload-launcher false positive liveness probes under lost storage connection](https://github.com/airbytehq/airbyte/issues/57011)Gideon Stowell
07/31/2025, 3:49 AM{"level":"error","ts":"2025-07-31T03:48:31.375Z","msg":"service failures","operation":"AddWorkflowTask","wf-namespace":"default","grpc_code":"Unavailable","wf-id":"connection_manager_5808bebc-0f67-45f1-8c │
│ 98-997f3d46caf4","wf-run-id":"024c04d3-b51b-4901-8ef3-eb9c29b48349","error":"sticky worker unavailable, please use original task queue.","logging-call-at":"/home/runner/work/docker-builds/docker-builds/te │
│ mporal/common/rpc/interceptor/telemetry.go:422","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error\n\t/home/runner/work/docker-builds/docker-builds/temporal/common/log/zap_logger.go:154\ngo │
│ .temporal.io/server/common/rpc/interceptor.(*TelemetryInterceptor).logErrors\n\t/home/runner/work/docker-builds/docker-builds/temporal/common/rpc/interceptor/telemetry.go:422\ngo.temporal.io/server/common │
│ /rpc/interceptor.(*TelemetryInterceptor).HandleError\n\t/home/runner/work/docker-builds/docker-builds/temporal/common/rpc/interceptor/telemetry.go:392\ngo.temporal.io/server/common/rpc/interceptor.(*Telem │
│ etryInterceptor).UnaryIntercept\n\t/home/runner/work/docker-builds/docker-builds/temporal/common/rpc/interceptor/telemetry.go:199\ngoogle.golang.org/grpc.getChainUnaryHandler.func1\n\t/home/runner/go/pkg/ │
│ mod/google.golang.org/grpc@v1.67.1/server.go:1211\ngo.temporal.io/server/service.GrpcServerOptionsProvider.getUnaryInterceptors.NewServerMetricsTrailerPropagatorInterceptor.func5\n\t/home/runner/work/dock │
│ er-builds/docker-builds/temporal/common/metrics/grpc.go:112\ngoogle.golang.org/grpc.getChainUnaryHandler.func1\n\t/home/runner/go/pkg/mod/google.golang.org/grpc@v1.67.1/server.go:1211\ngo.temporal.io/serv │
│ er/service.GrpcServerOptionsProvider.getUnaryInterceptors.NewServerMetricsContextInjectorInterceptor.func4\n\t/home/runner/work/docker-builds/docker-builds/temporal/common/metrics/grpc.go:65\ngoogle.golan │
│ g.org/grpc.getChainUnaryHandler.func1\n\t/home/runner/go/pkg/mod/google.golang.org/grpc@v1.67.1/server.go:1211\ngo.temporal.io/server/common/rpc.ServiceErrorInterceptor\n\t/home/runner/work/docker-builds/ │
│ docker-builds/temporal/common/rpc/grpc.go:157\ngoogle.golang.org/grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1\n\t/home/runner/go/pkg/mod/google.golang.org/grpc@v1.67.1/server.g │
│ o:1202\ngo.temporal.io/server/api/matchingservice/v1._MatchingService_AddWorkflowTask_Handler\n\t/home/runner/work/docker-builds/docker-builds/temporal/api/matchingservice/v1/service_grpc.pb.go:797\ngoogl │
│ e.golang.org/grpc.(*Server).processUnaryRPC\n\t/home/runner/go/pkg/mod/google.golang.org/grpc@v1.67.1/server.go:1394\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/home/runner/go/pkg/mod/google.golang │
│ .org/grpc@v1.67.1/server.go:1805\ngoogle.golang.org/grpc.(*Server).serveStreams.func2.1\n\t/home/runner/go/pkg/mod/google.golang.org/grpc@v1.67.1/server.go:1029"} │
│ {"level":"info","ts":"2025-07-31T03:49:10.738Z","msg":"Stopped physicalTaskQueueManager","component":"matching-engine","wf-task-queue-name":"/_sys/GET_SPEC/3","wf-task-queue-type":"Workflow","wf-namespace │
│ ":"default","worker-build-id":"_unversioned_","lifecycle":"Stopped","cause":"Idle","logging-call-at":"/home/runner/work/docker-builds/docker-builds/temporal/service/matching/physical_task_queue_manager.go │
│ :312"}kapa.ai
07/31/2025, 3:49 AMkapa.ai
07/31/2025, 3:50 AMGideon Stowell
08/06/2025, 4:44 PMkapa.ai
08/06/2025, 4:44 PMkapa.ai
08/06/2025, 4:45 PMTEMPORAL_HISTORY_RETENTION_IN_DAYS environment variable. This defines how long Temporal keeps workflow history, with a default of 30 days. Lowering this value can help reduce the size of the Temporal database over time. This can be configured in deployments using Docker, Helm, or abctl by setting the environment variable appropriately in your configuration files or Helm values<sup>[Configuring Airbyte - Data Retention](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#data-retention)</sup>. Workspace and Log Retention: For workspace data and logs, Airbyte provides environment variables such as MINIMUM_WORKSPACE_RETENTION_DAYS, MAXIMUM_WORKSPACE_RETENTION_DAYS, and MAXIMUM_WORKSPACE_SIZE_MB to control how long files are kept and the maximum allowed workspace size. However, there have been reports that these settings may not always be effective in all deployment types, and some users have had to manually clean up files or logs<sup>[Airbyte Rotation Logs](https://discuss.airbyte.io/t/332)</sup>. Limitations: - There is currently no built-in mechanism to automatically purge old records from the main Airbyte Postgres database tables such as jobs and attempts. This has been raised as a feature request by users, and maintainers have acknowledged the need for better documentation and features in this area<sup>[Purging of old syncs from Airbyte databases](https://github.com/airbytehq/airbyte/discussions/55233)</sup>. - For now, only Temporal history retention is configurable for automatic cleanup. Other tables may require manual intervention or custom scripts to manage their size. Summary: Airbyte allows you to configure retention for Temporal workflow history and some workspace/log files, but does not yet provide a comprehensive, automated way to clear out all old data from its databases. Manual cleanup or custom solutions may be necessary for full database management.