#8771 503 Server Error: Service Unavailable for url: https://edge.microsoft.com/translate/translatetext?from=&to=en&isEnterpri

212.2**9 Posted at: 5 hours ago

503 Server Error: Service Unavailable for url: https://edge.microsoft.com/translate/translatetext?from=&to=en&isEnterpriseClient=false
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 68, in run
File "videotrans\translator\_base.py", line 107, in _run_text
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 421, in exc_check
tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 74, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_microsoft.py", line 41, in _item_task
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: https://edge.microsoft.com/translate/translatetext?from=&to=en&isEnterpriseClient=false

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/百姓-未翻译剪切文件/预防重症(下).mp4,
输出结果保存到文件夹: D:/百姓-未翻译剪切文件/_video_out/预防重症(下)-mp4,
临时文件夹: D:/win-pyvideotrans-v4.11/tmp/5820/20ee556b2c
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), medium, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:F5-TTS(内置), 角色:clone, 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+12%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
已选 仅输出mp4


=
system:Windows-10-10.0.19045-SP0
version:v4.11
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v4.11

1 Replies

#1 DeepSeek reply at 5 hours ago

这是微软免费在线接口返回的 503(服务暂时不可用),属于该免费接口的限流/服务端故障,并非软件本身的配置错误,重试或更换翻译渠道即可。

解决方案(任选其一)

  1. 直接更换翻译渠道(推荐,最稳妥)

    • 菜单 → 翻译设置 → DeepSeek,填入 API Key(可在 platform.deepseek.com 充值 1 元获取);
    • 主界面翻译渠道选择 DeepSeek,勾选 发送完整字幕,重新执行。
    • 中文→英文这类常见语种,DeepSeek 的翻译质量明显优于微软免费接口,且基本不会出现限流报错。
  2. 使用其它免费/本地渠道

    • Google(免费):需在“网络代理”框填写可用的代理地址(如 http://127.0.0.1:7890),国内直连不可用;
    • Hy-MT2(内置) 或 M2M100(内置):完全本地运行,首次使用需在线下载模型。
  3. 如果你仍想用微软免费接口

    • 503 通常是短暂的服务端故障或请求频率过高,可先降低频率:高级选项 → 字幕翻译 → 将 传统翻译渠道每批字幕行数 设为 1、翻译后暂停秒 设为 2~5,再等待几分钟重试。
    • 若长期 503,说明该免费接口当前不稳定,只能换渠道。

另外提示:你当前未勾选 清理已生成,更换翻译渠道后重试时,已生成的原始字幕会复用,不会重复做语音识别,速度会快很多。

请查阅相关文档:

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