claude-code - 💡(How to fix) Fix [BUG]Remote-control session unresumable on iOS app after cost limit expires [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#47882Fetched 2026-04-15 06:39:36
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

When a Claude Code /remote-control session hits a cost limit, and no terminal confirmation was issued to pause/wait, the session cannot be resumed from the iOS Claude app once the limit expires. The iOS app shows a flashing activity icon as if the session is alive and processing, but no response is ever returned. The session is frozen in a perpetual loading state with no timeout, error message, or recovery option presented to the user. This is misleading as the UI implies work is in progress when the session is in fact stuck. After the cost limit resets, the user should be able to resume the /remote-control session from the iOS Claude app, or receive a clear error/notification with a recovery path. Session appears alive — activity icon flashes continuously — but no response is ever returned. No terminal pause/wait prompt was ever presented, so the user had no opportunity to intervene before the session became stuck. There is no timeout, no error surfaced, and no way to recover from within the iOS app.

Error Messages/Logs

UI bug: iOS app displays flashing activity icon indefinitely instead of surfacing an error, timeout, or recovery option

Root Cause

Root cause: /remote-control session unresumable after cost limit expires without terminal confirmation UI bug: iOS app displays flashing activity icon indefinitely instead of surfacing an error, timeout, or recovery option

Code Example

Two Related Issues:

Root cause: /remote-control session unresumable after cost limit expires without terminal confirmation
UI bug: iOS app displays flashing activity icon indefinitely instead of surfacing an error, timeout, or recovery option
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

What's Wrong? When a Claude Code /remote-control session hits a cost limit, and no terminal confirmation was issued to pause/wait, the session cannot be resumed from the iOS Claude app once the limit expires. The iOS app shows a flashing activity icon as if the session is alive and processing, but no response is ever returned. The session is frozen in a perpetual loading state with no timeout, error message, or recovery option presented to the user. This is misleading as the UI implies work is in progress when the session is in fact stuck.

Environment:

Claude Code version: 2.1.104 Plan: Max iOS Claude app version: v1.260402.0 (23983293197) Device + iOS version: [e.g. iPhone 16, iOS 18.4] Platform: Anthropic API

What Should Happen?

Expected Behaviour: After the cost limit resets, the user should be able to resume the /remote-control session from the iOS Claude app, or receive a clear error/notification with a recovery path.

Actual Behaviour: Session appears alive — activity icon flashes continuously — but no response is ever returned. No terminal pause/wait prompt was ever presented, so the user had no opportunity to intervene before the session became stuck. There is no timeout, no error surfaced, and no way to recover from within the iOS app.

Error Messages/Logs

Two Related Issues:

Root cause: /remote-control session unresumable after cost limit expires without terminal confirmation
UI bug: iOS app displays flashing activity icon indefinitely instead of surfacing an error, timeout, or recovery option

Steps to Reproduce

Start a /remote-control session from the iOS Claude app A cost limit is imposed on the session User does not confirm continuation at the physical terminal Cost limit timer expires Attempt to resume the session via the iOS Claude app Session cannot be resumed — activity icon flashes indefinitely, no response returned

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

CC 2.1.104 iOS Claude app version: v1.260402.0 (23983293197)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can be mitigated by implementing a timeout or error handling mechanism in the iOS Claude app to handle stuck sessions after a cost limit expires without terminal confirmation.

Guidance

  • Investigate the Anthropic API documentation to see if there are any existing error codes or callbacks that can be used to detect when a session has become stuck due to a cost limit expiration.
  • Consider adding a timeout mechanism in the iOS Claude app to detect when a session has been inactive for an extended period, and surface an error or recovery option to the user.
  • Review the /remote-control session implementation to determine if there are any opportunities to improve error handling or add recovery paths when a cost limit is imposed.
  • Verify that the issue is not specific to the Opus Claude model or the macOS operating system by testing with other models and platforms.

Example

No code snippet is provided as the issue does not contain sufficient technical details to create a specific example.

Notes

The root cause of the issue appears to be related to the handling of cost limit expirations in the /remote-control session implementation, but further investigation is needed to determine the exact cause and implement a fix.

Recommendation

Apply a workaround by implementing a timeout or error handling mechanism in the iOS Claude app to handle stuck sessions, as the issue is likely related to the current implementation and not a version-specific bug that can be fixed by upgrading.

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