#7998 配音阶段出错 [Edge-TTS(免费)] All error for edge-tts 403, message='Invalid response status', url='wss://speech.platform.bing.co

240e**8410 Posted at: 2 hours ago

配音阶段出错 [Edge-TTS(免费)] All error for edge-tts 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=77c5adaaf5e54c1697b1a963be964ecf&Sec-MS-GEC=EDEC6DA7CEC08CB81E302B6EB1F21A87FCB46D30A78252EDAE04A2AC49B8651E&Sec-MS-GEC-Version=1-143.0.3650.75'
Traceback (most recent call last):

File "videotrans\tts\_base.py", line 84, in run

RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 154, in process_task

File "videotrans\task\trans_create.py", line 667, in dubbing

File "videotrans\task\trans_create.py", line 990, in _tts

File "videotrans\tts\__init__.py", line 192, in run

File "videotrans\tts\_base.py", line 88, in run

File "asyncio\base_events.py", line 649, in run_until_complete

File "videotrans\tts\_edgetts.py", line 200, in _exec

videotrans.configure.excepts.DubbingSrtError: All error for edge-tts 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=77c5adaaf5e54c1697b1a963be964ecf&Sec-MS-GEC=EDEC6DA7CEC08CB81E302B6EB1F21A87FCB46D30A78252EDAE04A2AC49B8651E&Sec-MS-GEC-Version=1-143.0.3650.75'
cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 批量翻译模式
原始输入文件名: D:/Desktop/意大利/搬运素材/10.11/1.mp4,
输出结果保存到文件夹: D:/Desktop/意大利/搬运素材/10.11 翻译/1-mp4,
临时文件夹: D:/Desktop/win-pyvideotrans-v4.03-0626/tmp/10808/ee63e58a8c
未选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:意大利语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Isabella(Female/IT), 配音语言:意大利语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 不嵌入字幕
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.19045-SP0
version:v4.03
frozen:True
language:zh
root_dir:D:/Desktop/win-pyvideotrans-v4.03-0626

1 Replies

#1 DeepSeek reply at 2 hours ago

Edge-TTS 返回 403,通常是微软免费接口因请求过于频繁或代理异常导致的外部 IP 被临时限流/拦截,与您的视频文件无关。

解决步骤:

  1. 降低请求频率:打开 菜单 → 工具/选项 → 高级选项 → 字幕配音调整,将 EdgeTTS配音渠道配音并发数 设为 1,将 配音后暂停秒 设为 5~10,必要时可提高到 10~15。
  2. 检查代理:Edge-TTS 不走代理一般更稳定。若主界面填写了代理,请先清空;也可在软件根目录新建空文件 edgetts-noproxy.txt,强制 Edge-TTS 绕过代理。
  3. 更新软件:您当前为 v4.03,旧版接口可能已失效或存在已修复的 bug,请升级到最新版 v4.15 后再试。
  4. 若仍失败,可暂时改用其他免费配音渠道,如 gTTS(免费),或改用本地内置渠道(如 Qwen-TTS / F5-TTS),避免依赖微软在线接口。

若上述操作后仍报错,请提供 logs/ 目录下最新日志底部约30行内容,以便进一步分析。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource