#1729 requests.exceptions.SSLError: (MaxRetryError(

2408:8438* Posted at: 6 days ago 👁47

urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:997)

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='hf-mirror.com', port=443): Max retries exceeded with url: /api/models/Systran/faster-whisper-large-v3/revision/main (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\process\_overall.py", line 93, in run
File "faster_whisper\transcribe.py", line 681, in init
File "faster_whisper\utils.py", line 116, in download_model
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\_snapshot_download.py", line 165, in snapshot_download
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\hf_api.py", line 2864, in repo_info
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\hf_api.py", line 2648, in model_info
File "requests\sessions.py", line 602, in get
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "huggingface_hub\utils\_http.py", line 95, in send
File "requests\adapters.py", line 675, in send
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='hf-mirror.com', port=443): Max retries exceeded with url: /api/models/Systran/faster-whisper-large-v3/revision/main (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))"), '(Request ID: 99b52175-9178-4c96-bae7-b9546fe1a362)')


=
system:Windows-10-10.0.26200-SP0
version:v3.87
frozen:True
language:zh
root_dir:C:/Users/zhulingtao/Desktop/win-pyvideotrans-v3.87

1 Replies

此错误表明软件在尝试从 Hugging Face 镜像站 (hf-mirror.com) 下载 faster-whisper-large-v3 模型时,遇到了 SSL 网络连接问题。这通常与网络环境(如代理、防火墙)或系统 SSL 证书配置有关。

核心解决方法:手动下载并放置模型文件。

  1. 停止当前任务:关闭软件。
  2. 下载模型

    • 访问 https://hf-mirror.com/Systran/faster-whisper-large-v3
    • 下载整个仓库(通常是一个 .tar.gz.zip 文件,或使用 git clone)。
  3. 放置模型

    • 在软件根目录(C:/Users/zhulingtao/Desktop/win-pyvideotrans-v3.87)下,找到或创建 models 文件夹。
    • 将下载的模型文件夹(应命名为 faster-whisper-large-v3完整解压models 目录下。
    • 最终路径应为:C:/Users/zhulingtao/Desktop/win-pyvideotrans-v3.87/models/faster-whisper-large-v3/
  4. 重启软件:重新启动 pyVideoTrans,再次尝试任务。软件会优先使用本地已存在的模型,从而绕过网络下载。

备用方案(如果手动下载后仍报错或想尝试其他模型):

  • 在软件主界面第2行“语音识别”设置中,暂时更换为更小的模型(如 mediumsmall),这些模型可能已预下载或体积更小,下载成功率更高。
  • 检查系统代理设置或防火墙是否阻止了与 hf-mirror.com 的连接。如果使用代理,请确保代理设置正确。

如果问题依旧,请提供 C:/Users/zhulingtao/Desktop/win-pyvideotrans-v3.87/logs/ 目录下的最新日志文件。

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions