#7642 Network connection failedTraceback (most recent call last):

112.49**5 Posted at: 1 hour ago

Network connection failed
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 534, in _make_request
File "urllib3\connection.py", line 565, in getresponse
File "http\client.py", line 1375, in getresponse
File "http\client.py", line 318, in begin
File "http\client.py", line 287, in _read_status
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 474, in increment
File "urllib3\util\util.py", line 38, in reraise
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 534, in _make_request
File "urllib3\connection.py", line 565, in getresponse
File "http\client.py",
......
p\client.py", line 318, in begin
File "http\client.py", line 287, in _read_status
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

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 75, in run
File "videotrans\translator\_base.py", line 69, 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 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_microsoft.py", line 39, in _item_task
File "requests\api.py", line 115, in post
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 659, in send
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/素材/9月26日 (8)_2026-09-26_22-31-52.mp4,
输出结果保存到文件夹: E:/作者/9月26日 (8)_2026-09-26_22-31-52-mp4,
临时文件夹: D:/YII/tmp/8348/51d7869b7c
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Guy(Male/US), 配音语言:英语, 已选 二次语音识别
音量:+100%, 语速:-1%, 已选 音频加速, 已选 视频慢速
字幕: 不嵌入字幕
video_duration_ms=3886966


=
system:Windows-10-10.0.19045-SP0
version:v4.13
frozen:True
language:zh_CN
root_dir:D:/YII

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:微软免费翻译接口已更改或临时不可用,连接被远端强制中断(RemoteDisconnected)。

日志显示你实际使用的是 videotrans\translator\_microsoft.py,即 Microsoft 翻译渠道,该免费接口已不稳定/被关闭。

解决方案(任选其一,推荐第1种):

  1. 改用 DeepSeek 等 AI 翻译渠道:

    • 访问 https://platform.deepseek.com/ 注册并充值(可只充1元),获取 API Key;
    • 在软件 菜单--翻译设置--DeepSeek 中填写该 Key;
    • 主界面「翻译渠道」下拉改为 DeepSeek。

  2. 改用本地离线翻译:翻译渠道选择 M2M100(内置),首次使用会自动下载模型(位置 软件目录/models/m2m100_12b)。

  3. 若坚持用免费渠道:Google 翻译国内需科学上网,并在主界面「对齐控制」右侧的代理框中正确填写代理地址(如 http://127.0.0.1:端口)。

补充说明:

  • 微软翻译是免费公开接口,已被微软更改,稳定性无法保证,频繁请求易失败。

  • v4.13 起 Google 翻译前会先检测,失败会自动切换微软;但反过来(微软失败)不会自动切换,因此建议直接用 AI 通道。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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