#2066 requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://openspeech.bytedance.com/api/v3/auc/

183.187* Posted at: 17 hours ago 👁20

429 Client Error: Too Many Requests for url: https://openspeech.bytedance.com/api/v3/auc/bigmodel/recognize/flash:
Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 18, in run
File "videotrans\recognition\__init__.py", line 213, in run
File "videotrans\recognition\_base.py", line 80, in run
File "videotrans\recognition\_zijiemodel.py", line 70, in _exec
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://openspeech.bytedance.com/api/v3/auc/bigmodel/recognize/flash


=
system:Windows-10-10.0.19045-SP0
version:v3.90
frozen:True
language:zh
root_dir:D:/win-videotrans-v3.84(1)

1 Replies

您遇到的 429 错误是由于请求字节火山语音识别API的频率过高,触发了服务器的限流保护。

请按以下步骤解决:

  1. 立即暂停任务:在软件主界面点击“停止”按钮,中断当前处理。
  2. 降低请求频率

    • 进入菜单栏的 工具 -> 选项 -> 高级选项
    • 在“字幕翻译调整”区域,找到 “翻译后暂停时间/秒” 选项,将数值调高(例如从默认的0改为 35)。
    • 如果使用的是“批量推理”模式,可以尝试切换到“整体识别”模式,后者通常发送的请求更少。
  3. 检查API配额:登录您的字节火山云控制台,确认语音识别服务的免费额度或套餐用量是否已耗尽。如果已用尽,需要等待配额重置或升级套餐。
  4. 稍后重试:完成上述设置后,等待几分钟再重新开始任务。429错误通常是临时性的限流。

如果调整后问题依旧,建议暂时更换为其他语音识别渠道,例如本地的 faster-whisper阿里FunASR,以避免在线API的限流问题。

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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions