#7988 Error during TTS dubbing stage [Edge-TTS (Free)] edge-tts error:target_audio='E:/omivoice/win-PatchUpdate-v4.11/tmp/1939

141.168**7 Posted at: 1 hour ago

Error during TTS dubbing stage [Edge-TTS (Free)] edge-tts error:target_audio='E:/omivoice/win-PatchUpdate-v4.11/tmp/19396/77bb77adf9/20261012-193208-edgetts-txt-1791793928.158389.mp3'
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=fec3a377e8734f238995ae9fbb993c05&Sec-MS-GEC=90B7C1EAABA24F27D1B32A4D484048D8931EA64D8DE27E760B38EC3929B482BC&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\task\_base.py", line 154, in _edgetts_single

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=77101cca0f014c7293739bebe8d8a3f6&Sec-MS-GEC=90B7C1EAABA24F27D1B32A4D484048D8931EA64D8DE27E760B38EC3929B482BC&Sec-MS-GEC-Version=1-143.0.3650.75'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 156, in process_task

File "videotrans\task\dubbing.py", line 56, in dubbing

File "videotrans\task\dubbing.py", line 137, in _tts

File "asyncio\runners.py", line 44, in run

File "asyncio\base_events.py", line 649, in run_until_complete

File "videotrans\task\_base.py", line 165, in _edgetts_single

videotrans.configure.excepts.DubbingSrtError: edge-tts error:target_audio='E:/omivoice/win-PatchUpdate-v4.11/tmp/19396/77bb77adf9/20261012-193208-edgetts-txt-1791793928.158389.mp3'
[DubbingSrt]语音合成: self.out_ext='mp3',self.is_multi_role=False
[TaskCfgTTS]
原始输入文件名: E:/omivoice/win-PatchUpdate-v4.11/tmp/19396/20261012-193208.txt,
输出结果保存到文件夹: E:/omivoice/win-PatchUpdate-v4.11/output/tts,
临时文件夹: E:/omivoice/win-PatchUpdate-v4.11/tmp/19396/77bb77adf9
未启用CUDA加速
TTS Service:Edge-TTS (Free), 角色:WilliamMultilingual(Male/AU), 配音语言:en
音量:+4%, 语速:-5%, 未选 音频加速
已选 移除字幕间空隙, 未选 强制对齐字幕和声音


=
system:Windows-10-10.0.26200-SP0
version:v4.11
frozen:True
language:en
root_dir:E:/omivoice/win-PatchUpdate-v4.11

1 Replies

#1 DeepSeek reply at 1 hour ago

Edge-TTS 返回 403 HTTP 状态码,表示你当前的外部 IP 已被微软语音服务临时限流或封禁。这通常因短时间内高频请求触发,或所用网络节点/IP 不干净导致。

处理步骤:

  1. 升级软件版本:当前为 v4.11,最新版本为 v4.15,新版对该接口错误有更多重试和降级处理。先下载 v4.15 完整包(或补丁包覆盖)后再试。

  2. 降低 Edge-TTS 调用频率(若仍需使用该渠道):

    • 打开 菜单 → 工具/选项 → 高级选项 → 字幕配音调整
    • 将 EdgeTTS配音渠道配音并发数 设为 1
    • 将 配音后暂停秒 设为 5~10
    • 保存后重启软件重试
  3. 检查代理:如果软件主界面"对齐控制"行右侧填写了网络代理,请尝试清空代理后重试。如果确定不需要代理却仍报代理相关错误,可在软件根目录手动创建一个空文件 edgetts-noproxy.txt,强制 Edge-TTS 绕过代理。
  4. 更换网络节点:如果你使用 VPN/代理,当前节点 IP 可能已被微软标记为流量异常,切换更干净的节点后重试。
  5. 更换配音渠道:Edge-TTS 为免费接口,限流较常见。可改用其他免费/内置渠道,如 gTTS(免费)(需科学上网)或 Qwen3-TTS(内置)、Piper(内置) 等本地模型。

请查阅相关文档:

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