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

47.250**1 Posted at: 2 hours 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=968c444f7f0748f082381c71019e27f8&Sec-MS-GEC=1BA504590E2EAC30680C031E90D38DF41E4D7CB426B8F310E46A05C3B248C878&Sec-MS-GEC-Version=1-143.0.3650.75':
Traceback (most recent call last):
File "videotrans\tts\_base.py", line 83, 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 184, in run
File "videotrans\tts\_base.py", line 87, 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=968c444f7f0748f082381c71019e27f8&Sec-MS-GEC=1BA504590E2EAC30680C031E90D38DF41E4D7CB426B8F310E46A05C3B248C878&Sec-MS-GEC-Version=1-143.0.3650.75'


=
system:Windows-10-10.0.26200-SP0
version:v4.02
frozen:True
language:zh
root_dir:F:/pyvideotrans

1 Replies

#1 DeepSeek reply at 2 hours ago

这是 Edge-TTS 免费接口的已知问题:微软更改了验证逻辑,导致旧版本返回 403 错误。您的软件版本为 v4.02,需要升级到 v4.16 或更高版本以修复此问题。

解决方案:

  1. 前往官方下载页下载最新完整包或补丁包并覆盖安装:https://pyvideotrans.com/downpackage
  2. 升级后重新启动软件,Edge-TTS 即可正常使用。
  3. 若升级后仍遇 403,可在软件根目录创建 edgetts-noproxy.txt 空文件强制绕过代理重试。

临时替代方案:

  • 可改用 gTTS(免费)或 Qwen3-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