#6108 ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))[字节语音大模型极速版, Google(免费), El

123.139* Posted at: 2 hours ago

('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))[字节语音大模型极速版, Google(免费), Elevenlabs.io]
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen

response = self._make_request(

File "urllib3\connectionpool.py", line 488, in _make_request

raise new_e

File "urllib3\connectionpool.py", line 464, in _make_request

self._validate_conn(conn)

File "urllib3\connectionpool.py", line 1093, in _validate_conn

conn.connect()

File "urllib3\connection.py", line 790, in connect

sock_and_verified = _ssl_wrap_socket_and_match_hostname(

File "urllib3\connection.py", line 969, in _ssl_wrap_socket_and_match_hostname

ssl_sock = ssl_wrap_socket(

File "urllib3\util\ssl_.py", line 480, in ssl_wrap_socket

ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)

File "urllib3\util\ssl_.py", line 524, in _ssl_wrap_socket_impl

return ssl_context.wrap_socke

......
name='D:/shipin', noextname='11', basename='11.mp4', ext='mp4', target_dir='D:/shipin22/11-mp4/ru', shared_target_dir='D:/shipin22/11-mp4', cache_folder='D:/pyvideotrans/tmp/5512/9867655c7b-ru', is_cuda=False, source_language='简体中文', source_language_code='zh-cn', source_sub='D:/shipin22/11-mp4/zh-cn.srt', source_wav='D:/shipin22/11-mp4/_shared/zh-cn.wav', source_wav_output='D:/shipin22/11-mp4/zh-cn.m4a', target_language='俄罗斯语', target_language_code='ru', target_sub='D:/shipin22/11-mp4/ru/ru.srt', target_wav='D:/pyvideotrans/tmp/5512/9867655c7b-ru/target.wav', target_wav_output='D:/shipin22/11-mp4/ru/ru.m4a', translate_type=0, tts_type=20, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Roger - Laid-Back Casual Resonant', voice_role_auto_mode=True, voice_autorate=True, video_autorate=True, dubbing_thread_workers=2, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', recogn_type=8, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=True, nums_diariz=0, rephrase=0, fix_punc=0, target_language_pairs=[{'language': '俄罗斯语', 'code': 'ru'}, {'language': '哈萨克语', 'code': 'kk'}], target_languages=['俄罗斯语', '哈萨克语'], target_language_codes=['ru', 'kk'], multi_target_language_serial=True, multi_target_language_workers=0, resolved_multi_target_language_workers=2, stage_parallel_workers=2, video_slow_clip_workers=2, process_name='11.mp4 - 俄罗斯语', subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='D:/shipin22/11-mp4/ru/11.mp4', novoice_mp4='D:/pyvideotrans/tmp/5512/9867655c7b-ru/novoice.mp4', is_separate=True, embed_bgm=True, instrument='D:/shipin22/11-mp4/_shared/instrument.wav', vocal='D:/shipin22/11-mp4/_shared/vocal.wav', clear_cache=False, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:zh
root_dir:D:/pyvideotrans

1 Replies

这是由于微软翻译(Microsoft Translate)服务因请求频率过高或网络不稳定主动断开了连接。从堆栈可见翻译阶段使用了微软翻译(_microsoft.py),而微软免费接口对短期高频请求有限流机制,会直接重置连接。

解决方案:

  1. 进入 菜单→工具→高级选项→字幕翻译调整,将 传统翻译渠道每批字幕行数 设为较小的值(如 5-10)。
  2. 翻译后暂停秒 设为 5-10 秒,降低请求频率。
  3. 若同时翻译多个目标语言(俄罗斯语、哈萨克语),建议关闭多目标并行或改为串行(将 multi_target_language_workers 设为 1)。
  4. 检查网络是否稳定,关闭代理或 VPN(微软翻译国内可直接访问,无需代理)。

若问题持续,可尝试切换翻译渠道为 Google 翻译(需代理)或百度/腾讯翻译(国内可用)。

请查阅相关文档:

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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource