mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #1120] [Feature] 部署证书失败时,打印响应状态码、响应体 #756
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#756
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pooneyy on GitHub (Dec 22, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1120
Description / 功能描述
部署证书失败时,打印响应状态码、响应体
Motivation / 请求动机
部署证书失败时,打印响应状态码、响应体,这样可以便于排查。
事情发生在今晚,部署证书失败,反复尝试数次均未成功。翻遍日志,发现1panel面板并没有请求记录,然后登录 CDN 后台,终于找到了对应的记录,原来是因为我前段时间调整了 CDN 的防护策略,CDN 把这些部署证书的请求全部拦截了。本次应该是 CDN 返回的内容不是 json,解析失败所以报错。
如果日志记录了请求的响应内容,那么一下就能发现问题在哪,这样会少走不少弯路。
Miscellaneous / 其他
No response
Contribution / 贡献代码
@pooneyy commented on GitHub (Dec 22, 2025):
消息推送作为获取错误详情的途径之一,有时不那么可靠