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

111.183**9 Posted at: 2 hours ago

配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=2b5b059b102a43a487fca40ef4324bc4&Sec-MS-GEC=A8C9529FE890F6C44563049734F00F00974A027E72D59005F07096967FC4FC32&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=2b5b059b102a43a487fca40ef4324bc4&Sec-MS-GEC=A8C9529FE890F6C44563049734F00F00974A027E72D59005F07096967FC4FC32&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, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:M2M100(内置),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道: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 2 hours ago

这是 Edge-TTS 免费接口的已知问题:微软更改了验证逻辑,旧版本(v4.11)无法通过验证,导致 403 错误。请升级软件至 v4.16 或更新版本,该版本已修复此问题。

解决步骤:

  1. 前往官网下载最新完整包或补丁包覆盖: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. 若升级后仍遇到代理问题(软件检测到代理错误),可在软件根目录创建空文件 edgetts-noproxy.txt,强制 Edge-TTS 绕过代理后重试。

请查阅相关文档:

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