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

45.207**6 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=ru&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
......
, 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 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=ru&isEnterpriseClient=false (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1017)')))

trk=[TransCreate]: uuid='9966c3843b', proxy_str='http://127.0.0.1:9674', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/84988/Desktop/20240916_a3c4011aa3a2cfa2_481974664497_169497396794391_published_mp4_264_hd_taobao.mp4,
输出结果保存到文件夹: C:/Users/84988/Desktop/视频翻译工具视频/edgetts-noproxy.txt/20240916_a3c4011aa3a2cfa2_481974664497_169497396794391_published_mp4_264_hd_taobao-mp4,
临时文件夹: D:/视频英文翻译工具/新/4.16/tmp/27364/9966c3843b
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), tiny, 发音语言: 简体中文,
翻译渠道:Google(免费),原始语言:简体中文,目标语言:俄语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Svetlana(Female/RU), 配音语言:俄语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入硬字幕
代理地址: http://127.0.0.1:9674, 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=26733


=
system:Windows-10-10.0.26300-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/视频英文翻译工具/新/4.16

1 Replies

#1 DeepSeek reply at 1 hour ago

该报错的直接原因是:Google翻译不可用后自动回退到微软免费翻译接口 edge.microsoft.com/translate 时,TLS/SSL 握手被网络或代理中断(SSLEOFError)。通常不是软件 bug,而是当前网络环境、代理或系统时间导致无法与微软服务器建立安全连接。

解决方法:

  1. 检查代理:日志显示代理为 http://127.0.0.1:9674。请确认该代理软件正在运行且端口正确;若不需要代理,请清空主界面“网络代理”输入框并保存。
  2. 更换翻译渠道:既然 Google 免费翻译失败且微软回退也失败,建议使用国内可直接访问的翻译渠道,如 DeepSeek(推荐,需在“菜单-翻译设置-DeepSeek”填 API Key)、M2M100(内置)(本地离线,首次需下载模型),或百度/腾讯翻译。
  3. 检查系统时间:确保系统日期时间与当前实际时间一致,否则 HTTPS 证书校验也会触发此类错误。
  4. 若仍要使用微软翻译,可稍后重试;短时间内请求太频繁也会被微软拒绝。
  5. 注意:edgetts-noproxy.txt 只影响 Edge-TTS 配音渠道,不影响微软翻译渠道。

请查阅相关文档:

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