#4629 TaskCfgVTT(is_cuda=True, uuid='c2c65a7354', cache_folder='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.99-418/tmp/27556

2a00:1d34* Posted at: 12 hours ago 👁17

Trans Error [Microsoft (Free)] Multiple connection retries failed, service may be temporarily unavailable
Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn
File "urllib3\util\connection.py", line 60, in create_connection
File "socket.py", line 967, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed

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

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 753, in connect
File "urllib3\connection.py", line 205, in _new_conn
urllib3.exceptions.NameResolutionError: : Failed to resolve 'api-edge.cognitive.microsofttranslator.com' ([Errno 11001] getaddrinfo failed)

The above exception w
......
py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api-edge.cognitive.microsofttranslator.com', port=443): Max retries exceeded with url: /translate?from=&to=tr&api-version=3.0&includeSentenceLength=true (Caused by NameResolutionError(": Failed to resolve 'api-edge.cognitive.microsofttranslator.com' ([Errno 11001] getaddrinfo failed)"))

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 659, in trans
File "videotrans\translator\__init__.py", line 933, 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 44, 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 677, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api-edge.cognitive.microsofttranslator.com', port=443): Max retries exceeded with url: /translate?from=&to=tr&api-version=3.0&includeSentenceLength=true (Caused by NameResolutionError(": Failed to resolve 'api-edge.cognitive.microsofttranslator.com' ([Errno 11001] getaddrinfo failed)"))
TaskCfgVTT(is_cuda=True, uuid='c2c65a7354', cache_folder='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.99-418/tmp/27556/c2c65a7354', target_dir='M:/Tutorials/SpeedTree/_video_out/spt201-class01.mp4-mp4', source_language='English', source_language_code='en', source_sub='M:/Tutorials/SpeedTree/_video_out/spt201-class01.mp4-mp4/en.srt', source_wav='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.99-418/tmp/27556/c2c65a7354/en.wav', source_wav_output='M:/Tutorials/SpeedTree/_video_out/spt201-class01.mp4-mp4/en.m4a', target_language='Turkish', target_language_code='tr', target_sub='M:/Tutorials/SpeedTree/_video_out/spt201-class01.mp4-mp4/tr.srt', target_wav='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.99-418/tmp/27556/c2c65a7354/target.wav', target_wav_output='M:/Tutorials/SpeedTree/_video_out/spt201-class01.mp4-mp4/tr.m4a', name='M:/Tutorials/SpeedTree/spt201-class01.mp4.mp4', noextname='spt201-class01.mp4', basename='spt201-class01.mp4.mp4', ext='mp4', dirname='M:/Tutorials/SpeedTree', shound_del_name=None, translate_type=1, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Ahmet(Male/TR)', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=True, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='M:/Tutorials/SpeedTree/_video_out/spt201-class01.mp4-mp4/spt201-class01.mp4.mp4', novoice_mp4='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.99-418/tmp/27556/c2c65a7354/novoice.mp4', is_separate=True, embed_bgm=True, instrument='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.99-418/tmp/27556/c2c65a7354/instrument.wav', vocal='C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.99-418/tmp/27556/c2c65a7354/vocal.wav', back_audio='', clear_cache=True, background_music=None, subtitle_type=0, only_out_mp4=True, recogn2pass=True, output_srt=0, copysrt_rawvideo=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:en
root_dir:C:/Users/Muhammed/Desktop/win-pyvideotrans-v3.99-418

1 Replies

The Microsoft (Free) translation failed due to a DNS resolution error – your computer could not resolve the domain api-edge.cognitive.microsofttranslator.com.

Solutions:

  1. Check your network/proxy – If you are in a region where accessing Microsoft services requires a proxy (e.g., in Turkey), go to the main interface and fill in your proxy address in the "Network Proxy" field (format like http://127.0.0.1:10809).
  2. Restart your router or change DNS – Try switching to a public DNS like 8.8.8.8 or 1.1.1.1.
  3. Use a different translation channel – Switch to Google (needs proxy), Baidu, Tencent, DeepL, or an AI-based channel (requires API keys) instead of Microsoft Free.

If the issue persists after these steps, provide the latest log file from the logs/ folder for further analysis.

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