Skip to content

[Bug] There are no Workers polling the X Task Queue. #1103

@bbkgh

Description

@bbkgh

What are you really trying to do?

After some times without any changes in worker or server configs, in the web ui i see:

"There are no Workers polling the X Task Queue."

Environment is k8s.

After rollout restart of worker, it works again and error disappears.

How can we fix this issue? is there any retry/connect mechanism built in sdk?

Environment/Versions

  • Temporal Version: server: temporalio/auto-setup:1.28, sdk: 1.17
Image

worker configs:

client = await TemporalService().get_client()
worker = Worker(
        client,
        task_queue=TemporalTaskQueues.billing.value,
        workflows=[
...        ],
        activities=[
...        ],
        workflow_runner=UnsandboxedWorkflowRunner(),
        debug_mode=True,
        activity_executor=ThreadPoolExecutor(20),
        graceful_shutdown_timeout=timedelta(seconds=30),
        max_heartbeat_throttle_interval=timedelta(seconds=10),
        default_heartbeat_throttle_interval=timedelta(seconds=5),
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions