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

240e**2368 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 68, 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]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/输出素材/9月5日(5).mp4,
输出结果保存到文件夹: D:/输入素材/jhb/9月5日(5)-mp4,
临时文件夹: D:/win-pyvideotrans/tmp/22516/6d2ae1b15f
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:印度尼西亚语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Gadis(Female/ID), 配音语言:印度尼西亚语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: 不嵌入字幕
已选 仅输出mp4
代理地址:


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

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:微软官方关闭了免费翻译接口的旧认证端点,导致 404 报错。日志显示你选择了 Google 翻译渠道,但 Google 在国内无法直连(需代理),软件自动回退到微软翻译重试,微软接口已失效,所以最终报错。

解决方案(按优先级):

  1. 升级软件版本:当前版本为 v4.06。请下载 v4.09 及以上的最新版(推荐 v4.11)后再试。微软接口的新认证方式已在后续版本适配。
  2. 如已升级后仍报错:下载补丁包覆盖到主目录(若版本跨度较大,建议直接下载完整包覆盖)。
  3. 快速替代方案(不升级也可用)

    • 改用 DeepSeek 翻译渠道:免费注册后充值少量金额(可自定义 1 元),获取 API Key,填入 菜单→翻译设置→DeepSeek,翻译渠道下拉框选择 DeepSeek
    • 或使用 M2M100(内置) 本地翻译:完全离线,首次使用需下载模型。
  4. 若坚持使用 Google 翻译:必须在主界面对齐控制行右侧的代理框内填写有效的 http://127.0.0.1:端口 代理,否则 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