#8914 Secure connection failed, check system time or network settingsurllib3.exceptions.SSLError: EOF occurred in violation of

2602**142c Posted at: 23 minutes ago

Secure connection failed, check system time or network settings
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1017)

The above exception was the direct cause of the following exception:

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 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/translatetext?from=&to=en&isEnterpriseClient=false (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 90, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 71, in run
File "videotrans\translator\_base.py", line 79, in run
File "videotrans\translator\_base.py", line 117, 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 49, 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 675, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/translatetext?from=&to=en&isEnterpriseClient=false (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))

trk=[TransCreate]: uuid='9b70d3cc76', proxy_str='http://127.0.0.1:9674', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: F:/凌霄宝人物形象/凌霄成品/第二集.mp4,
输出结果保存到文件夹: F:/凌霄宝人物形象/凌霄成品/_video_out/第二集-mp4,
临时文件夹: E:/win-pyvideotrans-v4.15/tmp/36788/9b70d3cc76
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文,
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕
代理地址: http://127.0.0.1:9674, precent=12, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
trk.cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: F:/凌霄宝人物形象/凌霄成品/第二集.mp4,
输出结果保存到文件夹: F:/凌霄宝人物形象/凌霄成品/_video_out/第二集-mp4,
临时文件夹: E:/win-pyvideotrans-v4.15/tmp/36788/9b70d3cc76
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文,
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕
代理地址: http://127.0.0.1:9674
video_duration_ms=186866


=
system:Windows-10-10.0.26300-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:E:/win-pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 23 minutes ago

核心原因:翻译请求(Google 失败后自动回退到微软翻译 edge.microsoft.com)走了你填写的代理 http://127.0.0.1:9674,而该代理在 TLS 握手阶段被中断(EOF occurred in violation of protocol),即代理未启动、端口错误、节点不支持/劫持 HTTPS,或系统时间不准确。

处理步骤:

  1. 先确认代理是否真的可用:检查代理客户端是否已启动、监听端口是否确为 9674(很多客户端默认是 7890/10808,端口填错就会报这个错)。若不确定,直接把主界面「网络代理」输入框清空。
  2. 换用无需代理的翻译渠道重试:微软翻译(免费)和国内 AI 渠道(DeepSeek、智谱AI 等)在国内可直连,且软件内置免代理域名列表。将翻译渠道改为 Microsoft(免费),或 DeepSeek(需在 菜单—翻译设置—DeepSeek 填 API Key),并清空代理框。
  3. 若必须用 Google 翻译:Google 在国内必须走代理,需保证代理节点稳定且支持 HTTPS 直通,可更换节点后重试;也可在代理软件中把 edge.microsoft.com、translate.googleapis.com 加入直连/规则例外,避免被中间人劫持。
  4. 检查系统时间:Windows 设置—时间和语言—开启「自动设置时间」并立即同步,时间偏差过大会直接导致 SSL 握手失败。
  5. 另外排查杀毒软件的「HTTPS 扫描/网页防护」功能,它会替换证书导致 SSL EOF,可临时关闭测试。
  6. 修改后,主界面勾选 清理已生成 再重新开始,避免复用上次失败的缓存。

请查阅相关文档:

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