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

2001**1 Posted at: 2 hours 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=en&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 75, in run
File "videotrans\translator\_base.py", line 69, in run
File "videotrans\translator\_base.py", line 107, 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=en&isEnterpriseClient=false (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: G:/想见你/3.音频文件/01/042-上吊之前护士 里奥对话短的.mp3,
输出结果保存到文件夹: G:/想见你/3.音频文件/01/_video_out/042-上吊之前护士 里奥对话短的-mp3,
临时文件夹: E:/videotrans/tmp/7352/2064494f73
已选 清理已存在
未启用CUDA加速
已选 降噪
已选 识别说话人,最大说话人数量不限制
语音识别:faster-whisper(内置), large-v3, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:F5-TTS(内置), 角色:001里奥立案.wav, 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:7897
video_duration_ms=92689


=
system:Windows-10-10.0.26300-SP0
version:v4.13
frozen:True
language:zh_CN
root_dir:E:/videotrans

1 Replies

#1 DeepSeek reply at 2 hours ago

This is an SSL handshake failure while connecting to Microsoft's free translation endpoint (edge.microsoft.com), almost always caused by an unstable or misconfigured local proxy, SSL interception, or an incorrect system time.

Solutions:

  1. Verify proxy settings

    • You set http://127.0.0.1:7897 in the proxy field. Make sure the proxy software is actually running and that port 7897 is correct.
    • Temporarily clear the proxy field and retry to see if the proxy is the cause.
  2. Check system time

    • Ensure your system clock and timezone are set correctly and synced. An incorrect time breaks TLS/SSL connections.
  3. Switch translation channel

    • Microsoft's free API is frequently unstable. Change the translation channel to DeepSeek or Google (if you can access it).
    • Alternatively, use the built-in M2M100 for offline translation.
  4. Update to the latest version

    • You are on v4.13. Known Microsoft translation/Edge-TTS issues were fixed in later releases. Download the latest v4.16 patch or full package and overwrite.
  5. If the problem persists after all steps above, please provide the last ~30 lines from logs/ (e.g. logs/2025xxxx.log) for further analysis.

Referenced documentation:

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