[Bug] Session authentication expires unexpectedly on instance restart
Resolved 💬 3 comments Opened Jan 22, 2026 by c2keesey Closed Jan 26, 2026
Bug Description
I am getting logged out periodically now. maybe 3-5 times per day when restarting claude instances.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.14
- Feedback ID: df84fc15-3164-4d19-9392-7d33151fbfb8
Errors
[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at FIT (/$bunfs/root/claude:4502:22262)\n at async <anonymous> (/$bunfs/root/claude:5385:718)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:36.898Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n at readdirSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1903)\n at e3 (/$bunfs/root/claude:11:34695)\n at readdirSync (/$bunfs/root/claude:12:1864)\n at n6R (/$bunfs/root/claude:1465:380)\n at n6R (/$bunfs/root/claude:1465:1350)\n at <anonymous> (/$bunfs/root/claude:1465:4440)\n at <anonymous> (/$bunfs/root/claude:1465:5171)\n at A (/$bunfs/root/claude:11:7245)\n at zC8 (/$bunfs/root/claude:4096:4342)","timestamp":"2026-01-22T17:57:36.919Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n at start (/$bunfs/root/claude:1535:22299)\n at async $ (/$bunfs/root/claude:1535:24751)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:37.022Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n at start (/$bunfs/root/claude:1535:22299)\n at async $ (/$bunfs/root/claude:1535:24751)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:37.022Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/claude:1535:20844)\n at start (/$bunfs/root/claude:1535:22353)\n at $ (/$bunfs/root/claude:1535:24751)\n at $ (/$bunfs/root/claude:1535:25726)\n at _ (/$bunfs/root/claude:1535:32513)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:37.022Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/claude:1535:20844)\n at start (/$bunfs/root/claude:1535:22353)\n at $ (/$bunfs/root/claude:1535:24751)\n at $ (/$bunfs/root/claude:1535:25726)\n at _ (/$bunfs/root/claude:1535:32513)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:37.022Z"},{"error":"Error: Failed to start LSP server plugin:pyright-lsp:pyright: Executable not found in $PATH: \"pyright-langserver\"\n at <anonymous> (/$bunfs/root/claude:1535:32535)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:37.022Z"},{"error":"Error: Failed to start LSP server plugin:typescript-lsp:typescript: Executable not found in $PATH: \"typescript-language-server\"\n at <anonymous> (/$bunfs/root/claude:1535:32535)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:37.022Z"},{"error":"Error\n at tb (/$bunfs/root/claude:42:1143)\n at <anonymous> (/$bunfs/root/claude:47:10084)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:49:2147)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:37.639Z"},{"error":"Error\n at tb (/$bunfs/root/claude:42:1143)\n at <anonymous> (/$bunfs/root/claude:47:10084)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:49:2147)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:37.909Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth token has expired. Please obtain a new token or refresh your existing token.\"},\"request_id\":\"req_011CXNrDaaKvvw66UP7GVJnm\"}\n at generate (/$bunfs/root/claude:868:2120)\n at makeRequest (/$bunfs/root/claude:885:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-22T17:57:37.944Z"},{"error":"Error\n at tb (/$bunfs/root/claude:42:1143)\n at <anonymous…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗