#9012 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': 'BrianMultilingual(Male/US)', 'filename': 'C:\Users\24666\AppData\Local\Temp/pyvideotrans/0-1795939477.441899.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 通过网络代理建立 TLS 连接时被重置导致的(堆栈里的 _create_proxy_connection → _start_tls_connection → ConnectionResetError,说明请求经过了代理,但代理无法正常连上 speech.platform.bing.com:443;也可能根本没开代理,但软件里填了代理地址)。

处理方式(按顺序试):

  1. 让 Edge-TTS 不走代理:在软件根目录 D:/pyVideoTrans/ 下新建一个空文本文件,命名为 edgetts-noproxy.txt(扩展名必须是 .txt,内容留空),保存后重新配音。
  2. 检查/清空代理:主界面「对齐/同步」行右侧的 网络代理 框,如果你填了 http://127.0.0.1:7890 之类的地址,请确认代理软件确实已启动、端口一致;不需要代理就直接清空该框,不要随意乱填。
  3. 确认网络能访问微软接口:Edge-TTS 需访问 bing.com 的 Azure 语音服务,国内直连常被重置。若第 1 步后仍报同样连接错误,说明必须科学上网才能用 Edge-TTS(此时不要加 edgetts-noproxy.txt,而是把代理填对)。
  4. 降低请求频率:菜单 → 工具/选项 → 高级选项 → 字幕配音调整,把 EdgeTTS配音渠道配音并发数 设为 1,配音后暂停秒 设为 5~10,避免被限流拉黑。
  5. 换渠道验证:若网络条件实在无法连微软接口,改用内置配音渠道(如 Qwen3-TTS、OmniVoice、Audio.cpp、ChatterBox)或云 API(豆包语音合成 2.0、Azure TTS 等),本地渠道不依赖该连接。
  6. 若清理过临时文件后出现其他异常,可勾选主界面 清理已生成 后重试。

请查阅相关文档:

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