#4018 TaskCfgVTT(is_cuda=False, uuid='7f92e3fcbd', cache_folder='C:/360Downloads/tmp/16024/7f92e3fcbd', target_dir='C:/Users/H

112.97* Posted at: 2 hours ago 👁5

翻译字幕阶段出错 [Google(免费)] 连接被重置,网络可能不稳定
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 488, in _make_request
File "urllib3\connectionpool.py", line 464, in _make_request
File "urllib3\connectionpool.py", line 1093, in _validate_conn
File "urllib3\connection.py", line 790, in connect
File "urllib3\connection.py", line 969, in _ssl_wrap_socket_and_match_hostname
File "urllib3\util\ssl_.py", line 480, in ssl_wrap_socket
File "urllib3\util\ssl_.py", line 524, in _ssl_wrap_socket_impl
File "ssl.py", line 513, in wrap_socket
File "ssl.py", line 1104, in _create
File "ssl.py", line 1375, in do_handshake
ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。

During handling of the above exception, another exception occurred:

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 474, in increment
File "urllib3\util\util.py", line 38, in reraise
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 488, in _make_request
File "urllib3\connectionpool.py", line 464, in _make_request
File "urllib3\connectionpool.py", line 1093, in _validate_conn
File "urllib3\connection.py", line 790, in connect
File "urllib3\connection.py", line 969, in _ssl_wrap_socket_and_match_hostname
File "urllib3\util\ssl_.py", line 480, in ssl_wrap_socket
File "urllib3\util\ssl_.py", line 524, in _ssl_wrap_socket_impl
File "ssl.py", line 513, in wrap_socket
File "ssl.py", line 1104, in _create
File "ssl.py", line 1375, in do_handshake
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 173, in run
File "videotrans\task\trans_create.py", line 658, in trans
File "videotrans\translator\__init__.py", line 938, in run
File "videotrans\translator\_base.py", line 98, in run
File "videotrans\translator\_base.py", line 119, 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 33, in _item_task
File "requests\api.py", line 73, in get
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 659, in send
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))
TaskCfgVTT(is_cuda=False, uuid='7f92e3fcbd', cache_folder='C:/360Downloads/tmp/16024/7f92e3fcbd', target_dir='C:/Users/HXF/Desktop/_video_out/配音视频-田司婧-mp4', source_language='简体中文', source_language_code='zh-cn', source_sub='C:/Users/HXF/Desktop/_video_out/配音视频-田司婧-mp4/zh-cn.srt', source_wav='C:/360Downloads/tmp/16024/7f92e3fcbd/zh-cn.wav', source_wav_output='C:/Users/HXF/Desktop/_video_out/配音视频-田司婧-mp4/zh-cn.m4a', target_language='俄罗斯语', target_language_code='ru', target_sub='C:/Users/HXF/Desktop/_video_out/配音视频-田司婧-mp4/ru.srt', target_wav='C:/360Downloads/tmp/16024/7f92e3fcbd/target.wav', target_wav_output='C:/Users/HXF/Desktop/_video_out/配音视频-田司婧-mp4/ru.m4a', name='C:/Users/HXF/Desktop/配音视频-田司婧.mp4', noextname='配音视频-田司婧', basename='配音视频-田司婧.mp4', ext='mp4', dirname='C:/Users/HXF/Desktop', shound_del_name=None, translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', recogn_type=0, model_name='tiny', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='tiqu', subtitles='', targetdir_mp4='C:/Users/HXF/Desktop/_video_out/配音视频-田司婧-mp4/配音视频-田司婧.mp4', novoice_mp4='C:/360Downloads/tmp/16024/7f92e3fcbd/novoice.mp4', is_separate=True, embed_bgm=True, instrument='C:/360Downloads/tmp/16024/7f92e3fcbd/instrument.wav', vocal='C:/360Downloads/tmp/16024/7f92e3fcbd/vocal.wav', back_audio='', clear_cache=False, background_music=None, subtitle_type=0, only_out_mp4=False, recogn2pass=True, output_srt=2, copysrt_rawvideo=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.98
frozen:True
language:zh
root_dir:C:/360Downloads

1 Replies

这是由于网络连接问题导致 Google 翻译渠道请求失败。Google 翻译服务在中国大陆地区无法直接访问,需要配置网络代理。

解决方案:

  1. 配置网络代理:在主界面的“网络代理地址”文本框中,填入您的代理服务地址。格式通常为 http://127.0.0.1:端口号(例如 http://127.0.0.1:10808)。
  2. 切换翻译渠道:如果您没有可用的代理服务,建议更换为无需代理即可使用的翻译渠道,例如:

    • 微软翻译(免费,无需代理)。
    • M2M100本地翻译(免费,完全本地运行,无需网络)。
    • 其他您已配置好 API Key 的在线 AI 翻译渠道(如 DeepSeek、智谱 AI 等,这些渠道通常在国内可直接访问)。

请查阅相关文档:

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.

Related resource