#9014 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': 'Brian(Male/US)', 'filename': 'C:\Users\24666\AppData\Local\Temp/pyvideotrans/0-1795939958.1827269.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 连接被重置),最常见原因是网络代理配置不当或连接不稳定。

按以下顺序排查:

  1. 清空代理:主界面「网络代理」输入框若非空且填写有误/代理未启动,会导致 Edge-TTS 连接失败。请先清空该输入框后重试。
  2. 强制 Edge-TTS 绕过代理:若你使用了 VPN/代理,在软件根目录(D:/pyVideoTrans)下新建一个空文本文件,命名为 edgetts-noproxy.txt(注意后缀为 .txt),使 Edge-TTS 不走代理直连。
  3. 降低并发与频率:进入 菜单 → 工具/选项 → 高级选项 → 字幕配音调整,将 EdgeTTS配音渠道配音并发数 设为 1,配音后暂停秒 设为 5~10,避免高频请求被微软限流。
  4. 更新 Edge-TTS 组件:Edge-TTS 免费接口由微软频繁调整,v4.16 需对应更新。若使用源码部署,执行 uv add git+https://github.com/rany2/edge-tts.git(如报错先执行 uv remove edge-tts)。
  5. 切换配音渠道:如上述均无效,说明当前网络环境对微软接口不友好,建议改用其他可用的配音渠道(如本地内置的 Qwen3-TTS、Confucius-TTS,或在线 DeepSeek/豆包语音合成等)。

请查阅相关文档:

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