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

27.189.**9 Posted at: 2 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='3a6a9d7836', name='G:/新建文件夹 (3)/19/37588673.srt', dirname='G:/新建文件夹 (3)/19', noextname='37588673', basename='37588673.srt', ext='srt', target_dir='G:/新建文件夹 (3)/19', cache_folder=None, is_cuda=False, source_language=None, source_language_code='-', source_sub='G:/新建文件夹 (3)/19/37588673.srt', source_wav=None, source_wav_output=None, target_language=None, target_language_code='zh-Hans', target_sub='G:/新建文件夹 (3)/19/37588673.zh-Hans.srt', target_wav=None, target_wav_output=None, translate_type=1)


=
system:Windows-10-10.0.22621-SP0
version:v4.06
frozen:True
language:zh
root_dir:D:/pyvideotrans

1 Replies

微软免费翻译接口当前不可用,报错 404 Client Error 说明微软已临时关闭或变动了该免费认证接口。建议更换为其他翻译渠道。

解决方案

  1. 改用 DeepSeek(首选,效果好、成本低):

    • 前往 https://platform.deepseek.com 注册并充值(可自定义充值1元)获取 API Key。
    • 在软件 菜单 → 翻译设置 → DeepSeek 中填写密钥。
    • 在主界面翻译渠道下拉框选择 DeepSeek 即可。
    • 如遇输出截断,可在设置面板取消 Thinking 模式,并调大 max_token
  2. 改用本地翻译 M2M100(内置)

    • 完全离线,首次使用会自动下载模型,存放于 软件目录/models/m2m100_12b
  3. 临时改用 Google 翻译

    • 需要代理才能访问;若 Google 失败,软件会自动尝试微软翻译(但仍可能失败)。
  4. 若想继续排查微软接口恢复情况

    • 可稍后重试或更新软件版本,但当前该接口大概率已失效。

请查阅相关文档:

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