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

2408:**:53d1 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 82, 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/翻译片段/真千金第二十五集.mp4,
输出结果保存到文件夹: D:/win-pyvideotrans-v4.08/真千金第二十五集-mp4,
临时文件夹: D:/win-pyvideotrans-v4.08/tmp/41248/273fddb816
已选 清理已存在
已启用CUDA加速
未选 降噪
已选 识别说话人,最大说话人数量3
语音识别:faster-whisper(内置), model_name: large-v3, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:F5-TTS(内置), 角色:clone, 配音语言:英语, 已选 二次语音识别
音量:+100%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
代理地址:


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

1 Replies

这是微软免费翻译接口暂时不可用或被关闭导致的报错,属于服务端问题,并非您的配置或网络错误。

解决方案:

  1. 更换为 DeepSeek 翻译渠道(推荐,效果更好且价格很低)

    • 前往 https://platform.deepseek.com/ 注册并充值任意金额(可充1元)
    • 获取 API Key,填写到 菜单 -> 翻译设置 -> DeepSeek
    • 在主界面翻译渠道下拉框选择 DeepSeek 后重试
  2. 使用 M2M100(内置) 本地翻译渠道,完全离线无需密钥;第一次使用时会自动下载模型
  3. 使用 Google 翻译渠道(中国大陆网络环境需配置代理);注意:选择 Google 翻译失败时会自动回退到微软翻译,若微软仍不可用则同样会报错
  4. 也可更换为百度翻译、腾讯翻译等需要 API Key 的收费传统翻译渠道

请查阅相关文档:

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