Remote Control: worker bridge never connects, visibility probe total=0

Describe the Bug

Account: [email protected] (Ultra plan)
Cursor: 3.9.16, CLI: 2026.06.26-7079533, macOS arm64

Issue:
Remote Control shows “waiting for a worker” on Mac and “unable to complete request” on iPhone.

Diagnostics:

  • agent worker debug → Visibility probe total=0 (from ~ and from photo_ai repo)
  • IDE worker IS running locally (worker id: b52d1301-e135-53b7-a0e0-b6d6c30c4479)
  • Worker log: bridge to api2direct.cursor.sh, session state always “closed” after connect, endless retries (retryCount 30+)
  • No ERROR lines in worker log — only state: “closed”

Already tried:

  • cursor.general.disableHttp2 + useHttp1ForAgent
  • Full reset: agent logout/login, cleared ~/.cursor/agent-cli-state.json
  • Disabled duplicate LaunchAgent worker
  • New Remote Control session (not old chat)
  • Cursor full restart (Cmd+Q)

Repo: github.com/burkovmu/photo_ai, branch main

Worker log path:
~/Library/Application Support/Cursor/User/globalStorage/anysphere.cursor-agent-worker/cursor-agent-worker-344f16d9c7.log

Please investigate backend bridge registration — worker runs locally but cloud never sees it.

Steps to Reproduce

  1. Open Cursor on Mac, open repo photo_ai
  2. Agents Window (Cmd+Shift+J) → enable Remote Control + Keep computer awake
  3. Start new session with /remote-control
  4. Mac shows “waiting for a worker”
  5. Open Cursor iOS app (same account), try to connect to the session
  6. iPhone shows “unable to complete request”
  7. On Mac terminal: agent worker debug → Visibility probe total=0
  8. Worker process is running but bridge log shows state: “closed” forever

Expected Behavior

Remote Control should connect iPhone to the Mac worker.
agent worker debug should show Visibility probe total=1.
Worker bridge should reach state “connecting” or “idle”, not stay “closed”.

Operating System

MacOS

Version Information

IDE:
Version: 3.9.16
CLI: 2026.06.26-7079533
iOS: 26.3.1
macOS: darwin arm64

Additional Information

Settings tried: cursor.general.disableHttp2, useHttp1ForAgent in cli-config.json.
Full reset: agent logout/login, cleared agent-cli-state.json.
Worker ID: b52d1301-e135-53b7-a0e0-b6d6c30c4479
Log: ~/Library/Application Support/Cursor/User/globalStorage/anysphere.cursor-agent-worker/cursor-agent-worker-344f16d9c7.log
Cloud Agent works; only Remote Control / local worker bridge is broken.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey @Mike_Burkov!

Thanks for the report.

Could you share these logs?

Hi @Colin — thanks for looking into this!

Attached: cursor-worker-log-for-support.txt (key excerpts + current agent worker debug output). Full log is ~1.1MB / 12800 lines if you need it — no API keys or secrets in the file.

Summary: Worker starts and authenticates successfully, switches bridge to https://api2direct.cursor.sh (Host: api2.cursor.sh), registers worker ID b52d1301-e135-53b7-a0e0-b6d6c30c4479, but session state stays "closed" before and after every connect attempt. Endless retry loop (retryCount 2800+). No ERROR or WARN lines anywhere in the log. agent worker debug still shows Visibility probe total=0 while the IDE worker process is running locally.

Startup:

11:34:27.013 INFO Starting in bridge mode … bridgeUrl: “https://api2direct.cursor.sh

11:34:27.045 INFO Using persisted worker ID … workerId: “b52d1301-e135-53b7-a0e0-b6d6c30c4479”

11:34:27.045 INFO Starting bridge connection attempt … retryCount: 0

11:34:27.046 INFO Session state before connect … state: “closed”

11:34:27.046 INFO Session state after connect … state: “closed”

11:34:27.048 INFO Private worker started

Latest (still ongoing):

11:25:42.248 INFO Starting bridge connection attempt … retryCount: 2840

11:25:42.249 INFO Session state before connect … state: “closed”

11:25:42.249 INFO Session state after connect … state: “closed”

Already tried: agent logout/login, cleared ~/.cursor/agent-cli-state.json, disabled duplicate LaunchAgent worker, Cursor full restart (Cmd+Q), new /remote-control session, VPN Germany on Mac + iPhone. Cloud Agent works fine — only Remote Control / local worker bridge registration is broken.

Happy to share network diagnostics or the full log file if needed.

cursor-worker-log-for-support.txt (37,1 КБ)

Thanks @Mike_Burkov!

Typically, these errors would indicate that the private worker is failing to connect to https://api2direct.cursor.sh.

  • If you take the VPN out of the equation, is it successful?
  • Can you try again on Cursor v3.10? We’re continuing to ship improvements to Remote Worker. v3.9 was our first ship!