Workflow task timeout after activity is completed

Hi,

We’re using Temporal in production to manage our clients’ scheduled automations. Recently, I’ve noticed a rise in Workflow Task Timeout errors — from zero to 60 over the past two weeks.

To address this, I increased the timeout settings, but the issue persists. Here’s the current configuration:

  • Worker StickyScheduleToStartTimeout: 2m
  • Workflow WorkflowTaskTimeout: 2m
  • Activity ScheduleToStartTimeout: 2m
  • Activity StartToCloseTimeout: 1m

The Workflow Task Timeout seems to occur randomly — sometimes right after the first activity completes, sometimes after the second, and occasionally after a signal is received. It feels like the workflow is idling after completing a task, waiting for something that never happens.

Any insights on what might be causing this?