#8030 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 day 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/29528/listen_voice/0-en-1791854575.8980024.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=c0be7bfe62354d1ab96910434094885d&Sec-MS-GEC=7B870292C0FF21B639462A71AF51F300B8A42232FF47EACF301DDE2FA87E41D3&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=69c1e90896684268bb6980c797603bab&Sec-MS-GEC=7B870292C0FF21B639462A71AF51F300B8A42232FF47EACF301DDE2FA87E41D3&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 day ago

这是 Edge-TTS 免费接口的已知问题:自 2026-10-10 后,微软更改了 Edge-TTS 的验证逻辑,导致大量请求返回 403 错误(WSServerHandshakeError: 403),与您的电脑或网络代理配置无关。

解决方案

  1. 等待官方修复:该问题预计在下个版本(v4.16)中修复,请关注官网更新并升级软件。
  2. 更换其他配音渠道(推荐):

    • 免费:gTTS(免费)、Piper(内置)、VITS(内置) 等
    • 本地高质量:Qwen3-TTS(内置)、F5-TTS(内置)、OmniVoice-TTS(内置) 等
    • 在线 API:豆包语音合成、Minimaxi 等
  3. 临时尝试 VPN 节点:如果您有 VPN,可尝试切换不同国家/洲的节点,目前部分国家节点仍能正常使用 Edge-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