#4578 RuntimeError: Error code: 429 - {'error': {'code': 'RequestBurstTooFast', 'message': 'System protection triggered by req

103.3* Posted at: 1 hour ago 👁7

Error code: 429 - {'error': {'code': 'RequestBurstTooFast', 'message': 'System protection triggered by request burst. Please slow down traffic growth and increase requests gradually before retrying. Request id: 02177882948637779be1521b480472bd1aa7097703cfa20b68bc3', 'param': '', 'type': 'TooManyRequests'}}
Traceback (most recent call last):
File "videotrans\translator\_huoshan.py", line 45, in _item_task
File "openai\resources\responses\responses.py", line 898, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1070, in request
openai.RateLimitError: Error code: 429 - {'error': {'code': 'RequestBurstTooFast', 'message': 'System protection triggered by request burst. Please slow down traffic growth and increase requests gradually before retrying. Request id: 02177882948637779be1521b480472bd1aa7097703cfa20b68bc3', 'param': '', 'type': 'TooManyRequests'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 71, in run
File "videotrans\task\trans_create.py", line 689, in trans
File "videotrans\translator\__init__.py", line 1027, in run
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, in _run_srt
File "videotrans\translator\_huoshan.py", line 55, in _item_task
RuntimeError: Error code: 429 - {'error': {'code': 'RequestBurstTooFast', 'message': 'System protection triggered by request burst. Please slow down traffic growth and increase requests gradually before retrying. Request id: 02177882948637779be1521b480472bd1aa7097703cfa20b68bc3', 'param': '', 'type': 'TooManyRequests'}}


=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/tools/win508

1 Replies

这是由于火山翻译API触发了请求频率限制(429错误),需要降低请求速率。

解决方案

  1. 打开高级选项:点击菜单栏 工具/选项高级选项字幕翻译调整
  2. 降低AI翻译渠道并发

    • AI翻译渠道每批字幕行数 减小(例如从20改为5或10)。
    • 翻译后暂停秒 增大(例如从默认0改为2-5秒)。
  3. 强制串行处理:在 通用设置 中,勾选 批量翻译时强制串行,避免多个任务同时请求。
  4. 重启软件后重试:以上设置保存后,重新开始翻译任务即可。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource