[GH-ISSUE #1161] [Bug] 华为云CDN UpdateDomainMultiCertificates触发限流报错。 #784

Closed
opened 2026-03-03 01:06:00 +03:00 by kerem · 0 comments
Owner

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。

Image

Steps to reproduce / 复现步骤

华为云部署CDN证书,当域名超过20个时就会报错。

Logs / 日志

# Paste logs here / 请在此粘贴日志

Miscellaneous / 其他

看了项目huaweicdn相关的操作,目前都是单个提交,当域名超过20个的时候就会触发policy user over ratelimit,limit:20,time:1 minute。
需要把domain_name改成批量提交,官方文档提到domain_name最多支持50个域名,这样就可以减少提交次数,不再触发ratelimit。

Contribution / 贡献代码

  • I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
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。 <img width="683" height="784" alt="Image" src="https://github.com/user-attachments/assets/742d45fe-4e7e-459d-9099-1838f16b2695" /> ### Steps to reproduce / 复现步骤 华为云部署CDN证书,当域名超过20个时就会报错。 ### Logs / 日志 <details> ```console # Paste logs here / 请在此粘贴日志 ``` </details> ### Miscellaneous / 其他 看了项目huaweicdn相关的操作,目前都是单个提交,当域名超过20个的时候就会触发policy user over ratelimit,limit:20,time:1 minute。 需要把domain_name改成批量提交,官方文档提到domain_name最多支持50个域名,这样就可以减少提交次数,不再触发ratelimit。 ### Contribution / 贡献代码 - [ ] I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
kerem 2026-03-03 01:06:00 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#784
No description provided.