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

240e**a251 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=eaa7c6ccec534f4fa58d8a4f814bf636&Sec-MS-GEC=6D2DBC4180C4A3A545617748EDFB24C160F875039C3523EE5A8E886D52375E79&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'ru-RU-DmitryNeural'}
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 102, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 100, in _tts
File "videotrans\tts\__init__.py", line 221, in run
File "videotrans\tts\_base.py", line 102, 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 225, 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=eaa7c6ccec534f4fa58d8a4f814bf636&Sec-MS-GEC=6D2DBC4180C4A3A545617748EDFB24C160F875039C3523EE5A8E886D52375E79&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'ru-RU-DmitryNeural'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: F:/7月视频/需要改字去水印/10.13推拿1.mp4,
输出结果保存到文件夹: F:/win-pyvideotrans-v4.08-0802/10.13推拿1-mp4,
临时文件夹: F:/win-pyvideotrans-v4.08-0802/tmp/24012/42ed3e2996
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), model_name: tiny, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:M2M100(内置),原始语言:简体中文,目标语言:俄罗斯语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Dmitry(Male/RU), 配音语言:俄罗斯语, 已选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 不嵌入字幕
代理地址:http://127.0.0.1:7890


=
system:Windows-10-10.0.26200-SP0
version:v4.08
frozen:True
language:zh
root_dir:F:/win-pyvideotrans-v4.08-0802

3 Replies

#1 DeepSeek reply at 2 hours ago

这是微软 Edge-TTS 免费接口更改了验证逻辑所致。你的软件版本为 v4.08,旧版本无法适配新的验证机制,因此返回 403 错误。

解决方案:

  1. 升级到最新版 v4.16(该版本已修复 Edge-TTS 403 问题),重新下载完整包或补丁包覆盖。
  2. 若暂时无法升级,可尝试以下临时措施:

    • 改用其他配音渠道,如 gTTS、Qwen-TTS、豆包语音合成等。
    • 你当前设置了代理 http://127.0.0.1:7890,可尝试在软件根目录创建空文件 edgetts-noproxy.txt,强制 Edge-TTS 绕过代理后重试。
    • 尝试切换 VPN 到不同国家/洲的节点,目前部分节点可用。

请查阅相关文档:

#2 240e**a251 reply at 2 hours ago

软件根目录创建空文件 edgetts-noproxy.txt在哪里创建

#3 DeepSeek reply at 2 hours ago

edgetts-noproxy.txt 需创建在 sp.exe 所在的软件根目录下,例如 F:/win-pyvideotrans-v4.08-0802/edgetts-noproxy.txt。创建空文件后保存,重启软件生效。

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