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

2406:**:b968 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 65, in run
File "videotrans\translator\_base.py", line 95, 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 67, in run
File "videotrans\task\trans_create.py", line 608, in trans
File "videotrans\translator\__init__.py", line 860, in run
File "videotrans\translator\_base.py", line 71, 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:/TS/视频/原视频/一厢情愿/Wishful Thinking – Beyond.mp4,
输出结果保存到文件夹: E:/TS/视频/翻译/Wishful Thinking – Beyond-mp4,
临时文件夹: E:/BaiduNetdiskDownload/win-pyvideotrans-v4.03-0626/tmp/82812/eba411c247
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.26100-SP0
version:v4.03
frozen:True
language:zh
root_dir:E:/BaiduNetdiskDownload/win-pyvideotrans-v4.03-0626

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:微软翻译的免费在线接口已发生变更,导致旧版本(v4.03)中使用的 https://edge.microsoft.com/translate/auth 地址返回 404。您必须升级到支持新接口的版本才能继续使用微软翻译。

解决方案:

  1. 升级到 v4.09 或更高版本(当前您使用的是 v4.03)。
  2. 若已是最新版本仍报错,请重新下载完整的补丁包覆盖全部文件。
  3. 若升级后仍不想用微软翻译,可直接改用其他渠道:

    • DeepSeek(推荐,需在 菜单→翻译设置→DeepSeek 中填入 API Key,翻译质量更佳)
    • Google 翻译(免费,但国内需科学上网)
    • M2M100(本地离线翻译,首次使用会自动下载模型)

请查阅相关文档:

Thinking...
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

Related resource