[Bug] 插件发布「解析」持续 502(Cloudflare: origin invalid response),options 接口正常、zip 通道已关,无法完成投稿

Đang mở
#21 1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github
Lĩnh vực
api, backend

Hướng nghiên cứu

The payload names no source file in this repository; the failing call is POST /api/v1/market/plugins/parse/github on the AstrBot Cloud origin, while GET /api/v1/market/options returns 200. The work is server-side: find why the origin fails when fetching from github.com, using its outbound logs and timeouts. Done means the parse request succeeds for the reported repository, or the root cause is documented on the issue.

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

Mô tả

问题概述 / Summary

通过 cloud.astrbot.app/publish 发布插件时,「从 GitHub 仓库解析」按钮持续返回 Cloudflare 502 系错误:

The origin web server returned an invalid or incomplete response to Cloudflare. This typically indicates the origin is overloaded or misconfigured.

2026-10-31 18:30 起至 20:15(CST)多次尝试均如此,间隔重试无济于事。

复现步骤 / Steps to reproduce
  1. 登录 AstrBot Cloud(GitHub OAuth,账号 tahk416)
  2. 打开 https://cloud.astrbot.app/publish
  3. 命名空间选 tahk416,仓库选 tahk416/astrbot_plugin_human_punct
  4. 点「解析」→ 等待约 10 秒 → 红色报错条
期望行为 / Expected behavior

正常解析仓库 metadata.yaml 并进入下一步。

实际行为 / Actual behavior

502(Cloudflare "origin returned invalid response")。

相关页面或资源链接 / Related URL

https://cloud.astrbot.app/publish

补充排查信息 / Extra diagnostics(由我的本地代理协助收集)
  • 目标仓库为公开仓库,含规范 metadata.yaml 与 tag v1.0.2:https://github.com/tahk416/astrbot_plugin_human_punct
  • metadata.yaml 已按 https://docs.astrbot.app/dev/star/plugin-publish.html 规范逐字段核对(name/display_name/desc/version/author/repo/astrbot_version/support_platforms/tags),插件目录位于仓库根下,zip 体积 4.5KB << 16MB
  • 同期 GET /api/v1/market/options 秒回 200(服务与数据库存活),仅 POST /api/v1/market/plugins/parse/github 502 → 疑似源站服务器访问 GitHub 超时/失败(贵站出口到 github.com 链路问题),而非本仓库内容问题
  • 参考 #3(相同报错文案,当时以修正 metadata 解决):本次 metadata 已确认合规,且报错发生在"解析请求"阶段而非"校验失败"阶段,建议查源站对 github.com 的出网日志
  • 另注意到 zip_upload_enabled: false,zip 直传通道目前关闭,无法绕开 GitHub 解析

期望 24h 内配额恢复后能重试成功,或告知需要我在仓库侧做任何调整。谢谢!

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
6
Fork
0
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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 AstrBotDevs/astrbot-cloud-issues

Tất cả issue của AstrBotDevs/astrbot-cloud-issues

Issue tương tự

Thêm issue về Backend & API Design

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.