Background Agent connection failed

:lady_beetle: Provide a clear description of the bug
When trying to launch a background agent, after already successfully setting one up via the configuration and setting up the base environment + snapshot, I get the following error and a background agent does not spin up.
Connection failed. If the problem persists, please check your internet connection or VPN
Failed to start Background Agent. [internal] internal error

:counterclockwise_arrows_button: Explain how to reproduce the bug (if known)

  1. Connect a github account and repo
  2. Configure a snapshot and runtime configuration that properly works when going through the interactive mode
  3. Give any prompt and try to launch a background agent

:laptop: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).
Version: 1.0.0
OS: Mac Darwin arm64 24.4.0

Additional Notes:
I have already tried disabling http2, and I’m not on a vpn or corporate network or anything. I have also tried restarting cursor, and my entire machine as well to verify it isn’t an issue on my end.

I’m on an M1 Mac Studio Max with the same issue:

Version: 1.0.0
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:21:22.523Z (1 wk ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0

Hey both, can I confirm if you are still seeing this issue?

Yes I’m still seeing this same issue even in 1.1.2

Also getting a similar error.

The error is ACROSS machines.

Background agents started failing now i can only launch a background agent 1/20 times.

Started happening on my windows box, now it happens on mac m1, which i’ve never used to code before.

Yep, I experience the same issue.

Hey, which version of Cursor are you using?

Latest.
Version: 1.1.7
VSCode Version: 1.96.2
Commit: 7111807980fa9c93aedd455ffa44b682c0dc1350
Date: 2025-07-01T07:26:02.358Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.2.0