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

41.239**4 Posted at: 2 hours ago

Network connection failed:
{'text': 'Hello, my dear friend, I hope every day of yours is wonderful and joyful!', 'rate': '+0%', 'role': 'Thomas(Male/GB)', 'filename': 'C:\Users\More\AppData\Local\Temp/pyvideotrans/0-1791888351.938097.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=c370a476061c4251bd8cc8dd50d0a267&Sec-MS-GEC=03BF403A6CB7D6107FB4D738B0B85D7B3A50D2445D263A4C1089678F76785421&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=db7d603c3cda42af8cb9c7f3696d227f&Sec-MS-GEC=03BF403A6CB7D6107FB4D738B0B85D7B3A50D2445D263A4C1089678F76785421&Sec-MS-GEC-Version=1-143.0.3650.75'


=
system:Windows-10-10.0.26300-SP0
version:v4.15
frozen:True
language:en_US
root_dir:C:/Users/More/Documents/sub-app

1 Replies

#1 DeepSeek reply at 2 hours ago

这是微软 Edge-TTS 免费接口的 403 封禁/验证错误。微软已更改了 edge-tts 的免费验证逻辑,导致大多数情况下无法使用,您当前版本为 v4.15,请升级到 v4.16 修复该问题。

解决方案:

  1. 下载 v4.16 完整包或补丁包覆盖更新(更新日期 2026-1005,需确保版本号与界面一致)。
  2. 在升级前,可临时改用其他配音渠道,例如 gTTS(免费) 或 Qwen3-TTS(内置)。
  3. 也可尝试使用 VPN 切换不同国家/大洲的节点,目前部分国家节点可用。

若升级后问题依旧,请提供 logs/ 目录下最新日志文件底部约 30 行报错信息以便进一步分析。

请查阅相关文档:

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