# Can't complete cloud agent setup

**URL:** <https://forum.cursor.com/t/cant-complete-cloud-agent-setup/145201>\
**Category:** Bug Reports\
**Created:** [December 4, 2025, 6:53am UTC](https://forum.cursor.com/t/cant-complete-cloud-agent-setup/145201 "2025-12-04T06:53:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [December 4, 2025, 10:53am UTC](https://forum.cursor.com/t/cant-complete-cloud-agent-setup/145201/2 "2025-12-04T10:53:52Z")

</div>

Hey, thanks for the report. I see 502/504 on the “Validate Setup” step during “Creating testing environment…”. Can we gather more data?

Please attach:

- `.cursor/environment.json`
- Exact install/start/terminals commands (and how long they usually take locally)
- Do you use Secrets in Settings → Cloud Agents → Secrets
- Full output from the “Validate Setup” step, new Request IDs (from lines “Request ID: …”), and the attempt time
- Settings → Network → Run Diagnostics (screenshot/results), any VPN/proxy/corp network; try enabling Settings → search “HTTP/2” → “Disable HTTP/2”

Quick checks:

- Create a new snapshot and retry Validate: [Cloud Agents | Cursor Docs](https://cursor.com/docs/cloud-agent)
- Temporarily remove install/start (keep the minimal install) to check if it fails before script execution
- If your scripts need access to allowlisted resources, ensure egress IPs are allowed: [https://cursor.com/docs/cloud-agent/egress-ip-ranges](https://cursor.com/docs/cloud-agent/egress-ip-ranges)

Send updated Request IDs (besides the ones you provided) - I’ll pass them to the engineers if the issue persists.

---

_[View the full topic](https://forum.cursor.com/t/cant-complete-cloud-agent-setup/145201)._
