mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #1161] [Bug] 华为云CDN UpdateDomainMultiCertificates触发限流报错。 #784
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#784
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 @j14ncn on GitHub (Jan 15, 2026).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1161
Release Version / 软件版本
v0.4.13
Description / 缺陷描述
证书部署到华为云CDN的时候,会有下面的ratelimit报错。
failed to execute sdk request 'cdn.UpdateDomainMultiCertificates': {"status_code":429,"request_id":"fa1519e71be75ceab2433b411d8374a5","error_code":"APIGW.0308","error_message":"The throttling threshold has been reached: policy user over ratelimit,limit:20,time:1 minute","encoded_authorization_message":""}
查了华为云官方文档,UpdateDomainMultiCertificates 单租户调用频率:20次/min。
Steps to reproduce / 复现步骤
华为云部署CDN证书,当域名超过20个时就会报错。
Logs / 日志
Miscellaneous / 其他
看了项目huaweicdn相关的操作,目前都是单个提交,当域名超过20个的时候就会触发policy user over ratelimit,limit:20,time:1 minute。
需要把domain_name改成批量提交,官方文档提到domain_name最多支持50个域名,这样就可以减少提交次数,不再触发ratelimit。
Contribution / 贡献代码