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

51.79**9 Posted at: 2 hours 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 "vide
......
_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='6aca612b6c', proxy_str='http://127.0.0.1:7688', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/01ea96459970b8324f037001a05b00a9ac_258.mp4,
输出结果保存到文件夹: E:/_video_out/01ea96459970b8324f037001a05b00a9ac_258-mp4,
临时文件夹: E:/sp/tmp/3100/6aca612b6c
已选 清理已存在
未启用CUDA加速
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文, , 数据类型:default
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
配音渠道:Edge-TTS(免费), 角色:Clara(Female/CA), 配音语言:英语
音量:+0%, 语速:+0%, 未选 音频加速, 已选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入硬字幕
已选 仅输出mp4
代理地址: http://127.0.0.1:7688, precent=12, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, 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
video_duration_ms=166233


=
system:Windows-10-10.0.19045-SP0
version:v4.17
frozen:True
language:zh_CN
root_dir:E:/sp

1 Replies

#1 DeepSeek reply at 2 hours ago

这是代理导致的 TLS 连接中断:日志中代理为 http://127.0.0.1:7688,而翻译渠道是 Google(免费)。Google 在中国大陆无法访问,失败后会自动回退到微软翻译;经过该代理连接 edge.microsoft.com 时握手被中断,报出的就是 SSLEOFError: EOF occurred in violation of protocol。

解决步骤(按顺序尝试):

  1. 先清空主界面“网络代理”输入框,保存后重新翻译。微软翻译在国内可以直连,通常不需要代理;同时要避免无效代理让所有请求都失败。
  2. 确认代理服务确实正在运行,且端口为 7688。如果实际端口不是 7688,说明填写有误;若代理软件未启动,请启动它,或按第 1 步清空代理。
  3. 校准 Windows 系统时间:右键任务栏时间 → 调整日期/时间 → 开启“自动设置时间”并点击“立即同步”。时间偏差会导致 SSL 证书校验失败,正是报错提示 check system time 的原因。
  4. 更换代理节点:如果你的代理线路不稳定,或该节点被目标站拦截,请换用更干净的节点。
  5. 推荐改用 AI 翻译渠道:使用 DeepSeek(国内可直连、无需代理、质量优于免费 Google),在 菜单 → 翻译设置 → DeepSeek 填入密钥,然后在“翻译渠道”中选择 DeepSeek 重试。注意:重试前勾选 清理已生成,否则会复用上次失败生成的字幕缓存。
  6. 若坚持使用 Google 翻译:请确保代理开启,并且在“网络代理”框中填写正确的 http://127.0.0.1:端口(不是 7688 时按实际端口填写)。

请查阅相关文档:

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