Connection timeout, please check network stability:
{'text': 'สวัสดีเพื่อนรักของฉัน ขอให้ทุกๆ วันของคุณเป็นวันที่สวยงามและมีความสุขนะ!', 'rate': '+0%', 'role': 'Premwadee(Female/TH)', 'filename': 'C:\Users\86147\AppData\Local\Temp/pyvideotrans/0-1792572465.056819.wav', 'tts_type': 0, 'language': 'th', 'volume': '+0%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "aiohttp\connector.py", line 1412, in _start_tls_connection
File "asyncio\base_events.py", line 1253, in start_tls
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aiohttp\client.py", line 725, in _connect_and_send_request
File "aiohttp\connector.py", line 622, in connect
File "aiohttp\connector.py", line 1187, in _create_connection
File "aiohttp\connector.py", line 1677, in _create_proxy_connection
File "aiohttp\connector.py", line 1397, in _start_tls_connection
File "async_timeout\__init__.py", line 179, in aexit
File "async_timeout\__init__.py", line 265, in _do_exit
asyncio.exceptions.TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 132, in run
File "videotrans\tts\_base.py", line 95, 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 161, in _exec
File "edge_tts\communicate.py", line 613, in save
File "edge_tts\communicate.py", line 588, in stream
File "edge_tts\communicate.py", line 461, in __stream
File "aiohttp\client.py", line 1482, in aenter
File "aiohttp\client.py", line 1061, in _ws_connect
File "aiohttp\client.py", line 770, in _request
File "aiohttp\client.py", line 729, in _connect_and_send_request
aiohttp.client_exceptions.ConnectionTimeoutError: Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=1024bb3c03e44f07a12b4f978fab0396&Sec-MS-GEC=CDE1A8E107ACA5B5-3C2774B4A3884E9E850ADB0F57EFB997FC1F6F26DFD0039F67BF24C9EDFCBC10&Sec-MS-GEC-Version=2-143.0.3650.75
=
system:Windows-10-10.0.22631-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/360MoveData/Users/86147/Desktop/win-pyvideotrans-v4.16