Dubbing Error [Edge-TTS(Free)] Network connection failed
Traceback (most recent call last):
File "videotrans\tts\_base.py", line 130, in run
RuntimeError: no running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\task\job.py", line 214, in run
File "videotrans\task\_dubbing.py", line 52, in dubbing
File "videotrans\task\_dubbing.py", line 222, in _tts
File "videotrans\tts\__init__.py", line 319, in run
File "videotrans\tts\_base.py", line 192, in run
File "videotrans\tts\_edgetts.py", line 68, in _create_audio_with_retry
File "asyncio\tasks.py", line 445, in wait_for
File "edge_tts\communicate.py", line 590, in save
File "edge_tts\communicate.py", line 573, 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: 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=3e072a2f31e644e180853806963ba94b&Sec-MS-GEC=539377BFB65E003745569BB133546961CD5F6BB714F82645F56A760685F08250&Sec-MS-GEC-Version=1-143.0.3650.75'
TaskCfgTTS(is_cuda=True, uuid='41ae40c67a', cache_folder='E:/ytrans/tmp/24364/41ae40c67a', target_dir='E:/en/Section 01 - Intro', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code='en', target_sub='E:/2023/personal/inspo2/Songi/subtitle/en/Section 01 - Intro/01.Orientation Telling Your Story through Animated Film.en.srt', target_wav='E:/en/Section 01 - Intro/01.Orientation Telling Your Story through Animated Film.en.mp3', target_wav_output=None, name='E:/en/Section 01 - Intro/01.Orientation Telling Your Story through Animated Film.en.srt', noextname='01.Orientation Telling Your Story through Animated Film.en', basename='01.Orientation Telling Your Story through Animated Film.en.srt', ext='srt', dirname='E:/en/Section 01 - Intro', shound_del_name=None, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+25%', voice_role='Emma(Female/US)', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=False)
=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:en
root_dir:E:/ytrans