#6316 安全连接失败,请检查系统时间或网络设置,如果使用了代理,请关闭后重试urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1017)

81.28* Posted at: 2 hours ago

安全连接失败,请检查系统时间或网络设置,如果使用了代理,请关闭后重试
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=en&tl=zh-cn&hl=zh-cn&q=Thank%20you%20all%20so%20much%20for%20coming%20today%0AWhether%20it's%20morning,%20day,%20evening,%20or%20night,%20wherever%20you%20are%20in%20the%20world%0AI%20hope%20that%20you%20have%20a%20wonderful%20time%0AAnd%20if%20you%20can%20do%20just%20one%20thing%20for%20me%20today,%20please%20be%20kind%20to%20yourself%20and%20take%20care%0AI'll%20see%20you%20guys%20in%20the%20next%20stream%0ABye-bye%0ANow,%20excuse%20me%20while%20I%20go%20and%20be%20very%
......
78, 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 30, 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=en&tl=zh-cn&hl=zh-cn&q=Thank%20you%20all%20so%20much%20for%20coming%20today%0AWhether%20it's%20morning,%20day,%20evening,%20or%20night,%20wherever%20you%20are%20in%20the%20world%0AI%20hope%20that%20you%20have%20a%20wonderful%20time%0AAnd%20if%20you%20can%20do%20just%20one%20thing%20for%20me%20today,%20please%20be%20kind%20to%20yourself%20and%20take%20care%0AI'll%20see%20you%20guys%20in%20the%20next%20stream%0ABye-bye%0ANow,%20excuse%20me%20while%20I%20go%20and%20be%20very%20gross%20and%20disgusting%20while%20just%0Agiving%20Emil%20tummy%20scratches%0AI'm%20so%20glad%20that%20you%20guys%20will%20never%20hear%20how%20I%20talk%20to%20him%0AAnd%20he's%20like,%20who's%20a%20good%20boy (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/缄默祸运结尾杂谈talk.mp4,
输出结果保存到文件夹: D:/ike/缄默祸运结尾杂谈talk-mp4,
临时文件夹: E:/狮子的自主练习计划/win-pyvideotrans-v4.08-0802/tmp/19980/ce53f5e567
未选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:LLM重新断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕(双) 目标语言在上双字幕
已选 仅输出mp4
代理地址:http://127.0.0.1:17891


=
system:Windows-10-10.0.22621-SP0
version:v4.08
frozen:True
language:zh
root_dir:E:/狮子的自主练习计划/win-pyvideotrans-v4.08-0802

1 Replies

这是访问 Google 翻译时 SSL 握手失败导致的。当前你使用了 Google 翻译渠道,但该渠道需要代理才能访问,而软件中配置的代理地址 http://127.0.0.1:17891 可能无效、端口不正确,或代理本身影响了 SSL 连接,导致请求在 TLS 握手阶段被中断。

解决方法(按顺序尝试):

  1. 检查代理是否真实可用:先确认你的代理客户端正在运行,且监听端口确实是 17891。可以打开浏览器/CMD 执行 curl -x http://127.0.0.1:17891 https://translate.google.com 测试是否通;不通则修改为正确的代理地址。
  2. 清空代理地址重试:如果不需要代理、或无法确定正确代理,直接清空主界面“网络代理”文本框并保存,然后改用 Microsoft 翻译(免费、无需代理)或 DeepSeek 等 AI 翻译渠道。
  3. 更换翻译渠道:可优先选择 Microsoft 翻译(无需科学上网),或在翻译渠道下拉中选择 DeepSeekM2M100(内置) 等,避免 Google 渠道的网络限制。
  4. 更正代理格式:若确实需要代理,格式必须是 http://127.0.0.1:端口socks5://127.0.0.1:端口,且不能为 0.0.0.0

如果仍失败,请提供 logs/ 目录下最新的日志文件内容(复制底部约 30 行)以便进一步分析。

请查阅相关文档:

Post Your Reply
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

Dondate via PayPal

Related resource