claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] network disconnection cause CC to remain permanently offline

Open tassa-yoniso-manasi-karoto opened this issue 7 months ago • 2 comments

Environment

  • Platform (select one):
    • [x ] Anthropic API (MAX subscription)
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ ] Other:
  • Claude CLI version: v0.2.115
  • Operating System: LInux 6.12, NetworkManager
  • Terminal: gnome-terminal

Bug Description

disconnecting from the active network (wifi) will cause CC to remain permanently offline. Online status returns after a restart.

Steps to Reproduce

  1. disconnect Network
  2. reconnect

Expected Behavior

online when Network reconnects

Actual Behavior

remains "offline"

I see claude hang on its response when network is completely offline, so I am able to repro. thanks for the report!

wolffiex avatar May 16 '25 14:05 wolffiex

If you use ESC multiple times before it responds, each time ending the conversation prematurely, it does the same thing. Remains offline until you do a full restart.

rbc132 avatar May 20 '25 01:05 rbc132

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 04 '25 14:08 github-actions[bot]