HF RL Explorer

JWT Token Expiration Causes 403 Forbidden for Tasks Waiting in Executor Queues

JWT Token Expiration Causes 403 Forbidden for Tasks Waiting in Executor Queues: a task in LegoFlow-SWE (Harbor dataset). Tasks that spend a long time waiting in executor queues (Celery, Kubernetes, etc.) fail with HTTP 403 Forbidden when they eventually start executing. The failure occurs because…

The task

Tasks that spend a long time waiting in executor queues (Celery, Kubernetes, etc.) fail with HTTP 403 Forbidden when they eventually start executing. The failure occurs because the authentication token embedded with the task has already expired by the time the worker picks it up.

Part of Lego-X/LegoFlow-SWE.