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

148.252**9 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=5b54fd0e15e24ba79b31d928f5969c90&Sec-MS-GEC=71F987F271E255A8A09DEE35DECA60121F3C312F85753E25DD1451B547A4D6A2&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'en-US-SteffanNeural'}
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 119, in run
File "videotrans\tts\_base.py", line 93, 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=5b54fd0e15e24ba79b31d928f5969c90&Sec-MS-GEC=71F987F271E255A8A09DEE35DECA60121F3C312F85753E25DD1451B547A4D6A2&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'en-US-SteffanNeural'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/rajamoiz/Desktop/Helicopter Jump/1-6 blocking second round of reorganization and mo.mp4,
输出结果保存到文件夹: C:/Users/rajamoiz/Desktop/Helicopter Jump/_video_out/1-6 blocking second round of reorganization and mo-mp4,
临时文件夹: C:/Users/rajamoiz/Desktop/dub software/tmp/1736/88ab1b099b
已选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Simplified Chinese, 断句方式:默认断句
TranslateSrt:Zhipu AI,原始语言:Simplified Chinese,目标语言:English, 已选 SendSRT
TTS Service:Edge-TTS (Free), 角色:Steffan(Male/US), 配音语言:English, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: No Subtitles
已选 仅输出mp4
video_duration_ms=2125081


=
system:Windows-10-10.0.26300-SP0
version:v4.14
frozen:True
language:en_US
root_dir:C:/Users/rajamoiz/Desktop/dub software

1 Replies

#1 DeepSeek reply at 1 hour ago

This is an Edge-TTS 403 error. Microsoft changed the validation logic for the free Edge-TTS API, and older versions of pyVideoTrans fail with this error. Your version is v4.14, but this issue is fixed in v4.16.

Solution

  1. Upgrade to the latest version (v4.16 or newer):

    • Windows pre-packaged: download the latest full package or patch from https://pyvideotrans.com/downpackage and overwrite your current installation.
    • If you are running from source on macOS/Linux/Windows, run this command to update the Edge-TTS dependency:

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

      If that fails, first run uv remove edge-tts and then retry the uv add command.

  2. If you are using a proxy, Edge-TTS may also fail with 403. Create an empty file named edgetts-noproxy.txt in the software root directory to force Edge-TTS to bypass the proxy.
  3. While waiting to upgrade, you can temporarily switch to another TTS channel such as gTTS (free) (requires that your network can reach Google) or any local/paid TTS channel that suits your needs.

Please read 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