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

240e:**:7529 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 101, 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]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/Administrator/Desktop/新建文件夹 (2)/7-18.mp4,
输出结果保存到文件夹: C:/Users/Administrator/Desktop/_video_out/新建文件夹 (2)/7-18-mp4,
临时文件夹: D:/翻译软件/Windows/tmp/15548/9bb0c46e8d
已选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Jenny(Female/US), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入硬字幕
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.06
frozen:True
language:zh
root_dir:D:/翻译软件/Windows

1 Replies

这是因为微软翻译的免费在线 API 接口(https://edge.microsoft.com/translate/auth)目前已不可用,可能属临时故障或该接口已被关闭。你的日志显示虽然选择了“Google翻译”,但 Google 在无法访问时会自动回退到微软翻译重试,于是触发了此 404 错误。

解决方案(按优先级推荐):

  1. 改用 DeepSeek 翻译渠道(推荐)

    • 前往 https://platform.deepseek.com/ 注册并充值(最低可充值1元)
    • 获取 API Key,填入菜单 → 翻译设置 → DeepSeek 密钥
    • 主界面翻译渠道选择 Deepseek,翻译质量更好且价格很低
  2. 使用本地 M2M100 翻译(完全离线免费)

    • 在主界面翻译渠道中选择 M2M100(内置)
    • 第一次使用会自动在线下载模型到软件目录/models/m2m100_12b
  3. 若坚持使用 Google 翻译

    • 需要配置代理(中国大陆直连 Google 不稳定),可在主界面第五行“网络代理”处填写代理地址,格式如 http://127.0.0.1:7860
    • 但注意 Google 失败时仍会自动回退到微软翻译,而微软接口当前不可用,因此建议暂时改用上面的方案 1 或 2。

另外提醒:你的文件路径中包含中文和空格(如 C:/Users/Administrator/Desktop/新建文件夹 (2)/7-18.mp4D:/翻译软件/Windows),虽然本次报错主因是微软接口故障,但这类路径在后续 ffmpeg 音视频合成阶段容易引发“路径过长或特殊符号解析失败”问题。如果之后出现 ffmpeg 相关报错,请将视频移到全英文路径(如 D:/video/7-18.mp4),并将软件解压到纯英文目录(如 D:/pyVideoTrans)。

请查阅相关文档:

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