#8040 All error for edge-tts 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synt

2408**94b6 Posted at: 1 hour ago

All error for edge-tts 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=50c466e7c85c48e39179db492da13e2f&Sec-MS-GEC=750B0E6EA5BD3CB5FEB7937EA7D01BE20F71BD616B99C466E8A8B78170E9DFC2&Sec-MS-GEC-Version=1-143.0.3650.75':
Traceback (most recent call last):
File "videotrans\tts\_base.py", line 84, in run
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 192, in run
File "videotrans\tts\_base.py", line 88, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "videotrans\tts\_edgetts.py", line 200, in _exec
videotrans.configure.excepts.DubbingSrtError: All error for edge-tts 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=50c466e7c85c48e39179db492da13e2f&Sec-MS-GEC=750B0E6EA5BD3CB5FEB7937EA7D01BE20F71BD616B99C466E8A8B78170E9DFC2&Sec-MS-GEC-Version=1-143.0.3650.75'


=
system:Windows-10-10.0.26300-SP0
version:v4.03
frozen:True
language:zh
root_dir:D:/ddaa/win-pyvideotrans-v4.03-0623_20260624_101318

1 Replies

#1 DeepSeek reply at 1 hour ago

这是微软 Edge-TTS 免费接口在 2026-10-10 后更改验证逻辑导致的已知问题,并非你的配置或网络代理造成。该问题需等待 v4.16 版本修复,目前所有版本的 Edge-TTS 都可能出现 403。

解决方案:

  1. 等待下版 v4.16 更新修复;当前 v4.15 及更早版本均受影响。
  2. 暂时改用其他配音渠道,例如 gTTS(免费)、Qwen3-TTS(内置)、Edge-TTS 之外的本地或在线 TTS。
  3. 如仍希望尝试 Edge-TTS,可更换 VPN 的国家或洲节点,目前部分国家节点可能可用。
  4. 若使用过程中因 Edge-TTS 高频请求被限流(429/403 间歇性),可在 菜单 -> 工具/选项 -> 高级选项 -> 字幕配音调整 中,将 EdgeTTS配音渠道配音并发数 设为 1,配音后暂停秒 设为 5-10,但 2026-10-10 后的 403 属于微软接口验证变更,此设置无法根治。

请查阅相关文档:

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