Self-hosted Cloud agents in Kubernetes does not work

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

My self-hosted cloud agents results in error when spawning.

Waiting for self-hosted worker (attempt 3/3)
Agent encountered an error

The worker is identified inside the dashboard.
We encountered an unexpected error repeatedly.
You can retry by writing a follow-up below.

Steps to Reproduce

Try to spawn a self-hosted cloud agents in kubernetes infraestructure.

Expected Behavior

It should work and I would see the session going on.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

WEB - version

Does this stop you from using Cursor

Yes - Cursor is unusable

Hi @Daniel_Weil!

This seems to match a known bug. Take a look at @mohitjain’s post over here.

If those wrkarounds don’t work for you, a bug report has been raised, and we can update you when there’s a fix.

Hey @Daniel_Weil,

The stale worker reference issue that was preventing task dispatch to self-hosted workers has been fixed on our end. Your K8s workers should now correctly receive tasks from the web UI. Let me know if you’re still running into this!