#8404 翻译字幕阶段出错 [Google(免费)] Secure connection failed, check system time or network settingsurllib3.exceptions.SSLError: EOF oc

188.253**7 Posted at: 1 hour ago

翻译字幕阶段出错 [Google(免费)] 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=zh-Hans&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\job.py", line 35, in run

File "videotrans\task\job.py", line 138, in process_task

File "videotrans\task\translate_srt.py", line 51, 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 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=zh-Hans&isEnterpriseClient=false (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))
[TranslateSrt]翻译字幕: OutputFormat=双语(目标语言在上)
[TaskCfgSTS]
原始输入文件名: F:/Video2/OnlyFans/20261023/EPORNER.COM - bYUxCkIx8Sw Pawg Hard Fuck (1080).zh-cn-1.srt,
输出结果保存到文件夹: F:/Video2/OnlyFans/20261023
翻译渠道:Google(免费),原始语言:en,目标语言:zh-cn, 已选 发送完整字幕
代理地址:http://127.0.0.1:7897


=
system:Windows-10-10.0.19045-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/Program Files (x86)/win-pyvideotrans-v4.14

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:所选 Google(免费) 翻译走代理请求失败后,v4.13 起会自动降级改用微软翻译重试,而你的代理链路(http://127.0.0.1:7897)在建立 HTTPS 连接时被中断,导致 SSL 握手失败并抛出 EOF occurred in violation of protocol。这是网络/代理层问题,并非软件 bug。

解决方案(按顺序排查):

  1. 先验证代理本身是否可用
    打开浏览器,确认代理软件(Clash/Verge 类默认端口正是 7897)已启动且节点可用,能正常打开 google.com。若浏览器也打不开,则是节点失效,切换一个节点再试。
  2. 校对系统时间
    进入 Windows 设置 → 时间和语言 → 日期和时间,开启"自动设置时间"并点"立即同步"。系统时间偏差会直接导致 SSL 证书校验失败并报此错。
  3. 改用免代理渠道(最省事,推荐)

    • 翻译渠道直接换成 DeepSeek(国内 API,软件内置免代理白名单,即使填写了代理也会绕过),翻译质量优于免费 Google,需到 菜单 → 翻译设置 → DeepSeek 填入 API Key。
    • 或者清空主界面右侧 网络代理 文本框,翻译渠道选 Microsoft(免费),国内直连可正常使用。
  4. 排查安全软件 SSL 拦截
    部分杀毒软件、防火墙或代理工具的"HTTPS 解密/SSL 扫描"功能会中断 TLS 握手。请关闭该类功能,或将软件目录加入信任白名单。
  5. 补充提醒(与本次报错无关但会引发其他故障)
    你的软件安装在 D:/Program Files (x86)/win-pyvideotrans-v4.14,属于系统核心目录,软件可能无法正常写入临时文件和输出。建议整体移动到 D:/pyvideotrans 这类浅层纯英文目录后再使用。

请查阅相关文档:

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