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

185.116**3 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='translate.google.com', port=443): Max retries exceeded with url: /m?sl=auto&tl=en&hl=en&q=In%20this%20video%20%2C%20we%27re%20going%20to%20cover%20a%20basic%0AOverview%20of%20the%20interface%20inside%20of%20after%20effects%0ANow%20%2C%20since%20this%20is%20a%20general%20overview%0AI%27m%20not%20going%20to%20jump%20into%20the%20details%20about%20every%20single%20aspect%0AThis%20is%20designed%20to%20be%20a%20basic%20workflow%20overview%0ASo%20you%20can%20have%20a%20general%20idea%20
......
.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\_google.py", line 48, 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 675, in send

requests.exceptions.SSLError: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: /m?sl=auto&tl=en&hl=en&q=In%20this%20video%20%2C%20we%27re%20going%20to%20cover%20a%20basic%0AOverview%20of%20the%20interface%20inside%20of%20after%20effects%0ANow%20%2C%20since%20this%20is%20a%20general%20overview%0AI%27m%20not%20going%20to%20jump%20into%20the%20details%20about%20every%20single%20aspect%0AThis%20is%20designed%20to%20be%20a%20basic%20workflow%20overview%0ASo%20you%20can%20have%20a%20general%20idea%20as%20to%0AHow%20to%20move%20around%20in%20after%20effects%20composition%0Aso%20let%27s%20go%20ahead%20and%20get%20started%0ABy%20looking%20at%20our%20after%20effects%20project%20that%20we%20currently%20have%20open%0AWhenever%20you%27re%20working%20in%20after%20effects (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))
[TranslateSrt]翻译字幕: OutputFormat=单语字幕
[TaskCfgSTS]
原始输入文件名: E:/AE/After Effects Guru/01 After Effects CC Essential Training(核心培训)/122431_01_02_3D15_interface.srt,
输出结果保存到文件夹: D:/win-pyvideotrans-v4.12-0912_20260913_140223/output/translate
翻译渠道:Google(免费),原始语言:auto,目标语言:en, 已选 发送完整字幕
代理地址:http://127.0.0.1:2080


=
system:Windows-10-10.0.19045-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/win-pyvideotrans-v4.12-0912_20260913_140223

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:Google 翻译渠道在中国大陆无法直连,当前配置的代理地址 http://127.0.0.1:2080 未能建立有效的 HTTPS 隧道,导致 SSL 连接被对端直接切断(EOF occurred in violation of protocol)。

解决方案(按优先级从高到低):

  1. 核实代理是否真正可用:确认你本机代理软件正在运行,并且其 HTTP 端口确实是 2080。常见代理端口为 7890(Clash)、10809(v2rayN)、1080 等,端口填错会直接导致本错误。请打开代理软件查看实际 HTTP 端口后,在主界面右侧“网络代理”文本框中改为正确地址。
  2. 确认代理软件允许 HTTP 代理:部分代理软件只开了 SOCKS5 端口,若填成 http 地址会失败。可尝试改为 socks5://127.0.0.1:2080(前提是该端口是 SOCKS5)。
  3. 切换翻译渠道(最省事)

    • 改用 DeepSeek(翻译质量比 Google 更好,价格极低,去 https://platform.deepseek.com/ 充值 1 元获取 API Key,填入 菜单 → 翻译设置 → DeepSeek,翻译渠道选 Deepseek 即可);
    • 或改用 M2M100(内置) 本地翻译,完全离线,首次使用会自动下载模型。
  4. 临时直接用 Google 但绕过代理:如果你本身处于可直连 Google 的网络环境(如海外 VPS),请将代理文本框清空后再试。
  5. 若仍失败,请检查系统时间是否准确——SSL 握手对系统时间偏差敏感,"check system time" 提示即源于此。

请查阅相关文档:

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