Remote cloud containers stuck at 'Setting up a cloud container' — Missing queryFn: sessions_api_list_sessions
Open 💬 0 comments Opened Jun 25, 2026 by slupov
Environment
- Mac: macOS Tahoe 26.3.1 (25D771280a), Claude desktop 1.15200.0 (250bae), built 2026-06-23
- iOS: iOS 26.5, Claude v1.260618.1 (27978583058)
- Network: Both devices are on the same local network. No VPN on either device.
Symptom
When initiating a remote session from the iOS app, the desktop shows a "Setting up a cloud container" progress panel with four steps. The first step spins indefinitely and the remaining three never start:
- Setting up a cloud container — spinner active, never completes
- Clone repository — unstarted (empty circle)
- Run setup script — unstarted (empty circle)
- Start Claude Code — unstarted (empty circle)
The session never progresses past step 1. No error is shown in the UI — it just spins until manually dismissed.
Root cause from logs
~/Library/Logs/Claude/claude.ai-web.log shows this error repeating every ~10 minutes all day:
Missing queryFn: '["sessions_api_list_sessions",{"orgUuid":"..."}]'
The sessions API query function is never registered, so the app cannot list or provision remote sessions at all.
Also seen repeatedly:
404 Session not found — POST /v1/code/sessions/<session_id>/mark_read
{"error":{"message":"Session <id> not found","type":"not_found_error"}}
Steps to reproduce
- Open Claude on iOS
- Start a new remote/cloud session targeting the Mac desktop
- Desktop shows "Setting up a cloud container" and hangs indefinitely
Attempted fixes
- Full app quit and relaunch
- Cleared
~/Library/Application Support/Claude/CacheandCode Cachedirectories
Neither resolved the issue.