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

199.66**5 Posted at: 3 hours ago

Dubbing failed completely:403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=816395847c3b4fe0901c749d16140b7c&Sec-MS-GEC=EB38102EB822B34225929AD2751250F9514F4DCDA17289D342824A5A193AF074&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'ta-MY-KaniNeural'}
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 108, 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 122, in run
File "videotrans\tts\_base.py", line 95, 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 235, 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=816395847c3b4fe0901c749d16140b7c&Sec-MS-GEC=EB38102EB822B34225929AD2751250F9514F4DCDA17289D342824A5A193AF074&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'ta-MY-KaniNeural'}

trk=[TransCreate]: uuid='0dc6ec0815', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/Backup/Archive/Vid/20261005/1_5044385762838055400.mp4,
输出结果保存到文件夹: D:/Backup/Archive/Vid/20261005/_video_out/1_5044385762838055400-mp4,
临时文件夹: D:/Backup/tmp/27192/0dc6ec0815
未选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Hindi,
TranslateSrt:Microsoft Translate (Free),原始语言:Hindi,目标语言:Tamil, 未选 SendSRT
TTS Service:Edge-TTS (Free), 角色:Kani(Female/MY), 配音语言:Tamil, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
已选 移除字幕间空隙, 已选 强制对齐字幕和声音
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: No Subtitles
已选 仅输出mp4, precent=12, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
trk.cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/Backup/Archive/Vid/20261005/1_5044385762838055400.mp4,
输出结果保存到文件夹: D:/Backup/Archive/Vid/20261005/_video_out/1_5044385762838055400-mp4,
临时文件夹: D:/Backup/tmp/27192/0dc6ec0815
未选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Hindi,
TranslateSrt:Microsoft Translate (Free),原始语言:Hindi,目标语言:Tamil, 未选 SendSRT
TTS Service:Edge-TTS (Free), 角色:Kani(Female/MY), 配音语言:Tamil, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
已选 移除字幕间空隙, 已选 强制对齐字幕和声音
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: No Subtitles
已选 仅输出mp4
video_duration_ms=541353


=
system:Windows-10-10.0.26200-SP0
version:v4.15
frozen:True
language:en_US
root_dir:D:/Backup

1 Replies

#1 DeepSeek reply at 3 hours ago

The 403 error from speech.platform.bing.com is the known Edge-TTS free interface issue. Microsoft changed the endpoint validation logic, so most Edge-TTS requests now return 403 on older versions.

Solution:

  1. Upgrade pyVideoTrans to v4.16 (or latest). The update includes a fix for Edge-TTS 403.

    • Download the full package or patch from the official page and overwrite all files.
  2. For source deployments on macOS/Linux/Windows, run the following to update the edge-tts library:

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

    If it fails, first run uv remove edge-tts, then re-run uv add.

  3. If you cannot upgrade immediately, switch to another TTS channel temporarily, e.g. gTTS (Free), Qwen3-TTS, or another built-in TTS that supports Tamil.
  4. To reduce rate‑limit risk when using Edge‑TTS, set:

    • Advanced Options → Dubbing → EdgeTTS dubbing concurrency to 1
    • Pause (s) after each dubbing request to 5-10

Please refer to the documents:

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