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

240e:**:1a55 Posted at: 1 day 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]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: E:/香港粤语素材防水/46.mp4,
输出结果保存到文件夹: E:/视频后文件/46-mp4,
临时文件夹: E://tmp/11788/df0e2606b3
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:FireRed中文(内置), model_name: , 发音语言: 粤语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:粤语,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Christopher(Male/US), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 不嵌入字幕
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.08
frozen:True
language:zh
root_dir:E:/

1 Replies

#1 DeepSeek reply at 1 day ago

这是微软免费翻译接口已失效/变更导致的 404 错误。你的日志显示选择了 Google 翻译,但 Google 在未代理时失败后,软件会自动改用微软翻译重试,而微软翻译的 edge.microsoft.com/translate/auth 接口当前已不可用,因此返回 404。

解决方案(按推荐顺序):

  1. 升级软件到 v4.09 或更新版本:当前你使用的是 v4.08,微软已更改翻译 API,新版本已修复。请从官网下载最新完整包,或下载补丁包覆盖到旧版目录。
  2. 改用 DeepSeek 翻译(推荐):翻译质量更好、价格低。前往 https://platform.deepseek.com/ 注册并充值(可自定义充值 1 元),获取 API Key 后,在 菜单 → 翻译设置 → DeepSeek 中填写密钥,主界面翻译渠道选择 DeepSeek 即可。
  3. 改用 M2M100 本地翻译:完全离线免费,第一次使用会自动下载模型,主界面翻译渠道选择 M2M100(内置) 即可。
  4. 若坚持使用 Google 翻译:必须配置可用的代理(科学上网),否则 Google 失败后仍会回落到已失效的微软翻译。

如果升级到 v4.09 后仍出现相同报错,请重新下载补丁包覆盖一次。

请查阅相关文档:

Thinking...
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

Related resource