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

116.5.**7 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\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:/智能设备/感应器.mp4,
输出结果保存到文件夹: E:/智能设备/英文版/感应器-mp4,
临时文件夹: E:/素材库1/LLL/翻译软件/win-pyvideotrans-v4.08-0802/tmp/15896/7321e589eb
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), model_name: large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Thomas(Male/GB), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕(双) 目标语言在上双字幕
代理地址:


=
system:Windows-10-10.0.22631-SP0
version:v4.08
frozen:True
language:zh
root_dir:E:/素材库1/LLL/翻译软件/win-pyvideotrans-v4.08-0802

1 Replies

这是微软免费翻译接口当前不可用导致的,并非您的配置错误。

从日志看,您选择的翻译渠道是 Google,但由于中国大陆网络无法直连 Google,软件自动回退到微软翻译,而微软翻译的免费接口 edge.microsoft.com/translate/auth 目前返回 404(服务器临时故障或已关闭该接口),因此翻译阶段失败。

解决方案

  1. 推荐改用 DeepSeek 翻译(效果更好、价格极低):

    • 前往 https://platform.deepseek.com/ 注册并充值(可自定义充值 1 元)
    • 获取 API Key 后,填入软件 菜单 → 翻译设置 → DeepSeek 的密钥中
    • 在主界面「翻译渠道」下拉框选择 Deepseek
    • 若使用思考模式,需在对应设置面板中取消勾选 Thinking,否则需要较大的 max token 以防输出被截断
  2. 或使用本地翻译 M2M100(内置,完全离线)

    • 主界面「翻译渠道」直接选择 M2M100(内置),第一次使用时需在线下载模型,模型存放在 软件目录/models/m2m100_12b
  3. 若仍想使用 Google 翻译

    • 需要配置网络代理(在翻译视频主界面「网络代理」栏填写,格式如 http://127.0.0.1:端口号
    • 注意: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