[Bug] Frequent session timeout causing repeated authentication on remote servers

Resolved 💬 3 comments Opened Mar 24, 2026 by nicseltzer Closed Mar 28, 2026

Bug Description
"I am being logged out multiple times a day. This started in the last few days. I use Claude Code on a remove devserver and this blocks my workflows."

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.80
  • Feedback ID: 59294c62-0d56-45f6-b066-823b840046fc

Errors

[{"error":"MaxFileReadTokenExceededError: File content (20350 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at z_9 (/$bunfs/root/src/entrypoints/cli.js:4268:23437)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:14:36.048Z"},{"error":"MaxFileReadTokenExceededError: File content (27339 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at z_9 (/$bunfs/root/src/entrypoints/cli.js:4268:23437)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:14:36.479Z"},{"error":"McpToolCallError: No Chrome extension connected.\n    at A27 (/$bunfs/root/src/entrypoints/cli.js:2772:19781)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:18:20.625Z"},{"error":"McpToolCallError: Failed to read page: Frame with ID 0 is showing error page\n    at A27 (/$bunfs/root/src/entrypoints/cli.js:2772:19781)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:18:58.132Z"},{"error":"McpToolCallError: JavaScript execution error: SyntaxError: Cannot use 'import.meta' outside a module\n    at <anonymous>:5:13\n    at <anonymous>:9:11\n    at A27 (/$bunfs/root/src/entrypoints/cli.js:2772:19781)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:24:28.818Z"},{"error":"McpToolCallError: Failed to execute action: Duration cannot exceed 10 seconds\n    at A27 (/$bunfs/root/src/entrypoints/cli.js:2772:19781)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:33:31.754Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:254:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T14:34:13.811Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:254:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T14:34:17.316Z"},{"error":"McpToolCallError: Error capturing screenshot: Frame with ID 0 is showing error page\n    at A27 (/$bunfs/root/src/entrypoints/cli.js:2772:19781)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T15:10:52.469Z"},{"error":"McpToolCallError: Failed to find element: Frame with ID 0 is showing error page\n    at A27 (/$bunfs/root/src/entrypoints/cli.js:2772:19781)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T15:11:05.891Z"},{"error":"McpToolCallError: Error capturing screenshot: Frame with ID 0 is showing error page\n    at A27 (/$bunfs/root/src/entrypoints/cli.js:2772:19781)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T15:11:28.483Z"},{"error":"McpToolCallError: Error capturing screenshot: Frame with ID 0 is showing error page\n    at A27 (/$bunfs/root/src/entrypoints/cli.js:2772:19781)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T15:12:26.135Z"},{"error":"AxiosError: Request failed with status code 400\n    at Iu (/$bunfs/root/src/entrypoints/cli.js:74:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:79:12775)\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/src/entrypoints/cli.js:81:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T22:41:16.791Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid authentication credentials\"},\"request_id\":\"req_011CZNiBzceCuSHXpMAmALmQ\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:215:12876)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:254:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T22:41:17.082Z"},{"error":"Error: Failed to delete keychain entry\n    at By6 (/$bunfs/root/src/entrypoints/cli.js:421:51879)\n    at async ay6 (/$bunfs/root/src/entrypoints/cli.js:422:698)\n    at async XJq (/$bunfs/root/src/entrypoints/cli.js:422:596)\n    at async yi_ (/$bunfs/root/src/entrypoints/cli.js:2880:2201)\n    at async tA_ (/$bunfs/root/src/entrypoints/cli.js:2904:5402)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2925:2735)\n    at processTicksAnd…

Note: Content was truncated.

View original on GitHub ↗

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