#6369 翻译字幕阶段出错 [微软(免费)] 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/authTraceback (most recent c

161.129.**8 Posted at: 3 hours ago

翻译字幕阶段出错 [微软(免费)] 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth
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\job.py", line 35, in run

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

File "videotrans\task\translate_srt.py", line 47, in trans

File "videotrans\translator\_runner.py", line 63, 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 26, in _item_task

File "requests\models.py", line 1026, in raise_for_status

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth
cfg=TaskCfgSTS(uuid='c93810fcec', name='Z:/亚松/ai漫剧/我捡到一条龙 ai.zh.srt', dirname='//Rs3618xs-3/海外运营/亚松/ai漫剧', noextname='我捡到一条龙 ai.zh', basename='我捡到一条龙 ai.zh.srt', ext='srt', target_dir='E:/字幕配音/新建文件夹/output/translate', cache_folder=None, is_cuda=False, source_language=None, source_language_code='zh-Hans', source_sub='Z:/亚松/ai漫剧/我捡到一条龙 ai.zh.srt', source_wav=None, source_wav_output=None, target_language=None, target_language_code='es', target_sub='E:/字幕配音/新建文件夹/output/translate/我捡到一条龙 ai.zh.es.srt', target_wav=None, target_wav_output=None, translate_type=1)


=
system:Windows-10-10.0.19045-SP0
version:v4.07
frozen:True
language:zh
root_dir:E:/字幕配音/新建文件夹

1 Replies

这是由于微软免费翻译接口当前不可用:其内部调用了 https://edge.microsoft.com/translate/auth 获取授权令牌,而该地址返回 404,说明微软可能已关闭或临时故障该免费接口,并非你的密钥或配置问题。

建议改用以下替代方案:

  1. DeepSeek(推荐):前往 platform.deepseek.com 注册并充值(可最低充1元),获取 API Key 后,填入 菜单 → 翻译设置 → DeepSeek,然后在翻译渠道下拉框选择 DeepSeek,翻译质量更好且价格很低。
  2. M2M100(本地免费):在翻译渠道中选择 M2M100(内置),该渠道完全离线,首次使用会自动下载模型。
  3. Google 翻译:如需使用,需要配置代理或 VPN(国内无法直连)。
  4. Microsoft 翻译同时失败时:软件会自动改用 Google 重试;若仍失败,请优先改用上述方案。

请查阅相关文档:

Post Your Reply
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

Dondate via PayPal

Related resource