#7399 Secure connection failed, check system time or network settingsurllib3.exceptions.SSLError: EOF occurred in violation of

103.167**5 Posted at: 1 hour ago

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=es-419&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\only_one.py", line 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 67, in run
File "videotrans\translator\_base.py", line 105, 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 39, 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=es-419&isEnterpriseClient=false (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/游戏录像/巴特勒828/9月11日.mp3,
输出结果保存到文件夹: E:/游戏录像/巴特勒828/2/9月11日-mp3,
临时文件夹: E:/pyvideotrans/win-pyvideotrans-v4.12-0913/tmp/29928/e7cb4adeb0
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:简体中文,目标语言:西班牙语(拉美), 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Emilio(Male/DO), 配音语言:西班牙语(拉美), 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 不嵌入字幕
代理地址:http://localhost:15236
video_duration_ms=421992


=
system:Windows-10-10.0.26100-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:E:/pyvideotrans/win-pyvideotrans-v4.12-0913

1 Replies

#1 DeepSeek reply at 1 hour ago

报错核心原因:SSLError: EOF occurred in violation of protocol 表示与微软翻译服务器 edge.microsoft.com 的 HTTPS 连接被中断,通常由代理(VPN)节点不稳定或连接被拦截引起。从你的配置日志看,你填写了代理地址 http://localhost:15236,微软翻译属于国外免费接口,走代理时极易出现 SSL 断连。

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

  1. 更换或关闭代理:将主界面「对齐控制」行右侧的代理文本框清空(微软翻译本身在国内可直连,无需代理),保存后重试。
  2. 若必须使用代理:更换一个更稳定、干净的代理节点,或确认代理服务 localhost:15236 端口正常监听。
  3. 改用 AI 翻译渠道(强烈推荐):微软免费翻译接口本身就极不稳定。前往 https://platform.deepseek.com/ 注册并充值(可自定义 1 元),获取 API Key,填入 菜单 → 翻译设置 → DeepSeek,然后在翻译渠道下拉选择 DeepSeek,翻译质量和稳定性远优于微软免费接口。
  4. 小众语言注意:你当前目标语言是「西班牙语(拉美) es-419」,若使用传统翻译渠道可能因语言代码不支持而报错,翻译渠道建议选 AI 大模型(DeepSeek / OpenAI / Gemini 等)。

请查阅相关文档:

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