#6385 翻译字幕阶段出错 [Google(免费)] 安全连接失败,请检查系统时间或网络设置,如果使用了代理,请关闭后重试urllib3.exceptions.SSLError: EOF occurred in violation of protoc

188.253.**0 Posted at: 18 hours ago

翻译字幕阶段出错 [Google(免费)] 安全连接失败,请检查系统时间或网络设置,如果使用了代理,请关闭后重试
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=turkey,%20but%20we%20never%20have%20turkey%0AReally?%20I%20never%20have%20turkey%20either%0AOoh,%20OK.%20What%20do%20you%20have%0AWe%20usually%20have%20duck%20or%20some%20other%20kind%20of%20bird,%20but%20nobody%0Areally%20likes%20turkey%20in%20my%20house%0ANo,%20nobody%20likes%20turkey%20in%20my%20house%20either%0AWe%20have%20venison%0Awhich%20is%20deer%0AWow%0AOK,%20Neil,%20so%20what%20about%20New%20Year's%20Eve?%2
......
ine 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\_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=turkey,%20but%20we%20never%20have%20turkey%0AReally?%20I%20never%20have%20turkey%20either%0AOoh,%20OK.%20What%20do%20you%20have%0AWe%20usually%20have%20duck%20or%20some%20other%20kind%20of%20bird,%20but%20nobody%0Areally%20likes%20turkey%20in%20my%20house%0ANo,%20nobody%20likes%20turkey%20in%20my%20house%20either%0AWe%20have%20venison%0Awhich%20is%20deer%0AWow%0AOK,%20Neil,%20so%20what%20about%20New%20Year's%20Eve?%20What%20do%20you%20usually%20do (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))
cfg=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: F:/BaiduNetdiskDownload/百度网盘 英语资料/Real Easy 文件类型分类/1、音频/241220-Talking about traditions.mp3,
输出结果保存到文件夹: F:/BaiduNetdiskDownload/百度网盘 英语资料/Real Easy 文件类型分类/1、音频/241220-Talking about traditions-mp3,
临时文件夹: D:/BaiduDownload/win-pyvideotrans-v4.08/tmp/42808/8bfdf16eb5
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
输出字幕格式: 目标语言在下双字幕
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.08
frozen:True
language:zh
root_dir:D:/BaiduDownload/win-pyvideotrans-v4.08

1 Replies

这是 Google 翻译无法从当前网络环境连通导致的。translate.google.com 在中国大陆地区无法直接访问,你未填写代理地址,因此 SSL 连接在握手阶段被中断,报出 EOF occurred in violation of protocol

解决方案(按优先级):

  1. 配置代理:如果你有可用的 VPN/代理工具,在主界面「网络代理」栏填写代理地址,格式如 http://127.0.0.1:7890socks5://127.0.0.1:7890,然后重新执行。
  2. 改用免代理翻译渠道:将「翻译渠道」切换为「Microsoft(免费)」或「M2M100(内置)」——Microsoft 翻译无需代理即可访问,M2M100 为本地离线翻译,第一次使用会下载模型。
  3. 改用 AI 翻译渠道:DeepSeek 等国内 AI 渠道无需代理,翻译质量更高。可前往 DeepSeek 开放平台充值获取 API Key,填入「菜单 → 翻译设置 → DeepSeek」。

请查阅相关文档:

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