Skip to content

Claude Code doesn't recover after airplane mode / WiFi reconnect #44031

Description

@mvanhorn

When internet connectivity drops mid-session (e.g., airplane mode, WiFi hiccup) and then comes back, Claude Code does not attempt to reconnect or retry. Instead, it errors out and the session effectively dies. The user has to manually start a new session.

Steps to reproduce

  1. Start a Claude Code session with an active task (e.g., a skill running multiple tool calls)
  2. Lose internet connectivity (toggle airplane mode, disconnect WiFi, etc.)
  3. Restore connectivity after a few seconds

Expected behavior

Claude Code detects the connection is back and retries the failed request, resuming the session where it left off.

Actual behavior

Claude Code throws an error on the failed API call and does not retry. The session is unrecoverable - you have to start fresh and lose all context.

Impact

Any long-running session (planning, multi-step code review, status checks across many repos) is fragile to even momentary network blips. Losing a deep session to a 5-second WiFi dropout is painful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions