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

218.4.**0 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]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/41757/Videos/小丨黄r与大g兽.mp4,
输出结果保存到文件夹: C:/Users/41757/Videos/_video_out/小丨黄r与大g兽-mp4,
临时文件夹: E:/压缩视频和AI配音工具/pyvideotrans/tmp/2100/a53507de93
已选 清理已存在
已启用CUDA加速
已选 降噪
语音识别:faster-whisper(内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunxi(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕(双) 目标语言在上双字幕
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.19045-SP0
version:v4.08
frozen:True
language:zh
root_dir:E:/压缩视频和AI配音工具/pyvideotrans

1 Replies

这是微软免费翻译接口已停用导致的报错。微软已更改翻译 API,edge.microsoft.com/translate/auth 返回 404 是正常现象,软件 v4.08 仍在使用旧接口。另外从你的配置看,你选的是 Google 翻译,但 Google 在国内需要代理,失败后自动回退到了微软翻译,因而触发此错误。

解决方案(任选其一):

  1. 将软件升级到 v4.09 或更新版本(若已是 v4.09,请重新下载补丁包覆盖一次)。
  2. 改用 DeepSeek 翻译:在 DeepSeek 开放平台 注册充值获取 API Key(可最低充值 1 元),填入「菜单 → 翻译设置 → DeepSeek」的密钥中,翻译渠道下拉选择 Deepseek
  3. 改用 M2M100(内置) 本地翻译,无需联网,第一次使用会自动下载模型。
  4. 若坚持使用 Google 翻译,必须在主界面「网络代理」中填写可用的代理地址(如 http://127.0.0.1:端口号),否则 Google 无法访问。

另外提醒:你的解压路径 E:/压缩视频和AI配音工具/pyvideotrans 含中文和特殊字符,可能会引发 FFmpeg 等底层工具异常,建议移至纯英文目录(如 E:/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