#5964 HTTPSConnectionPool(host='api-edge.cognitive.microsofttranslator.com', port=443): Max retries exceeded with url: /transl

240e:452* Posted at: 19 hours ago

HTTPSConnectionPool(host='api-edge.cognitive.microsofttranslator.com', port=443): Max retries exceeded with url: /translate?from=&to=ru&api-version=3.0&includeSentenceLength=true (Caused by ConnectTimeoutError(, 'Connection to api-edge.cognitive.microsofttranslator.com timed out. (connect timeout=300)'))[字节语音大模型极速版, Google(免费), Elevenlabs.io]
Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn

sock = connection.create_connection(

File "urllib3\util\connection.py", line 85, in create_connection

raise err

File "urllib3\util\connection.py", line 73, in create_connection

sock.connect(sa)

TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。

The above exception was the direct cause of the following exception:

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 

......
总裁成片xf', noextname='7', basename='7.mp4', ext='mp4', target_dir='D:/shipin2222/7-mp4/ru', shared_target_dir='D:/shipin2222/7-mp4', cache_folder='D:/pyvideotrans/tmp/26092/d9f806eddb-ru', is_cuda=False, source_language='简体中文', source_language_code='zh-cn', source_sub='D:/shipin2222/7-mp4/zh-cn.srt', source_wav='D:/shipin2222/7-mp4/_shared/zh-cn.wav', source_wav_output='D:/shipin2222/7-mp4/zh-cn.m4a', target_language='俄罗斯语', target_language_code='ru', target_sub='D:/shipin2222/7-mp4/ru/ru.srt', target_wav='D:/pyvideotrans/tmp/26092/d9f806eddb-ru/target.wav', target_wav_output='D:/shipin2222/7-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='7.mp4 - 俄罗斯语', subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='D:/shipin2222/7-mp4/ru/7.mp4', novoice_mp4='D:/pyvideotrans/tmp/26092/d9f806eddb-ru/novoice.mp4', is_separate=True, embed_bgm=True, instrument='D:/shipin2222/7-mp4/_shared/instrument.wav', vocal='D:/shipin2222/7-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

这是由于微软翻译服务器连接超时导致的翻译失败,可能是因为国内网络环境无法稳定访问该服务。

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

  1. 更换翻译渠道:在主界面翻译渠道中,改为使用 Google 翻译(需配置代理)、百度翻译DeepSeekOpenAI ChatGPT 等国内可用的渠道。
  2. 配置网络代理:如果有 VPN 或代理,请在主界面的代理输入框中填写正确格式,例如 http://127.0.0.1:7890
  3. 降低翻译并发:若同时翻译多个目标语言,请在 高级选项 -> 字幕翻译调整 中将 翻译后暂停秒 设为 2-5,降低请求频率。
  4. 升级软件:当前版本 v4.03 可能存在翻译渠道的稳定性问题,建议下载最新补丁包覆盖升级到 v4.06,新版本已优化网络重试逻辑。
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