#2122 TaskCfg(cache_folder='/Users/justinfungcheuk/pyvideotrans/tmp/76131/70eb49b40d', target_dir='/Users/justinfungcheuk/Desk

113.10* Posted at: 11 hours ago 👁9

翻译字幕阶段出错:[Google(免费)] 安全连接失败,请检查系统时间或网络设置,如果使用了代理,请关闭后重试:
Traceback (most recent call last):
File "/Users/justinfungcheuk/pyvideotrans/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 464, in _make_request

self._validate_conn(conn)

File "/Users/justinfungcheuk/pyvideotrans/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1093, in _validate_conn

conn.connect()

File "/Users/justinfungcheuk/pyvideotrans/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 790, in connect

sock_and_verified = _ssl_wrap_socket_and_match_hostname(

File "/Users/justinfungcheuk/pyvideotrans/.venv/lib/python3.10/site-packages/urllib3/connection.py", line 969, in _ssl_wrap_socket_and_match_hostname

ssl_sock = ssl_wrap_socket(

File "/Users/justinfungcheuk/pyvideotrans/.venv/lib/python3.10/site-packages/urllib3/util/ssl_.py", line 480, in ssl_wrap_socket

ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostna

......
0AMedia%20post%20or%20media%20links%20document%20and%20I'm%20just%20gonna%20paste%20this%20all%20right%0AThey%20go%20CIO%20comms%20have%20collaborative%20AI%20as%20knowledge%20in%20there.%20I%20agree%0ASo%20now%20let's%20go%20ahead%20and%20actually%20test%20this%20step%20to%20make%20sure%20that%20it's%20grabbing%0Athe%20media%20links%20that's%20inside%20this%20sheet%20i'm%20going%20to%20click%20on%20fetch%20test%20results%20let's%20see%0Aall%20right%20great%20so%20there%20you%20go%20now%20we%20have%20four%20different%20media%20articles%20or%20four%20rows%20and%20as%20you%0Acan%20see%20the%20first%20one%20is%20the%20finance.yahoo.com%20about%20nvidia%20and%20the%20last%20one%20is%20cio%20sap%20launches%0Acollaborative%20ai%20agents%20all%20right%20perfect%20so%20now%20as%20you%20can%20see%20we%20have%20five%20items%20coming%20out%20of%0Athis%20google%20sheet%20trigger%20so%20we%20have%20our%20proper%20output%20that%20we're%20looking%20for%20okay%20so%20now%20here's%0Awe%20need%20to%20do%20because%20as%20you%20can%20see%20right%20now%20this%20output%20is%20it's%20sending%20all%20of%20the%20news%20articles (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1017)')))

TaskCfg(cache_folder='/Users/justinfungcheuk/pyvideotrans/tmp/76131/70eb49b40d', target_dir='/Users/justinfungcheuk/Desktop/Translated_Video_Chinese/AI_Translate/10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com-mp4', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='英语', target_language='简体中文', source_language_code='en', target_language_code='zh-cn', source_sub='/Users/justinfungcheuk/Desktop/Translated_Video_Chinese/AI_Translate/10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com-mp4/en.srt', target_sub='/Users/justinfungcheuk/Desktop/Translated_Video_Chinese/AI_Translate/10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com-mp4/zh-cn.srt', source_wav='/Users/justinfungcheuk/pyvideotrans/tmp/76131/70eb49b40d/en.wav', source_wav_output='/Users/justinfungcheuk/Desktop/Translated_Video_Chinese/AI_Translate/10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com-mp4/en.m4a', target_wav='/Users/justinfungcheuk/pyvideotrans/tmp/76131/70eb49b40d/target.wav', target_wav_output='/Users/justinfungcheuk/Desktop/Translated_Video_Chinese/AI_Translate/10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com-mp4/zh-cn.m4a', subtitles='', novoice_mp4='/Users/justinfungcheuk/pyvideotrans/tmp/76131/70eb49b40d/novoice.mp4', noextname='10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com', shibie_audio=None, targetdir_mp4='/Users/justinfungcheuk/Desktop/Translated_Video_Chinese/AI_Translate/10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com-mp4/10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=1, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Yunjian(Male/CN)', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='/Users/justinfungcheuk/Desktop/AI Workshop - Zubair\xa0Trabzada/3.AI Agents with n8n/10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com.mp4', basename='10.This n8n AI Agent will AUTOMATE your Social Media www.psdly.com.mp4', ext='mp4', dirname='/Users/justinfungcheuk/Desktop/AI Workshop - Zubair\xa0Trabzada/3.AI Agents with n8n', shound_del_name=None, uuid='70eb49b40d', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False)


=
system:macOS-14.6.1-arm64-i386-64bit
version:v3.90
frozen:False
language:zh
root_dir:/Users/justinfungcheuk/pyvideotrans
Python: 3.10.19 (main, Dec 9 2025, 19:17:38) [Clang 21.1.4 ]

1 Replies

您在使用 Google 免费翻译时遇到了 SSL 连接错误。这通常是由于网络环境(如代理、防火墙)或系统 SSL 证书问题导致的。请按以下步骤排查:

  1. 检查网络代理

    • 如果您使用了代理软件,请确保它在正常工作,并且 pyVideoTrans 已正确配置代理。您可以在主界面第5行的“网络代理”处填写,格式如 http://127.0.0.1:7860
    • 如果您没有使用代理,请尝试在“网络代理”处留空。
  2. 尝试其他翻译渠道

    • 由于 Google 翻译在国内访问不稳定,建议更换为其他免费渠道,例如 微软翻译DeepLX
    • 在翻译设置的下拉菜单中直接选择即可。
  3. 检查系统时间和 SSL 证书

    • 确保您的 Mac 系统时间准确。
    • 如果问题持续,可能是系统根证书问题。可以尝试在终端运行以下命令更新证书:

      /Applications/Python\ 3.10/Install\ Certificates.command

      (请根据您实际使用的 Python 版本调整路径)

  4. 作为临时解决方案

    • 如果急需处理,可以切换到 “工具箱” -> “批量翻译SRT” 功能,使用其他翻译渠道(如微软)单独翻译已生成的字幕文件(.srt),然后再进行后续的配音步骤。

如果以上方法均无效,请提供 pyvideotrans/logs/ 目录下最新的日志文件以进行更深入的分析。

Post Your Reply
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.

Donate: https://ko-fi.com/jianchang512

Trending Questions