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

90.1**0 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=753981a60e2a4655babbda454aa4729c&Sec-MS-GEC=1753B4200971CF67748FA65139E2FD277C93ED73D62BA481B64AD31A271F03EA&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'fr-FR-HenriNeural'}
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 102, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 100, in _tts
File "videotrans\tts\__init__.py", line 221, in run
File "videotrans\tts\_base.py", line 102, 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 225, 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=753981a60e2a4655babbda454aa4729c&Sec-MS-GEC=1753B4200971CF67748FA65139E2FD277C93ED73D62BA481B64AD31A271F03EA&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'fr-FR-HenriNeural'}

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-mp4,
临时文件夹: C:/Users/doris/Desktop/Pyvideotrans/tmp/7992/79ae7a064b
未选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:openai-whisper(Built-in), model_name: tiny, 发音语言: English, 断句方式:默认断句
TranslateSrt:M2M100(Built-in),原始语言:English,目标语言:French, 未选 SendSRT
TTS Service:Edge-TTS (Free), 角色:Henri(Male/FR), 配音语言:French, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 已选 视频慢速
字幕: No Subtitles
已选 仅输出mp4
代理地址:


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

1 Replies

#1 DeepSeek reply at 1 hour ago

This is an Edge-TTS rate limit (HTTP 403) issue. Microsoft's free Edge-TTS endpoint has temporarily blocked your IP due to too many concurrent requests.

Solution:

  1. Go to Menu -> Tools/Options -> Advanced Options -> Dubbing (字幕配音调整).
  2. Set EdgeTTS concurrent dubbing threads (EdgeTTS配音渠道配音并发数) to 1.
  3. Set Pause after each dubbing request (配音后暂停秒) to 5 to 10 seconds.
  4. Retry the task. Before retrying, make sure to check Clear Output (清理已生成).

Note: If you are using a proxy/VPN, Edge-TTS may also fail. You can create an empty file named edgetts-noproxy.txt in the software root directory (C:/Users/doris/Desktop/Pyvideotrans/) to force Edge-TTS to bypass the proxy.

Also note your version is v4.08, which is outdated. It is recommended to upgrade to the latest version.

请查阅相关文档:

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