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

90.1**0 Posted at: 58 minutes ago

Dubbing failed completely:403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=2d331579db0e40c698dad44a5a4da530&Sec-MS-GEC=02FC67CF395F6AE80BDB2090B4685B3048C70BFEB22FE0CC857379CD68A64039&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'fr-FR-RemyMultilingualNeural'}
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
......
ad44a5a4da530&Sec-MS-GEC=02FC67CF395F6AE80BDB2090B4685B3048C70BFEB22FE0CC857379CD68A64039&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'fr-FR-RemyMultilingualNeural'}

trk=[TransCreate]: uuid='79ae7a064b', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/doris/Desktop/Building Blocks by Calen Morelli/Building Blocks by Calen Morelli.mp4,
输出结果保存到文件夹: C:/Users/doris/Desktop/Building Blocks by Calen Morelli/_video_out/Building Blocks by Calen Morelli-mp4,
临时文件夹: C:/Users/doris/Desktop/Pyvideotrans-v4.15/tmp/9712/79ae7a064b
未选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: English,
TranslateSrt:Google Translate (Free),原始语言:English,目标语言:French, 未选 SendSRT
TTS Service:Edge-TTS (Free), 角色:RemyMultilingual(Male/FR), 配音语言:French, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: Soft Subtitles , 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]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/doris/Desktop/Building Blocks by Calen Morelli/Building Blocks by Calen Morelli.mp4,
输出结果保存到文件夹: C:/Users/doris/Desktop/Building Blocks by Calen Morelli/_video_out/Building Blocks by Calen Morelli-mp4,
临时文件夹: C:/Users/doris/Desktop/Pyvideotrans-v4.15/tmp/9712/79ae7a064b
未选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: English,
TranslateSrt:Google Translate (Free),原始语言:English,目标语言:French, 未选 SendSRT
TTS Service:Edge-TTS (Free), 角色:RemyMultilingual(Male/FR), 配音语言:French, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: Soft Subtitles
video_duration_ms=1672958


=
system:Windows-10-10.0.19045-SP0
version:v4.15
frozen:True
language:en_US
root_dir:C:/Users/doris/Desktop/Pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 58 minutes ago

This is an Edge-TTS rate-limit block (HTTP 403), not a bug in your configuration. Edge-TTS uses Microsoft's free public WebSocket endpoint; when too many requests are sent in a short burst, Microsoft's firewall temporarily blocks your public IP, causing 403 Invalid response status. Your log confirms the root cause: the request failed on the speech.platform.bing.com synthesize endpoint for voice fr-FR-RemyMultilingualNeural, and no proxy was in use (proxy_str=None).

Fix (do these in order)

  1. Throttle Edge-TTS requests

    • Go to Menu → Tools/Options → Advanced Options → Dubbing Settings
    • Set Concurrent dubbing threads (EdgeTTS) → 1
    • Set Pause (s) after each dubbing request → 5 to 10
    • Save and retry. This is the standard cure for repeated 403s.
  2. Enforce proxy bypass for Edge-TTS (if you have any proxy/VPN configured)

    • In the software root directory (where sp.exe is), create an empty text file named edgetts-noproxy.txt.
    • This forces Edge-TTS to skip the network proxy, which is a common cause of connection failures.
  3. If 403 persists immediately

    • The IP block may be temporary. Wait ~15–30 minutes before retrying, or switch your network/VPN node (if VPN is active, the exit IP may be flagged).
    • Alternatively, switch the TTS channel to gTTS (Free) or a local/built-in TTS channel (e.g. Qwen3-TTS, OmniVoice, ZipVoice) to continue the job without waiting.

Notes

  • Keep concurrency at 1 and pause at 5–10s permanently if you dub frequently — it is the only reliable way to avoid Edge-TTS bans.
  • Your pipeline settings are otherwise fine (single-video mode, faster-whisper large-v3-turbo, French target, voice fr-FR-RemyMultilingualNeural). Only the Edge-TTS request throttling needs correction.

请查阅相关文档:

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