Error during TTS dubbing stage [Edge-TTS (Free)] edge-tts error:target_audio='C:/Users/HP/Downloads/tmp/8156/be4fad0bad/20261029-181826-edgetts-txt-1793280033.3308165.mp3'
Traceback (most recent call last):
File "videotrans\task\_base.py", line 261, in _edgetts_single
File "edge_tts\communicate.py", line 566, in stream
File "edge_tts\communicate.py", line 431, in __stream
File "aiohttp\client.py", line 1482, in aenter
File "aiohttp\client.py", line 1078, in _ws_connect
aiohttp.client_exceptions.WSServerHandshakeError: 429, message='Invalid response status', url='wss://api.msedgeservices.com/tts/cognitiveservices/websocket/v1?Ocp-Apim-Subscription-Key=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=be26083b37644f56abd6639dfd7ffe02&Sec-MS-GEC=F2F4E176E3ED0DFBD62C6BA085465856487DDD98345ADE231834CD9759CCCF7F&Sec-MS-GEC-Version=1-143.0.3650.75'
The above exception was the direct cause of the following exception:
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\dubbing.py", line 53, in dubbing
File "videotrans\task\dubbing.py", line 135, in _tts
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "videotrans\task\_base.py", line 272, in _edgetts_single
videotrans.configure.excepts.DubbingSrtError: edge-tts error:target_audio='C:/Users/HP/Downloads/tmp/8156/be4fad0bad/20261029-181826-edgetts-txt-1793280033.3308165.mp3'
trk=[DubbingSrt]: uuid='be4fad0bad', proxy_str=None, cfg=[TaskCfgTTS]
原始输入文件名: C:/Users/HP/Downloads/tmp/8156/20261029-181826.txt,
输出结果保存到文件夹: C:/Users/HP/Downloads/output/tts,
临时文件夹: C:/Users/HP/Downloads/tmp/8156/be4fad0bad
未启用CUDA加速
TTS Service:Edge-TTS (Free), 角色:Steffan(Male/US), 配音语言:en
音量:+0%, 语速:+0%, 未选 音频加速
未选 移除字幕间空隙, 未选 强制对齐字幕和声音
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default, precent=1, hasend=False, should_recogn=False, should_trans=False, should_dubbing=True, should_hebing=False, out_ext='wav', is_multi_role=False, ignore_align=True, output_folder=None, subs=[]
=
system:Windows-10-10.0.19045-SP0
version:v4.16
frozen:True
language:en_US
root_dir:C:/Users/HP/Downloads