#8013 Network connection failed:{'text': 'Hello, my dear friend, I hope every day of yours is wonderful and joyful!', 'rate':

216.167**6 Posted at: 1 hour ago

Network connection failed:
{'text': 'Hello, my dear friend, I hope every day of yours is wonderful and joyful!', 'rate': '+0%', 'role': 'Guy(Male/US)', 'filename': 'E:/win-pyvideotrans-v4.15/tmp/30916/listen_voice/0-en-1791811742.5098586.wav', 'tts_type': 0, 'language': 'en', 'volume': '+0%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "edge_tts\communicate.py", line 566, 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=93dd35802e614c7397c22ae5cef313aa&Sec-MS-GEC=4D34172C2422B5D659CDB6DE0685DAFD9D1952BA0913ACF1D86F62C080CBC0F7&Sec-MS-GEC-Version=1-143.0.3650.75'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 122, 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 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=a75eb3c9b4d74174b2a36912737729b1&Sec-MS-GEC=4D34172C2422B5D659CDB6DE0685DAFD9D1952BA0913ACF1D86F62C080CBC0F7&Sec-MS-GEC-Version=1-143.0.3650.75'


=
system:Windows-10-10.0.26100-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:E:/win-pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 Edge-TTS(免费) 被微软接口临时限流/封禁导致的 403 Invalid response status 错误。常见原因:当前公网IP在短时间内请求过多,或代理节点被微软标记,偶尔也可能是临时网络波动。

解决方案:

  1. 打开 菜单 → 工具/选项 → 高级选项 → 字幕配音调整,将 EdgeTTS配音渠道配音并发数 设为 1,配音后暂停秒 设为 5-10,降低请求频率。
  2. 如果你使用了代理,请先在主界面检查代理地址是否正确、代理节点是否干净;也可在软件根目录创建一个空文件 edgetts-noproxy.txt,强制 Edge-TTS 不走代理。
  3. 如果短时间连续试听/配音,建议等待几分钟后再试,换用更干净的 IP 或节点。
  4. 仍失败时,可暂时改用其他配音渠道,如 gTTS(免费)、Qwen3-TTS(内置) 或在线 TTS 渠道。

请查阅相关文档:

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