[Bug] Crash on network interruption (VPN disconnect) with no session recovery

Resolved 💬 2 comments Opened Feb 22, 2026 by m-mcgowan Closed Mar 22, 2026

Bug Description
When switching VPN networks (specifically tailscale down), claude code crashes. I just had this happen after a half-hour design session. There were no plans and no artifacts that claude could use to resume. After restarting claude, I lost all the output from the previous session in the terminal. But thanks for the session context being saved to json files, I managed to use that to recover most of the previous discussion.

Here's an example of the crash:

# this is my status line:
[Opus 4.6] · note-cpp high-level API design  ctx:42%
  ⏵⏵ accept edits on (shift+tab to cycle)
Abort trap: 6

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.47
  • Feedback ID: 85d00734-cb1c-4fb0-97e8-9e195387d98a

Errors

[{"error":"Error: ENOENT: no such file or directory, open '/Users/mat/.claude/remote-settings.json'\n    at openSync (unknown)\n    at readSync (/$bunfs/root/claude:12:1441)\n    at K6 (/$bunfs/root/claude:6132:113)\n    at b2 (/$bunfs/root/claude:6134:226)\n    at oIL (/$bunfs/root/claude:178:8371)\n    at D0A (/$bunfs/root/claude:178:8534)\n    at OKM (/$bunfs/root/claude:179:1234)\n    at pLH (/$bunfs/root/claude:179:2112)\n    at x1 (/$bunfs/root/claude:179:2039)\n    at isI (/$bunfs/root/claude:433:3291)","timestamp":"2026-02-22T16:28:51.714Z"},{"error":"Error: ENOENT: no such file or directory, open '/Users/mat/.claude/remote-settings.json'\n    at openSync (unknown)\n    at readSync (/$bunfs/root/claude:12:1441)\n    at K6 (/$bunfs/root/claude:6132:113)\n    at b2 (/$bunfs/root/claude:6134:226)\n    at oIL (/$bunfs/root/claude:178:8371)\n    at D0A (/$bunfs/root/claude:178:8534)\n    at DE (/$bunfs/root/claude:178:10927)\n    at en (/$bunfs/root/claude:179:2322)\n    at SG (/$bunfs/root/claude:6136:2374)\n    at <anonymous> (/$bunfs/root/claude:6149:7917)","timestamp":"2026-02-22T16:28:51.830Z"},{"error":"Error: ENOENT: no such file or directory, open '/Users/mat/.claude/remote-settings.json'\n    at openSync (unknown)\n    at readSync (/$bunfs/root/claude:12:1441)\n    at K6 (/$bunfs/root/claude:6132:113)\n    at b2 (/$bunfs/root/claude:6134:226)\n    at oIL (/$bunfs/root/claude:178:8371)\n    at D0A (/$bunfs/root/claude:178:8534)\n    at DE (/$bunfs/root/claude:178:10927)\n    at en (/$bunfs/root/claude:179:2322)\n    at SG (/$bunfs/root/claude:6136:2374)\n    at <anonymous> (/$bunfs/root/claude:6149:8921)","timestamp":"2026-02-22T16:28:51.832Z"},{"error":"Error: ENOENT: no such file or directory, open '/Users/mat/.claude/remote-settings.json'\n    at openSync (unknown)\n    at readSync (/$bunfs/root/claude:12:1441)\n    at K6 (/$bunfs/root/claude:6132:113)\n    at b2 (/$bunfs/root/claude:6134:226)\n    at oIL (/$bunfs/root/claude:178:8371)\n    at tTL (/$bunfs/root/claude:2166:20976)\n    at lD1 (/$bunfs/root/claude:2166:21881)\n    at <anonymous> (/$bunfs/root/claude:11417:510)\n    at <anonymous> (/$bunfs/root/claude:6165:1974)\n    at forEach (native:1:11)","timestamp":"2026-02-22T16:28:51.833Z"},{"error":"Error: ENOENT: no such file or directory, open '/Users/mat/.claude/remote-settings.json'\n    at openSync (unknown)\n    at readSync (/$bunfs/root/claude:12:1441)\n    at K6 (/$bunfs/root/claude:6132:113)\n    at b2 (/$bunfs/root/claude:6134:226)\n    at oIL (/$bunfs/root/claude:178:8371)\n    at D0A (/$bunfs/root/claude:178:8534)\n    at DE (/$bunfs/root/claude:178:10927)\n    at OqH (/$bunfs/root/claude:319:1160)\n    at B9A (/$bunfs/root/claude:319:1655)\n    at jt1 (/$bunfs/root/claude:5817:18670)","timestamp":"2026-02-22T16:28:51.836Z"},{"error":"Error: ENOENT: no such file or directory, open '/Users/mat/.claude/remote-settings.json'\n    at openSync (unknown)\n    at readSync (/$bunfs/root/claude:12:1441)\n    at K6 (/$bunfs/root/claude:6132:113)\n    at b2 (/$bunfs/root/claude:6134:226)\n    at oIL (/$bunfs/root/claude:178:8371)\n    at D0A (/$bunfs/root/claude:178:8534)\n    at DE (/$bunfs/root/claude:178:10927)\n    at ZqH (/$bunfs/root/claude:319:1765)\n    at B9A (/$bunfs/root/claude:319:1727)\n    at jt1 (/$bunfs/root/claude:5817:18670)","timestamp":"2026-02-22T16:28:51.837Z"},{"error":"Error: ENOENT: no such file or directory, open '/Users/mat/.claude/remote-settings.json'\n    at openSync (unknown)\n    at readSync (/$bunfs/root/claude:12:1441)\n    at K6 (/$bunfs/root/claude:6132:113)\n    at b2 (/$bunfs/root/claude:6134:226)\n    at oIL (/$bunfs/root/claude:178:8371)\n    at D0A (/$bunfs/root/claude:178:8534)\n    at DE (/$bunfs/root/claude:178:10927)\n    at KDL (/$bunfs/root/claude:803:54273)\n    at TDL (/$bunfs/root/claude:803:54766)\n    at XZ0 (/$bunfs/root/claude:11034:4345)\n    at async <anonymous…

Note: Content was truncated.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗