#8143 配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud

111.183**2 Posted at: 1 hour ago

配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=bc2f865950414b6689cfb6f807cc9dfd&Sec-MS-GEC=AA43DB6C320F87F9CFB85257828467330E1FDAE793B1A519090CE66852A45656&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'en-US-JennyNeural'}
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 107, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 101, in _tts
File "videotrans\tts\__init__.py", line 233, in run
File "videotrans\tts\_base.py", line 100, in run
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "videotrans\tts\_edgetts.py", line 228, in _exec
videotrans.configure.excepts.DubbingSrtError: 配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=bc2f865950414b6689cfb6f807cc9dfd&Sec-MS-GEC=AA43DB6C320F87F9CFB85257828467330E1FDAE793B1A519090CE66852A45656&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'en-US-JennyNeural'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/xixisys.com/Videos/2026-10-14 16-32-48.mp4,
输出结果保存到文件夹: C:/Users/xixisys.com/Desktop/videos/2026-10-14 16-32-48-mp4,
临时文件夹: C:/Users/xixisys.com/Desktop/win-pyvideotrans-v4.11/tmp/35484/8358c84691
未选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Jenny(Female/US), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:10808


=
system:Windows-10-10.0.19045-SP0
version:v4.11
frozen:True
language:zh
root_dir:C:/Users/xixisys.com/Desktop/win-pyvideotrans-v4.11

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:你使用的是旧版 v4.11,Edge-TTS 的免费接口已更新验证逻辑,旧版内置的 edge-tts 库会返回 403 错误。此问题已在 v4.16 修复。

解决方法:

  1. 升级软件到最新版 v4.16:下载完整包(或补丁包覆盖)并解压到纯英文目录后运行。下载地址:https://pyvideotrans.com/downpackage
  2. 如果你是源码部署(macOS/Linux/Windows 源码),执行命令更新 edge-tts:
    uv add git+https://github.com/rany2/edge-tts.git
    若报错,先执行 uv remove edge-tts 后再重新执行上面的命令。
  3. 升级后若仍出现 403,请在软件根目录创建空文件 edgetts-noproxy.txt,强制 Edge-TTS 绕过代理后再试。此外可在“高级选项-字幕配音调整”中把 EdgeTTS 并发数设为 1、配音后暂停 5-10 秒,降低限流风险。

请查阅相关文档:

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