#7320 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/authTraceback (most recent call last):

216.227**2 Posted at: 1 hour 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\only_one.py", line 83, in run
File "videotrans\task\_stage_translate.py", line 31, 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=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/Administrator/Desktop/炜晔科技小分队-电工常用的这些铜鼻子_你分清了吗?@炜晔-20260915193411.mp4,
输出结果保存到文件夹: C:/Users/Administrator/Desktop/炜晔科技小分队-电工常用的这些铜鼻子_你分清了吗?@炜晔-20260915193411-mp4,
临时文件夹: D:/video/tmp/10276/2a4e8f0734
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), model_name: large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Steffan(Male/US), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 已选 视频慢速
字幕: 嵌入软字幕
代理地址:


=
system:Windows-10-10.0.19045-SP0
version:v4.08
frozen:True
language:zh
root_dir:D:/video

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因是:微软已更改其免费翻译 API,你当前使用的 v4.08 版本调用的旧地址 https://edge.microsoft.com/translate/auth 已失效,因此返回 404 错误。

解决方案(任选其一):

  1. 升级软件:下载最新版(v4.12)完整包覆盖,或先下载 v4.09 及以上版本的补丁包覆盖当前目录。若已是 v4.09,请再次下载补丁包覆盖。升级后可继续使用微软翻译。
  2. 改用 DeepSeek(推荐)

    • 前往 https://platform.deepseek.com/ 登录并充值(可自定义充值 1 元)
    • 获取 API key,填写到软件菜单 → 翻译设置 → DeepSeek 密钥中
    • 在翻译渠道下拉里选择 DeepSeek 即可,翻译质量优于微软免费接口,价格极低
    • 注意:DeepSeek 的 Thinking 复选框需取消选中,否则需较大 max token,可能被截断
  3. 改用 M2M100 本地翻译:完全离线,第一次使用将在线下载模型到 软件目录/models/m2m100_12b
  4. 使用 Google 翻译:国内需代理 VPN 才可用。当选择 Google 翻译且失败时,会自动使用微软翻译重试。
补充说明:翻译渠道下拉中的"微软(免费)"就是上述已失效的接口,该接口微软已关闭。
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