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

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

trk=[TransCreate]: uuid='46e6ad69ad', proxy_str='http://127.0.0.1:7897', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/chens/Videos/bili/吴恩达agent/【最新最全版本】圈内公认最好的吴恩达Agent智能体教程!内容覆盖Agent、RAG、MCP、Skill、LangChain、多智能体协同/P6-6.任务分解:识别工作流中的步骤.mp4,
输出结果保存到文件夹: C:/Users/chens/Videos/bili/吴恩达agent/【最新最全版本】圈内公认最好的吴恩达Agent智能体教程!内容覆盖Agent、RAG、MCP、Skill、LangChain、多智能体协同/_video_out/P6-6.任务分解:识别工作流中的步骤-mp4,
临时文件夹: H:/translate_video/tmp/27408/46e6ad69ad
已选 清理已存在
已启用CUDA加速
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, , 数据类型:default
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
配音渠道:Edge-TTS(免费), 角色:Yunjian(Male/CN), 配音语言:简体中文
音量:+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=516333


=
system:Windows-10-10.0.26200-SP0
version:v4.17
frozen:True
language:zh_CN
root_dir:H:/translate_video

1 Replies

#1 DeepSeek reply at 1 hour ago

这是因为微软免费翻译接口 edge.microsoft.com 的请求被强行走代理 http://127.0.0.1:7897,代理在 TLS 握手阶段直接断开连接(EOF occurred in violation of protocol),导致 SSL 握手失败。微软翻译与 Edge-TTS 在国内可直连,走代理反而极易报此错。

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

  1. 清空代理:将主界面「对齐控制」行右侧的 网络代理 文本框清空并保存,然后勾选 清理已生成 重新执行。注意:清空代理后 Google 翻译在国内将无法使用,请把翻译渠道改为 DeepSeek 或 M2M100(内置)(见第 3 条)。
  2. 检查代理软件本身:若当天必须用代理(如坚持用 Google 翻译),请确认 Clash/V2Ray 等代理软件正在运行、端口确为 7897、系统代理或 TUN 模式已开启;节点切换为可用节点后重试。代理填写了但代理未运行,同样会报 EOF occurred in violation of protocol。
  3. 更换翻译渠道(推荐):将翻译渠道从 Google(免费) 改为 DeepSeek(AI 翻译质量更好,直连无需代理),需在 菜单-翻译设置-DeepSeek 填写 API Key;完全离线可改用 M2M100(内置),首次使用会在 软件目录/models/m2m100_12b 下载模型。

另外需提醒:你的视频路径包含 【】、中文、空格且极长(C:/Users/chens/Videos/bili/吴恩达agent/【最新最全版本】...),Windows 命令行有 260 字符路径长度限制,后续合成阶段极易报 ffprobe exec error。建议把视频重命名为简短英文名(如 video1.mp4)放在浅层目录(如 D:/videos/)后再翻译。

请查阅相关文档:

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