#6873 500 Server Error: Internal Server Error for url: https://edge.microsoft.com/translate/translatetext?from=&to=zh-Hans&isE

113.88.**1 Posted at: 2 hours ago

500 Server Error: Internal Server Error for url: https://edge.microsoft.com/translate/translatetext?from=&to=zh-Hans&isEnterpriseClient=false
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 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, 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 41, in _item_task
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://edge.microsoft.com/translate/translatetext?from=&to=zh-Hans&isEnterpriseClient=false

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: F:/golearn/360.mp4,
输出结果保存到文件夹: F:/golearn/GBD002/out/360-mp4,
临时文件夹: G:/VideoTrans/tmp/7248/bcf9e8087c
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:openai-whisper(内置), large-v3-turbo, 发音语言: 西班牙语, 断句方式:LLM重新断句
翻译渠道:Google(免费),原始语言:西班牙语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入硬字幕


=
system:Windows-10-10.0.19045-SP0
version:v4.10
frozen:True
language:zh
root_dir:G:/VideoTrans

1 Replies

#1 DeepSeek reply at 2 hours ago

微软翻译接口已失效,且Google翻译在国内无法直接访问,导致自动回退到微软后报错。建议更换翻译渠道。

  1. 推荐方案:改用 DeepSeek 渠道,翻译质量最佳。在 菜单 → 翻译设置 → DeepSeek 中填入API密钥(https://platform.deepseek.com/ 可申请),然后在主界面翻译渠道下拉框中选中 DeepSeek
  2. 备选方案:使用 M2M100(内置) 本地翻译,无需密钥,第一次使用会自动下载模型。
  3. 若坚持用Google翻译:需配置科学上网代理,在 设置 → 网络代理 中填写有效代理地址,否则Google请求会失败。
  4. 临时规避:日志显示 "翻译渠道:Google(免费)" 但报错来自微软,说明Google请求失败后自动重试了微软。只要Google能正常访问,就不会触发此问题。

请查阅相关文档:

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