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

85.219**3 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=92cc1095f63c4f8e82ea913ac7a8f89b&Sec-MS-GEC=75517EC567EA6902F926C1D3F092867A3FA7057BF956FB199B06D777217944B7&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'es-ES-AlvaroNeural'}
Traceback (most recent call last):

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

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

File "videotrans\task\dubbing.py", line 56, in dubbing

File "videotrans\task\dubbing.py", line 210, 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=92cc1095f63c4f8e82ea913ac7a8f89b&Sec-MS-GEC=75517EC567EA6902F926C1D3F092867A3FA7057BF956FB199B06D777217944B7&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'es-ES-AlvaroNeural'}
[DubbingSrt]语音合成: self.out_ext='wav',self.is_multi_role=False
[TaskCfgTTS]
原始输入文件名: C:/Users/manol/Documents/pyvideotrans/Malysh.2026.WEB-DL.1080p-mkv/es.srt,
输出结果保存到文件夹: C:/Users/manol/Documents/pyvideotrans/output/tts,
临时文件夹: C:/Users/manol/Documents/pyvideotrans/tmp/37944/47ead7b422
已启用CUDA加速
TTS Service:Edge-TTS (Free), 角色:Alvaro(Male/ES), 配音语言:es
音量:+0%, 语速:+0%, 未选 音频加速
未选 移除字幕间空隙, 未选 强制对齐字幕和声音


=
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

This is caused by Microsoft's Edge-TTS free endpoint rejecting your IP address (HTTP 403). The endpoint blocks high-frequency requests or requests routed through an unclean proxy/VPN IP. It is not a bug in your subtitle file or audio.

How to resolve:

  1. Lower the request frequency — The most common fix: Open 菜单(Menu) → 工具/选项(Tools/Options) → 高级选项(Advanced Options) → 字幕配音调整(Dubbing) and set:

    • EdgeTTS配音渠道配音并发数 (Edge-TTS concurrent) = 1
    • 配音后暂停秒 (Pause after each dubbing request) = 5 ~ 10
      This prevents Microsoft from throttling your external IP.
  2. Disable proxy for Edge-TTS — If you use a VPN/proxy, the node IP may be flagged. Create an empty file named edgetts-noproxy.txt in the software root directory (the same folder as sp.exe). This forces Edge-TTS to bypass the proxy. Restart the software after creating it.
  3. Switch VPN node — If you are behind a VPN, switch to a cleaner, more stable node, or temporarily disable the proxy.
  4. Retry with clean cache — After making the above changes, retry and make sure 清理已生成(Clear Output) is checked so the previously generated wrong audio is removed.
  5. Update the software — You are on v4.13. Upgrade to the latest v4.15 (download the new patch package and overwrite, even if you already have the v4.15 full package). If immediate update is not possible, you can temporarily switch the TTS channel to another provider such as gTTS(免费), or use a local/API TTS channel for now.

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