We are experiencing an issue that affects the availability of the Temporal cluster. The error shows up in Temporal frontend pods.
The database looks ok but a bit overloaded while experiencing this issue.
The UI lists the workflows, but when clicking on any, it shows β504 Gateway Time-out.β
Restarting the whole cluster did not help.
The setup uses the helm chart.
Some workflows are stuck in a running state.
@maxim @tihomir, could you help please
The command tctl cluster health
gets:
temporal.api.workflowservice.v1.WorkflowService: SERVING
"level":"error","ts":"2022-05-23T12:59:57.280Z","msg":"Unable to call matching.PollWorkflowTaskQueue.","service":"frontend","wf-task-queue-name":"temporal-archival-tq","timeout":"1m9.999572483s","error":"context deadline exceeded","logging-call-at":"workflowHandler.go:812
"stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error
/temporal/common/log/zap_logger.go:142
go.temporal.io/server/service/frontend.(*WorkflowHandler).PollWorkflowTaskQueue
/temporal/service/frontend/workflowHandler.go:812
go.temporal.io/server/service/frontend.(*DCRedirectionHandlerImpl).PollWorkflowTaskQueue.func2
/temporal/service/frontend/dcRedirectionHandler.go:532
go.temporal.io/server/service/frontend.(*NoopRedirectionPolicy).WithNamespaceRedirect
/temporal/service/frontend/dcRedirectionPolicy.go:118
go.temporal.io/server/service/frontend.(*DCRedirectionHandlerImpl).PollWorkflowTaskQueue
/temporal/service/frontend/dcRedirectionHandler.go:528
go.temporal.io/api/workflowservice/v1._WorkflowService_PollWorkflowTaskQueue_Handler.func1
/go/pkg/mod/go.temporal.io/api@v1.5.1-0.20211018190919-a5f4a169cd08/workflowservice/v1/service.pb.go:1088
go.temporal.io/server/common/authorization.(*interceptor).Interceptor
/temporal/common/authorization/interceptor.go:152
google.golang.org/grpc.chainUnaryInterceptors.func1.1
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1113
go.temporal.io/server/common/rpc/interceptor.(*NamespaceCountLimitInterceptor).Intercept
/temporal/common/rpc/interceptor/namespace_count_limit.go:89
google.golang.org/grpc.chainUnaryInterceptors.func1.1
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1116
go.temporal.io/server/common/rpc/interceptor.(*NamespaceRateLimitInterceptor).Intercept
/temporal/common/rpc/interceptor/namespace_rate_limit.go:87
google.golang.org/grpc.chainUnaryInterceptors.func1.1
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1116
go.temporal.io/server/common/rpc/interceptor.(*RateLimitInterceptor).Intercept
/temporal/common/rpc/interceptor/rate_limit.go:83
google.golang.org/grpc.chainUnaryInterceptors.func1.1
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1116
go.temporal.io/server/common/rpc/interceptor.(*TelemetryInterceptor).Intercept
/temporal/common/rpc/interceptor/telemetry.go:108
google.golang.org/grpc.chainUnaryInterceptors.func1.1
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1116
go.temporal.io/server/common/metrics.NewServerMetricsContextInjectorInterceptor.func1
/temporal/common/metrics/grpc.go:66
google.golang.org/grpc.chainUnaryInterceptors.func1.1
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1116
go.temporal.io/server/common/rpc.ServiceErrorInterceptor
/temporal/common/rpc/grpc.go:131
google.golang.org/grpc.chainUnaryInterceptors.func1.1
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1116
go.temporal.io/server/common/rpc/interceptor.(*NamespaceLogInterceptor).Intercept
/temporal/common/rpc/interceptor/namespace_logger.go:83
google.golang.org/grpc.chainUnaryInterceptors.func1.1
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1116
google.golang.org/grpc.chainUnaryInterceptors.func1
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1118
go.temporal.io/api/workflowservice/v1._WorkflowService_PollWorkflowTaskQueue_Handler
/go/pkg/mod/go.temporal.io/api@v1.5.1-0.20211018190919-a5f4a169cd08/workflowservice/v1/service.pb.go:1090
google.golang.org/grpc.(*Server).processUnaryRPC
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1279
google.golang.org/grpc.(*Server).handleStream
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1608
google.golang.org/grpc.(*Server).serveStreams.func1.2
/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:923"