#7932 Error during TTS dubbing stage [Edge-TTS (Free)] Dubbing failed completely:403, message='Invalid response status', url='

37.132**6 Posted at: 1 hour ago

Error during TTS dubbing stage [Edge-TTS (Free)] Dubbing failed completely:403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=db037e929dca4b56b6329c6121874b8d&Sec-MS-GEC=6422C9E8EE2AA5E2B76203CC79FF1BE625CF38D22BFD09DD91BD3E6E6EF05C2B&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'es-ES-XimenaNeural'}
Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 155, in process_task

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=db037e929dca4b56b6329c6121874b8d&Sec-MS-GEC=6422C9E8EE2AA5E2B76203CC79FF1BE625CF38D22BFD09DD91BD3E6E6EF05C2B&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'es-ES-XimenaNeural'}
trk=[TransCreate]: uuid='fb678a98c6', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 批量翻译模式
原始输入文件名: C:/Users/cex/Downloads/iTubeGo/The Only Order Flow Setup You'll Ever Need(WITH PROOF!!).mp4,
输出结果保存到文件夹: C:/Users/cex/Downloads/iTubeGo/_video_out/The Only Order Flow Setup You'll Ever Need(WITH PROOF!!)-mp4,
临时文件夹: C:/Users/cex/Desktop/win-pyvideotrans-v4.15/tmp/20104/fb678a98c6
已选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: English,
TranslateSrt:Google Translate (Free),原始语言:English,目标语言:Spanish, 已选 SendSRT
TTS Service:Edge-TTS (Free), 角色:Ximena(Female/ES), 配音语言:Spanish, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: No Subtitles , precent=15, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=265, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=False


=
system:Windows-10-10.0.26200-SP0
version:v4.15
frozen:True
language:en_US
root_dir:C:/Users/cex/Desktop/win-pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 1 hour ago

This is an Edge-TTS rate limit / IP block issue. Edge-TTS (Free) uses Microsoft's public WebSocket endpoint; when too many requests arrive in a short time (or your public IP is flagged), Microsoft's firewall returns 403 Invalid response status and blocks the connection.

Solution steps:

  1. Reduce concurrency and increase request delay:

    • Go to Menu → Tools/Options → Advanced Options → Dubbing
    • Set EdgeTTS配音渠道配音并发数/(The higher concurrent of EdgeTTS) to 1
    • Set 配音后暂停秒/(Pause (s) after each dubbing request) to 5–10
    • Also set 并发配音线程数/(Concurrent dubbing threads) to 1
  2. Wait before retrying:

    • A 403 ban is usually temporary. Stop the task, wait 10–30 minutes, then restart with the settings above.
    • Retrying immediately with the same IP will keep being rejected.
  3. If you are using a VPN/proxy on this machine:

    • Edge-TTS may fail when routed through a proxy. Create an empty file named edgetts-noproxy.txt in the software root directory (next to sp.exe) to force Edge-TTS to bypass the proxy. EdgeTTS will also auto-disable the proxy and retry when it detects proxy errors.
    • Alternatively switch to a cleaner VPN node, or clear the proxy field in the main interface if not needed.
  4. If the 403 persists, switch the dubbing channel:

    • Try Qwen3-TTS (Built-in), OmniVoice-TTS, or gTTS as an alternative.
    • Note the Spanish voice es-ES-XimenaNeural is valid; the 403 is not caused by the voice selection but by the connection being rejected.

Please refer to 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