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

182.138.**2 Posted at: 4 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/PC/Desktop/8月4日.mp4,
输出结果保存到文件夹: C:/Users/PC/Desktop/8月4日-mp4,
临时文件夹: D:/软件/win-pyvideotrans-v4.08-0802/tmp/23992/bdc62db1ac
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), model_name: large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.08
frozen:True
language:zh
root_dir:D:/软件/win-pyvideotrans-v4.08-0802

3 Replies

这是微软翻译免费在线接口当前不可用导致的,接口返回 404。您的主界面翻译渠道实际选择了“Google(免费)”,日志显示最终调用到了 _microsoft.py,说明 Google 翻译失败后软件自动回退到了微软翻译,而微软翻译接口当前已失效(可能临时故障或已关闭)。

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

  1. 如果您在中国大陆,Google 翻译需要科学上网:在主界面“网络代理”中填写有效的代理地址,例如 http://127.0.0.1:7890
  2. 更推荐直接更换翻译渠道,避免 Google→Microsoft 的自动回退链:

    • 使用 DeepSeek:登录 https://platform.deepseek.com/ 获取 API Key,填入 菜单 → 翻译设置 → DeepSeek,然后在主界面“翻译渠道”选择 DeepSeek
    • 或使用 M2M100(内置) 本地翻译:无需 API Key,第一次使用会在线下载模型,之后完全离线可用。
  3. 如果您不想配置代理或 API Key,请在“翻译渠道”中直接选择 M2M100(内置)

请查阅相关文档:

image
在哪里填写http://127.0.0.1:7890

在「翻译视频或音频」主界面,第 5 行“同步对齐和字幕”区域中,找到 “网络代理” 输入框(位置在字幕嵌入选项如“嵌入硬字幕/嵌入软字幕”附近),直接填入:

http://127.0.0.1:7890

填入后无需额外操作,点击“开始”即可。如果您在界面上看不到该输入框,可能是被隐藏了,可在主界面「菜单 → 工具 → 高级选项 → 通用设置」中勾选 “主界面显示所有参数” 后再查看。

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