claude-code - 💡(How to fix) Fix [BUG] Remote session (iOS app) disconnects when OS (windows) sleeps/locks the screen 10min system settings [1 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#56127Fetched 2026-05-05 05:57:31
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×3renamed ×1

Error Message

Error Messages/Logs

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?

When my windows session locks, all connected remote sessions in my iOS Claude app disconnects. If reactivate my windows session, everything comes back to normal.

What Should Happen?

This started to happen this weekend (sunday - 2026-apr-03)

Error Messages/Logs

Steps to Reproduce

Windows sleeps/locks (not manually) after 10 min (system config)

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.126

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

extent analysis

TL;DR

The issue can likely be mitigated by adjusting the Windows system configuration to prevent the session from locking or sleeping, or by implementing a keep-alive mechanism in the Claude app.

Guidance

  • Investigate the Windows system settings to adjust the sleep/lock timeout or configure the system to remain active when idle.
  • Consider implementing a keep-alive mechanism in the Claude app to maintain the remote sessions even when the Windows session is locked.
  • Verify if the issue is specific to the Claude Code version 2.1.126 or if it persists across different versions.
  • Check the Anthropic API documentation to see if there are any recommendations for handling session persistence.

Example

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

Notes

The issue may be related to the Windows system configuration or the Claude app's handling of idle sessions. Further investigation is needed to determine the root cause.

Recommendation

Apply a workaround by adjusting the Windows system configuration to prevent the session from locking or sleeping, as the root cause is unclear and no fixed version is implied.

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 [BUG] Remote session (iOS app) disconnects when OS (windows) sleeps/locks the screen 10min system settings [1 participants]