claude-code - 💡(How to fix) Fix Claude code cli all models are down - it is happening more... [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48574Fetched 2026-04-16 06:56:24
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
4
Author
Participants
Timeline (top)
labeled ×5cross-referenced ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/dev/.local/share/claude/versions/2.1.109 (expected in multi-process scenarios)\n at NU$ (/$bunfs/root/src/entrypoints/cli.js:2344:2153)\n at Es8 (/$bunfs/root/src/entrypoints/cli.js:2344:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:18.921Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at gMH (/$bunfs/root/src/entrypoints/cli.js:1722:33935)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:18.987Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at gMH (/$bunfs/root/src/entrypoints/cli.js:1722:33935)\n at async Z (/$bunfs/root/src/entrypoints/cli.js:6111:10916)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:19.493Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at gMH (/$bunfs/root/src/entrypoints/cli.js:1722:33935)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6111:11711)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:19.494Z"},{"error":"AxiosError: Request failed with status code 404\n at rF (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:27:18.784Z"},{"error":"Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca5jRyEDDswpgjn1HT9VL"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:52527)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T14:42:00.508Z"},{"error":"Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca5jh6rmcGVsafVmHVYne"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:52527)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T14:45:25.531Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/dev/.local/share/claude/versions/2.1.109 (expected in multi-process scenarios)\n    at NU$ (/$bunfs/root/src/entrypoints/cli.js:2344:2153)\n    at Es8 (/$bunfs/root/src/entrypoints/cli.js:2344:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:18.921Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at gMH (/$bunfs/root/src/entrypoints/cli.js:1722:33935)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:18.987Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at gMH (/$bunfs/root/src/entrypoints/cli.js:1722:33935)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6111:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:19.493Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at gMH (/$bunfs/root/src/entrypoints/cli.js:1722:33935)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6111:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:19.494Z"},{"error":"AxiosError: Request failed with status code 404\n    at rF (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:27:18.784Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Ca5jRyEDDswpgjn1HT9VL\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52527)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T14:42:00.508Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Ca5jh6rmcGVsafVmHVYne\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52527)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T14:45:25.531Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Claude code cli all models are down - it is happening more often now thats why i report id rather than wait: API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca5jRyEDDswpgjn1HT9VL"} · check status.claude.com

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.109
  • Feedback ID: 0f7e143d-9be3-4fa6-9e6a-ed8b60b91479

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/dev/.local/share/claude/versions/2.1.109 (expected in multi-process scenarios)\n    at NU$ (/$bunfs/root/src/entrypoints/cli.js:2344:2153)\n    at Es8 (/$bunfs/root/src/entrypoints/cli.js:2344:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:18.921Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at gMH (/$bunfs/root/src/entrypoints/cli.js:1722:33935)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:18.987Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at gMH (/$bunfs/root/src/entrypoints/cli.js:1722:33935)\n    at async Z (/$bunfs/root/src/entrypoints/cli.js:6111:10916)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:19.493Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at gMH (/$bunfs/root/src/entrypoints/cli.js:1722:33935)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6111:11711)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:22:19.494Z"},{"error":"AxiosError: Request failed with status code 404\n    at rF (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T09:27:18.784Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Ca5jRyEDDswpgjn1HT9VL\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52527)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T14:42:00.508Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Ca5jh6rmcGVsafVmHVYne\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52527)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T14:45:25.531Z"}]

extent analysis

TL;DR

The issue is likely due to missing environment variables, specifically GITHUB_PERSONAL_ACCESS_TOKEN, which is required for the Claude CLI to function properly.

Guidance

  1. Check environment variables: Verify that the GITHUB_PERSONAL_ACCESS_TOKEN environment variable is set and valid.
  2. Set environment variable: If the variable is not set, create a new environment variable GITHUB_PERSONAL_ACCESS_TOKEN with a valid GitHub personal access token.
  3. Lock acquisition issue: The error message also mentions a lock acquisition failure, which may be related to multi-process scenarios; consider checking the Claude CLI documentation for guidance on handling this issue.
  4. API Error 500: The internal server error (500) may be a downstream effect of the missing environment variable or lock acquisition issue; resolving the primary issue may also resolve the API error.

Example

No code example is provided as the issue seems to be related to environment variable configuration rather than code.

Notes

The provided error messages suggest that the issue is related to environment variable configuration and potential lock acquisition issues in multi-process scenarios. Resolving these issues may require additional troubleshooting and configuration changes.

Recommendation

Apply workaround: Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable with a valid GitHub personal access token to resolve the primary issue, and then verify if the API Error 500 and lock acquisition issue are resolved.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING