#5789 连接超时,请检查网络连接是否稳定. 微软翻译使用频繁可能触发限流,请稍等段时间重试。Traceback (most recent call last):

2408:8411* Posted at: 2 days ago

连接超时,请检查网络连接是否稳定. 微软翻译使用频繁可能触发限流,请稍等段时间重试。
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 68, in run
File "videotrans\translator\_base.py", line 101, 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\_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 25, in _item_task
File "requests\api.py", line 73, in get
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 690, in send
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='edge.microsoft.com', port=443): Read timed out. (read timeout=None)

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/1/AppData/Local/Temp/petal_20260621_094211_UiooXk,
输出结果保存到文件夹: E:/翻译11/petal_20260621_094211_UiooXk-,
临时文件夹: D:/360Downloads/win-pyvideotrans-v4.05-0711/tmp/7016/f8c4ad8d3e
已选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.05
frozen:True
language:zh
root_dir:D:/360Downloads/win-pyvideotrans-v4.05-0711

1 Replies

微软翻译接口连接超时,通常由两种原因引起:网络不稳定或短时请求频繁触发限流。

解决方法

  1. 增加翻译间隔:进入菜单 → 工具 → 高级选项 → 字幕翻译调整,将 翻译后暂停秒 改为 510,以避免被微软限流。
  2. 更换翻译渠道:暂时改用 Google 翻译(需代理)或百度翻译、DeepSeek 等国内可用渠道。在“翻译渠道”下拉框中选择其他服务并配置好对应的 API 密钥。
  3. 检查网络与代理:确保当前网络可以正常访问 edge.microsoft.com。若已配置代理,在代理输入框中清空或填写正确的代理地址(如 http://127.0.0.1:7890),保存后重试。

如果调整后仍出现超时,请提供 logs/ 目录下最新日志文件的前后更多内容,以便进一步分析。

请查阅相关文档:

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