claude-code - 💡(How to fix) Fix [Bug] Cloudflare HTTP 403 "managed challenge" blocking all API requests from Spectrum ISP IP range [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#54692Fetched 2026-04-30 06:38:39
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mattelsey/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T14:23:14.893Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mattelsey/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n    at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n    at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T14:23:14.893Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Issue: All HTTPS requests to api.anthropic.com blocked by Cloudflare with HTTP 403 "managed challenge" response. Preventing use of Claude Code for work.

ISP: Spectrum (Charter Communications) Location: Macedonia, OH First observed: April 29, 2026, ~13:57 UTC

Confirmed via: curl -v https://api.anthropic.com/v1/messages Response: HTTP/2 403 Headers: cf-mitigated: challenge, server: cloudflare Body: Cloudflare JavaScript challenge page

Ruled out:

  • No VPN/proxy/DNS filtering
  • No system-level proxy (verified via scutil --proxy)
  • TLS handshake completes cleanly
  • Block occurs at Cloudflare edge before reaching Anthropic servers

Request: Please investigate ray ID and adjust Cloudflare challenge rules for this IP range.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.123
  • Feedback ID: d51cc945-b7b7-4e10-a413-22a1e83e5c12

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mattelsey/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n    at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n    at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T14:23:14.893Z"}]

extent analysis

TL;DR

The issue is likely due to Cloudflare's security features blocking requests from the user's IP range, and adjusting Cloudflare challenge rules for this IP range may resolve the issue.

Guidance

  • Verify that the issue is specific to the user's IP range by testing the request from a different location or network.
  • Check if other users in the same region or with the same ISP are experiencing similar issues.
  • Investigate the Cloudflare ray ID to understand the specific challenge rules that are being applied.
  • Consider reaching out to Cloudflare support to request adjustments to their challenge rules for the affected IP range.

Example

No code snippet is provided as it is not directly relevant to the issue.

Notes

The issue seems to be related to Cloudflare's security features and not a problem with the user's system or application configuration. The provided error message in the Errors section appears to be unrelated to the main issue.

Recommendation

Apply workaround: Reach out to Cloudflare support to request adjustments to their challenge rules for the affected IP range, as this is the most direct way to address the issue.

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