claude-code - 💡(How to fix) Fix CCR routine stuck indefinitely at 'Setting up a cloud container' [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55140Fetched 2026-05-01 05:45:14
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
1
Author
Timeline (top)
labeled ×3commented ×1

A Claude Code Remote (CCR) routine gets stuck at the "Setting up a cloud container" provisioning step and never progresses. The session never starts, the container never becomes ready, and there is no timeout or error surfaced in the UI — it just hangs forever.

Error Message

A Claude Code Remote (CCR) routine gets stuck at the "Setting up a cloud container" provisioning step and never progresses. The session never starts, the container never becomes ready, and there is no timeout or error surfaced in the UI — it just hangs forever. 4. Observe: the UI shows "Setting up a cloud container" indefinitely — no progress, no error, no timeout

Root Cause

A Claude Code Remote (CCR) routine gets stuck at the "Setting up a cloud container" provisioning step and never progresses. The session never starts, the container never becomes ready, and there is no timeout or error surfaced in the UI — it just hangs forever.

RAW_BUFFERClick to expand / collapse

Summary

A Claude Code Remote (CCR) routine gets stuck at the "Setting up a cloud container" provisioning step and never progresses. The session never starts, the container never becomes ready, and there is no timeout or error surfaced in the UI — it just hangs forever.

Environment

  • Environment ID: env_016SbNzQutHAHSFG9W6msTFX (kind: anthropic_cloud, name: Default)
  • Trigger ID: trig_018USzJRjmdW6xGbft7o3p9f
  • Model: claude-sonnet-4-6
  • Git source: private GitHub repo (authenticated via PAT embedded in URL)
  • Triggered via: both scheduled cron (0 15 * * 5) and manual "Run now"

Steps to reproduce

  1. Create a CCR routine targeting the anthropic_cloud Default environment
  2. Trigger it (manually or via schedule)
  3. Open the routine page at https://claude.ai/code/routines/<trigger_id>
  4. Observe: the UI shows "Setting up a cloud container" indefinitely — no progress, no error, no timeout

Expected behaviour

Container provisions within ~30–60 seconds and the agent session begins.

Actual behaviour

Container setup hangs at step 1 for 6+ minutes with no progress. Stopping and re-triggering exhibits the same behaviour repeatedly.

Additional notes

  • The GH PAT and git source URL are correct (verified by inspecting the stored routine config)
  • The hang occurs before the git clone step, so authentication is not the cause
  • Other routines targeting the same environment exhibit the same issue when first triggered
  • Appears to be a cold-start / provisioning issue specific to newly created anthropic_cloud environments

extent analysis

TL;DR

The issue can be mitigated by investigating the provisioning process of the anthropic_cloud environment and potentially applying a workaround to handle cold-start issues.

Guidance

  • Investigate the anthropic_cloud environment's provisioning logs to identify any errors or bottlenecks that may be causing the hang.
  • Verify that the environment's configuration and resources are correctly set up and sufficient for the CCR routine.
  • Consider implementing a retry mechanism or a timeout for the provisioning step to handle potential cold-start issues.
  • Check if other users or routines are experiencing similar issues with the anthropic_cloud environment.

Example

No code snippet is provided as the issue seems to be related to the environment provisioning process rather than a specific code error.

Notes

The issue appears to be specific to newly created anthropic_cloud environments and may be related to a cold-start or provisioning issue. Further investigation is needed to determine the root cause.

Recommendation

Apply a workaround, such as implementing a retry mechanism or a timeout for the provisioning step, to mitigate the issue while further investigation is conducted.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix CCR routine stuck indefinitely at 'Setting up a cloud container' [1 comments, 2 participants]