#6269 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth[字节语音大模型极速版, Google(免费), Elevenlabs.io]Tr

2409:8970* Posted at: 12 hours ago

404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth[字节语音大模型极速版, Google(免费), Elevenlabs.io]
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 69, in run
File "videotrans\translator\_base.py", line 98, in _run_text
File "tenacity\__init__.py", line 338, in wrapped_f

return copy(f, *args, **kw)

File "tenacity\__init__.py", line 477, in call

do = self.iter(retry_state=retry_state)

File "tenacity\__init__.py", line 378, in iter

result = action(retry_state)

File "tenacity\__init__.py", line 421, in exc_check

raise retry_exc from fut.exception()

tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 166, in _run_file
File "videotrans\task\only_one.py", line 244, in _run_file_once
File "videotrans\task\trans_create.py", line 640, in trans
File "videotrans\
......
1d515-ru', task_generation=4, name='D:/shipin/极品君王/4.mp4', dirname='D:/shipin/极品君王', noextname='4', basename='4.mp4', ext='mp4', target_dir='D:/短剧/4-mp4/ru', shared_target_dir='D:/短剧/4-mp4', cache_folder='D:/pyvideotrans/tmp/150620/c81f71d515-ru', is_cuda=False, source_language='简体中文', source_language_code='zh-cn', source_sub='D:/短剧/4-mp4/zh-cn.srt', source_wav='D:/短剧/4-mp4/_shared/zh-cn.wav', source_wav_output='D:/短剧/4-mp4/zh-cn.m4a', target_language='俄罗斯语', target_language_code='ru', target_sub='D:/短剧/4-mp4/ru/ru.srt', target_wav='D:/pyvideotrans/tmp/150620/c81f71d515-ru/target.wav', target_wav_output='D:/短剧/4-mp4/ru/ru.m4a', translate_type=0, tts_type=20, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Roger - Laid-Back Casual Resonant', voice_role_auto_mode=True, voice_autorate=True, video_autorate=True, dubbing_thread_workers=2, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', recogn_type=8, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0, target_language_pairs=[{'language': '俄罗斯语', 'code': 'ru'}, {'language': '哈萨克语', 'code': 'kk'}], target_languages=['俄罗斯语', '哈萨克语'], target_language_codes=['ru', 'kk'], multi_target_language_serial=True, multi_target_language_workers=0, resolved_multi_target_language_workers=2, stage_parallel_workers=2, video_slow_clip_workers=2, process_name='4.mp4 - 俄罗斯语', subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='D:/短剧/4-mp4/ru/4.mp4', novoice_mp4='D:/pyvideotrans/tmp/150620/c81f71d515-ru/novoice.mp4', is_separate=True, embed_bgm=True, instrument='D:/短剧/4-mp4/_shared/instrument.wav', vocal='D:/短剧/4-mp4/_shared/vocal.wav', clear_cache=False, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:zh
root_dir:D:/pyvideotrans

1 Replies

该错误发生在“微软翻译”接口拉取令牌时(https://edge.microsoft.com/translate/auth 返回 404)。你当前选择的是“Google(免费)”,但 Google 失败后软件自动切换到了 Microsoft 免费翻译,而 Microsoft 的 Edge 翻译接口可能因网络、限流或版本过旧暂时不可用。

解决办法

  1. 更换翻译渠道(最直接):在“菜单 → 翻译设置”中选择其他渠道,如 DeepSeek、OpenAI、百度翻译、腾讯翻译等。免费渠道也可尝试“DeepLX(自部署)”或配置代理使用“Google翻译”。
  2. 调整频率限制:进入“菜单 → 工具 → 高级选项 → 字幕翻译调整”,将“翻译后暂停秒”调大(例如 5-10 秒),并将“AI翻译渠道每批字幕行数”调小(如 10-20),避免短时间并发过多触发限流。
  3. 检查代理设置:主界面“网络代理”如果填写了代理,尝试清空保存;如果你的网络环境无法稳定访问 edge.microsoft.com,建议更换为国内可直接访问的翻译渠道。
  4. 升级软件版本:你当前使用 v4.03,最新版本为 v4.08-0802,旧版可能使用了已失效的翻译接口。请到官网下载最新完整包或补丁覆盖后重试。
  5. 清空翻译缓存:删除软件目录 tmp/translate_cache/ 下的文件,避免使用错误的缓存结果。

如果以上仍无法解决,请提供软件安装目录下 logs/ 文件夹中最新日志(复制底部约30行)以便进一步分析。

请查阅相关文档:

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