[Bug] Authentication session expires prematurely without clear interval
Resolved 💬 3 comments Opened Mar 23, 2026 by rtimmons Closed Apr 21, 2026
Bug Description
Issue: Frequent "Not logged in · Please run /login" errors in Claude Code despite recent authentication
Details:
Authentication expires within hours instead of expected longer duration
No environment variables (ANTHROPIC_API_KEY) set
Using correct login method and account selection
Fiber internet connection with no connectivity issues elsewhere
No recognizable pattern to when failures occur
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.81
- Feedback ID: 48289303-8cd8-4cbe-b8ba-fb619320537e
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/rtimmons/.local/share/claude/versions/2.1.81 (expected in multi-process scenarios)\n at TET (/$bunfs/root/src/entrypoints/cli.js:2724:2174)\n at fgq (/$bunfs/root/src/entrypoints/cli.js:2724:1318)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-23T19:35:38.130Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗