Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Cloudflare challenge (cf-mitigated: challenge) blocks opencode-sse, causing 403 on all agent requests

Đang mở
#44 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
node.js, typescript
Lĩnh vực
api, desktop, security

Hướng nghiên cứu

No source files or tests are named. Start with the opencode-sse component and the supplied logs, then verify that the daemon's API/SSE requests receive the Cloudflare challenge instead of the OpenCode response. Done means the platform-side integration no longer surfaces 403 challenge pages for valid MiniMax Agent requests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Bug Description

MiniMax Agent daemon receives Cloudflare HTML challenge page instead of OpenCode API response, causing all mavis agent requests to fail with 403.

Environment

  • Product: MiniMax Agent (desktop app)
  • OS: Windows 11
  • Region: HKG (Hong Kong)

Evidence from logs

  • Component: opencode-sse
  • cf-mitigated: challenge
  • cf-ray: a01e5c448f0108d1-HKG (and 5 others, see below)
  • Response title: Just a moment...
  • Response body: Cloudflare HTML challenge page (JavaScript challenge)
  • Response server: cloudflare
Full list of cf-ray IDs from the same session
  • a01e53769f45ccbf-HKG
  • a01e5590598aa8ad-HKG
  • a01e55906b1a8546-HKG
  • a01e5593ed6909c8-HKG
  • a01e5c448f0108d1-HKG
  • a01e5c517e2c04e9-HKG
  • a01e5c799c0608b8-HKG

Ruled out on user end

  • ✅ No local proxy configured (netsh winhttp show proxy = Direct access)
  • ✅ Windows Firewall allows outbound
  • ✅ Usage quota: 27 / 15,000 tokens (not exceeded)
  • ✅ api.minimax.chat reachable from PowerShell directly — only MiniMax Agent daemon receives the challenge
  • ✅ The codex_sandbox_offline_block_* firewall rules were unrelated and disabled

Root cause

Cloudflare is intercepting the MiniMax Agent daemon's SSE/API requests and returning a browser challenge page. The Node.js background process cannot execute JavaScript challenges, so it surfaces the 403 to the user.

Request

Please escalate to the platform/API team. MiniMax Agent's OpenCode SSE integration needs either:

  1. Cloudflare challenge-bypass handling for verified MiniMax Agent traffic, or
  2. Whitelisting of MiniMax Agent's request signature with Cloudflare
Ngôn ngữ chính
TypeScript
Star
1.3k
Fork
168
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MiniMax-AI/OpenRoom

Tất cả issue của MiniMax-AI/OpenRoom

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.