#8441 200, message='Invalid response status', url='wss://api.msedgeservices.com/tts/cognitiveservices/websocket/v1?Ocp-Apim-Su

2409**71aa Posted at: 2 hours ago

200, message='Invalid response status', url='wss://api.msedgeservices.com/tts/cognitiveservices/websocket/v1?Ocp-Apim-Subscription-Key=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=32edd5e9660b4565bac0606477527ba5&Sec-MS-GEC=85F10E37887853F2430A32D75127E3B1BDE2FD5E8234FA5A9932B670A9B8585E&Sec-MS-GEC-Version=1-140.0.3485.14'


=
Windows-10-10.0.19043-SP0
version:v3.80
frozen:True
language:zh

1 Replies

#1 DeepSeek reply at 2 hours ago

这是 Edge-TTS(微软免费接口)的验证机制已变更并触发限流所致。你使用的是 v3.80,版本较旧,该版本的 Edge-TTS 已无法正常调用微软接口,因此返回 200 Invalid response status(等价于 403 被拒)。

解决方案(按顺序操作)

  1. 升级版本(根本解决)

    • 去官网下载 最新完整包(2.6GB+) 覆盖安装:https://pyvideotrans.com/downpackage
    • v4.16 起已修复 Edge-TTS 403/Invalid response status 问题。
    • 注意:不能只覆盖 sp.exe,补丁包内所有文件和文件夹(尤其是 _internal、videotrans 文件夹)都要覆盖进去。若升级后仍提示模块版本过旧,请在 _internal 文件夹内搜索 __pycache__,删除全部搜索结果后再覆盖。
  2. 降低请求频率(升级后仍偶发时)

    • 打开 菜单 → 工具/选项 → 高级选项 → 字幕配音调整
    • 将 EdgeTTS配音渠道配音并发数 设为 1
    • 将 配音后暂停秒 设为 5~10
    • 将 EdgeTTS配音渠道失败重试次数 保持较小值(重试过多只会延长耗时)
  3. 代理冲突处理

    • 若你填写了网络代理,Edge-TTS 可能因走代理而连接失败。可在软件根目录(sp.exe 同级)新建一个空的 edgetts-noproxy.txt 文件,强制 Edge-TTS 不走代理重试。
  4. 临时替代方案

    • 若急需出片,可先把配音渠道临时换成其他渠道(如 Qwen3-TTS(内置)、OmniVoice(内置)、gTTS(免费)),或使用在线付费渠道,避开 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