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

5.34**8 Posted at: 52 minutes 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=ja&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 90, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 71, in run
File "vide
......
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 49, 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=ja&isEnterpriseClient=false (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))

trk=[TransCreate]: uuid='bca3b0bbd8', proxy_str='http://127.0.0.1:7897', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: F:/下载/iOS 26 Fake GPS Location on iPhone Stay Home But Appear Anywhere (Snapchat, Pokémon GO, Tinder) (1).mp4,
输出结果保存到文件夹: F:/下载/_video_out/iOS 26 Fake GPS Location on iPhone Stay Home But Appear Anywhere (Snapchat, Pokémon GO, Tinder) (1)-mp4,
临时文件夹: F:/语音转文字/tmp/10344/bca3b0bbd8
已选 清理已存在
未启用CUDA加速
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, , 数据类型:default
翻译渠道:Google(免费),原始语言:英语,目标语言:日语, 已选 发送完整字幕, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
配音渠道:Edge-TTS(免费), 角色:Keita(Male/JP), 配音语言:日语
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 不嵌入字幕
代理地址: http://127.0.0.1:7897, precent=12, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=213416


=
system:Windows-10-10.0.19045-SP0
version:v4.17
frozen:True
language:zh_CN
root_dir:F:/语音转文字

1 Replies

#1 DeepSeek reply at 52 minutes ago

核心原因是:翻译请求经本地代理(127.0.0.1:7897)转发时 TLS 握手被中断(SSLEOFError)。日志显示翻译渠道虽是 Google(免费),但 Google 失败后自动回退到了微软免费接口,而微软翻译在国内本可直接访问,经代理转发反而握手失败。

处理步骤:

  1. 先判断是不是代理本身的问题:确认代理软件(如 Clash)正在运行、端口确为 7897、节点可用;若不确定,可临时清空主界面“网络代理”输入框再试。
  2. 若你不需要 Google,最省事:把翻译渠道从 Google(免费) 直接换成 Microsoft(免费)(微软无需代理,可清空代理),或换用 DeepSeek 等国内 AI 渠道(质量更佳且默认不走代理)。
  3. 若必须用 Google:保留代理,并在代理软件规则中把 edge.microsoft.com 配成 DIRECT(直连)或更换干净节点;同时在 高级选项 → 字幕翻译 → 翻译后暂停秒 适当加大,降低请求频率触发 429 后回退微软的概率。
  4. 还可尝试在软件根目录新建空文件 edgetts-noproxy.txt(针对 Edge-TTS 代理问题),或排查代理格式是否为 http://127.0.0.1:端口号,端口错误同样会引发此握手中断。

由于此报错本质是网络层(代理/TLS)问题,与软件功能无关,若按上述步骤仍失败,请关闭代理后直接用 Microsoft(免费) 测试以定位是代理问题还是软件问题。

请查阅相关文档:

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