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

85.219**3 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=ac434ac99f5049e98998f4b2a7171e75&Sec-MS-GEC=F3122136E908921D5F1E3BC3930C681D375CCC44FECC45A65F15CE0C81B92FD9&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 118, in run
File "videotrans\tts\_base.py", line 92, 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=ac434ac99f5049e98998f4b2a7171e75&Sec-MS-GEC=F3122136E908921D5F1E3BC3930C681D375CCC44FECC45A65F15CE0C81B92FD9&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'es-AR-TomasNeural'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: H:/fc2-ppv/4-45.mp4,
输出结果保存到文件夹: C:/Users/manol/Documents/pyvideotrans/4-45-mp4,
临时文件夹: C:/Users/manol/Documents/pyvideotrans/tmp/10492/3e2124cf59
已选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Russian, 断句方式:默认断句
TranslateSrt:Microsoft Translate (Free),原始语言:Russian,目标语言:Spanish, 已选 SendSRT
TTS Service:Edge-TTS (Free), 角色:Tomas(Male/AR), 配音语言:Spanish, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: No Subtitles
video_duration_ms=6566880


=
system:Windows-10-10.0.26200-SP0
version:v4.13
frozen:True
language:en_US
root_dir:C:/Users/manol/Documents/pyvideotrans

1 Replies

#1 DeepSeek reply at 1 hour ago

The 403 error is caused by Microsoft's Edge-TTS free service temporarily blocking your IP due to too-frequent requests (rate limiting), not by a bug in pyVideoTrans.

How to fix:

  1. Open the menu: Menu -> Tools/Options -> Advanced Options (菜单 -> 工具/选项 -> 高级选项).
  2. Go to the 【Dubbing Settings / 字幕配音调整】 section.
  3. Set EdgeTTS配音渠道配音并发数 (Concurrent dubbing threads for EdgeTTS) to 1.
  4. Set 配音后暂停秒 (Pause (s) after each dubbing request) to 5–10.
  5. Save, restart the software, then retry the task. Make sure 清理已生成 (Clear Output) is checked so it regenerates the dubbing.

This calls the free Microsoft interface gently at low frequency and prevents the 403 block.

If it still fails, check these additional points:

  • Proxy issue: Edge-TTS may fail when a proxy is in use. In the software root directory (the folder containing sp.exe, here C:/Users/manol/Documents/pyvideotrans), create an empty file named edgetts-noproxy.txt to force Edge-TTS to bypass the proxy, then retry.
  • IP node quality: If you are using a VPN, a "dirty" node IP may also trigger the 403. Try switching to another node.
  • Alternative channels: If the free channel keeps failing, switch the TTS channel to another provider (e.g. gTTS (Free), or a built-in channel like Qwen3-TTS / OmniVoice-TTS), or a paid API channel such as Doubao TTS 2.0.

Note: your configuration shows 西班牙语 (Spanish) selected with voice role Tomas(Male/AR) — the all_voices={'es-AR-TomasNeural'} line indicates the Argentine Spanish voice was used; this is compatible with Spanish and not itself the cause of the 403.

请查阅相关文档:

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