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

199.234**0 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=0125c062493744c8a4c4bb9ac0953034&Sec-MS-GEC=2F79EBE97ECB64AE97F9EC0FCAF7BBF5515CD1B86D554AE950682608F69D56AF&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=0125c062493744c8a4c4bb9ac0953034&Sec-MS-GEC=2F79EBE97ECB64AE97F9EC0FCAF7BBF5515CD1B86D554AE950682608F69D56AF&Sec-MS-GEC-Version=1-143.0.3650.75'


=
system:Windows-10-10.0.19045-SP0
version:v4.03
frozen:True
language:zh
root_dir:D:/ANZHUANG

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 Edge-TTS 免费接口被微软临时限流/封禁导致的 403 错误,也可能与你的网络代理 IP 不干净有关。

解决步骤:

  1. 降低 Edge-TTS 请求频率:

    • 打开 菜单 -> 工具/选项 -> 高级选项 -> 字幕配音调整
    • 将 EdgeTTS配音渠道配音并发数 改为 1
    • 将 配音后暂停秒 设为 5-10
    • 将 EdgeTTS配音渠道失败重试次数 适当调低,避免持续请求被封
  2. 检查代理:

    • 若填写了代理,确认代理地址和端口正确。
    • 若代理节点有问题,请切换更干净的节点。
    • 若不需要代理,请清空代理框。
    • 如需强制 Edge-TTS 不走代理,可在软件根目录创建空白文件 edgetts-noproxy.txt
  3. 更新软件版本:

    • 你当前版本为 v4.03,较旧,请升级到最新版本 v4.15,再重新覆盖补丁包后测试。
  4. 若仍频繁失败,可暂时改用其他配音渠道,如 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