#8139 Dubbing failed completely:403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/sy

148.101**2 Posted at: 1 hour ago

Dubbing failed completely:403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=15bf98f373664655b76e89bec22b6c7c&Sec-MS-GEC=47700D17480D10810869D688790401C1EF5716CD13B3DCD32DDBB61CCA60C2E4&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'es-AR-TomasNeural'}
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 232, in run
File "videotrans\tts\_base.py", line 94, 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: Dubbing failed completely:403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=15bf98f373664655b76e89bec22b6c7c&Sec-MS-GEC=47700D17480D10810869D688790401C1EF5716CD13B3DCD32DDBB61CCA60C2E4&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'es-AR-TomasNeural'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/LixElectronics/Downloads/Why The Matrix Online REALLY Died; The Untold Story/Why The Matrix Online REALLY Died.mp4,
输出结果保存到文件夹: C:/Users/LixElectronics/Downloads/Why The Matrix Online REALLY Died; The Untold Story/_video_out/Why The Matrix Online REALLY Died-mp4,
临时文件夹: E:/Descargas/win-pyvideotrans-v4.12-0913/tmp/26360/54b8ca5756
已选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: English, 断句方式:默认断句
TranslateSrt:Microsoft Translate (Free),原始语言:English,目标语言:Spanish (Latin America), 已选 SendSRT
TTS Service:Edge-TTS (Free), 角色:Tomas(Male/AR), 配音语言:Spanish (Latin America), 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: Hard Subtitles
video_duration_ms=2417533


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:en_US
root_dir:E:/Descargas/win-pyvideotrans-v4.12-0913

1 Replies

#1 DeepSeek reply at 1 hour ago

The 403 error is caused by Microsoft changing Edge-TTS's free API verification method; Edge-TTS is temporarily blocked for your IP/account and cannot be used in v4.12.

Solution:

  1. Upgrade pyVideoTrans to the latest version v4.16 (or at least a version after v4.16 that contains the Edge-TTS fix). Download the latest full package or patch package from https://pyvideotrans.com/downpackage and overwrite your current installation.
  2. If you are using a source deployment on Windows/macOS/Linux, run this command to update the edge-tts dependency:

    uv add git+https://github.com/rany2/edge-tts.git

    If that fails, run uv remove edge-tts first, then retry the update command.

  3. After upgrading, retry dubbing with the same voice (es-AR-TomasNeural). If Edge-TTS still blocks you due to rate limiting, consider reducing concurrency and adding pauses in Advanced Options → Subtitle Dubbing: EdgeTTS dubbing concurrency = 1, pause after dubbing = 5-10s.

Note: Your current version is v4.12, which predates the v4.16 Edge-TTS fix. Upgrading is required to restore Edge-TTS functionality.

Please check the related documentation:

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