#9013 System Error (None): None:{'text': 'Hello, my dear friend, I hope every day of yours is wonderful and joyful!', 'rate':

103.127**4 Posted at: 18 hours ago

System Error (None): None:
{'text': 'Hello, my dear friend, I hope every day of yours is wonderful and joyful!', 'rate': '+0%', 'role': 'Christopher(Male/US)', 'filename': 'C:\Users\24666\AppData\Local\Temp/pyvideotrans/0-1795939850.0891027.wav', 'tts_type': 0, 'language': 'en', '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
ConnectionResetError

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 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 1445, in _start_tls_connection
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host speech.platform.bing.com:443 ssl: [None]


=
system:Windows-10-10.0.22000-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 18 hours ago

核心原因:Edge-TTS 走的是你填写的网络代理,但代理无法连通微软语音服务(speech.platform.bing.com:443),在 TLS 握手阶段被重置(ConnectionResetError -> ClientConnectorError),因此配音失败。

解决方案(按顺序尝试)

  1. 清空代理并重试
    在主界面「对齐/同步」行右侧的 网络代理 文本框中清空内容并保存,然后重新执行配音。若你确实需要代理访问 Google/Gemini,请注意 Edge-TTS 属于微软服务,代理节点不干净或被墙时常连不通。
  2. 强制 Edge-TTS 不走代理(推荐)
    在软件根目录(D:/pyVideoTrans)下新建一个空文本文件,命名为:

    edgetts-noproxy.txt

    重启软件后再次执行。此文件会强制 Edge-TTS 绕过代理直连微软服务。

  3. 降低 Edge-TTS 请求频率(排除偶发限流)
    进入 菜单 → 工具/选项 → 高级选项 → 字幕配音调整:

    • EdgeTTS配音渠道配音并发数 设为 1
    • 配音后暂停秒 设为 3~5
  4. 检查网络环境
    若当前处于公司/校园网、需要登录认证的网络,或开启了系统级 VPN(全局模式),可能出现类似连接重置。可临时切换网络(如手机热点)验证是否为本地网络限制。
  5. 若上述均无效,可临时改用其他配音渠道(如 gTTS(免费),需能访问 Google;或本地内置渠道如 ZipVoice中英(内置)、OmniVoice(内置)),规避微软接口不稳定的问题。

请查阅相关文档:

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