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

223.74.**4 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/jdhy/Desktop/顶部移除的受力Forces in Top Removal.mp4,
输出结果保存到文件夹: C:/Users/jdhy/Desktop/_video_out/顶部移除的受力Forces in Top Removal-mp4,
临时文件夹: E:/baidu/win-pyvideotrans-v4.08-0802/tmp/14732/0c5931e59d
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕(双) 目标语言在上双字幕
代理地址:


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

1 Replies

微软翻译的免费在线 API 当前不可用(微软服务器临时故障或已关闭该接口)。你的日志中翻译渠道显示为 Google(免费),当 Google 请求失败后软件会自动改用微软翻译重试,而微软接口返回了 404,最终导致任务失败。

解决方案

  1. 改用 DeepSeek 翻译(推荐)

    • 前往 https://platform.deepseek.com/ 注册并充值(可按需充值少量金额)。
    • 获取 API Key 后填写到:菜单 -> 翻译设置 -> DeepSeek 密钥
    • 在主界面“翻译渠道”下拉框选择 DeepSeek,然后重新执行。
  2. 使用本地免费翻译渠道

    • 在“翻译渠道”中选择 M2M100(内置)(首次使用需在线下载模型,完全离线、免费)。
  3. 若仍想使用 Google 翻译

    • Google 翻译在中国大陆必须配置代理。请在主界面第 5 行的“网络代理”中填写可用代理,格式如 http://127.0.0.1:7860
  4. 若坚持用微软翻译

    • 该报错为微软接口端故障,软件侧无法修复,只能等微软恢复后重试。

请查阅相关文档:

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