#3225 TaskCfg(cache_folder='C:/Users/JOHN/Documents/DUBLADOR/3.92/tmp/14812/6575c2a595', target_dir='C:/Users/JOHN/Videos/CURS

186.247* Posted at: 6 hours ago 👁12

Trans Error [Google (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 955, 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 'edge.microsoft.com' ([Errno 11001] getaddrinfo failed)

The above exception was the direct cause of the
......
exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 184, in run
File "videotrans\task\trans_create.py", line 461, in trans
File "videotrans\translator\__init__.py", line 880, in run
File "videotrans\translator\_base.py", line 79, in run
File "videotrans\translator\_base.py", line 96, 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 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_microsoft.py", line 34, 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 677, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/auth (Caused by NameResolutionError(": Failed to resolve 'edge.microsoft.com' ([Errno 11001] getaddrinfo failed)"))

TaskCfg(cache_folder='C:/Users/JOHN/Documents/DUBLADOR/3.92/tmp/14812/6575c2a595', target_dir='C:/Users/JOHN/Videos/CURSOS KERNEL/Certified Windows Internals Red Team Operator [CWI-RTO]/07. Moduel 5 - Handles/D/4. Exercise-Global-Handle-Table-mp4', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='English', target_language='Portuguese', source_language_code='en', target_language_code='pt', source_sub='C:/Users/JOHN/Videos/CURSOS KERNEL/Certified Windows Internals Red Team Operator [CWI-RTO]/07. Moduel 5 - Handles/D/4. Exercise-Global-Handle-Table-mp4/en.srt', target_sub='C:/Users/JOHN/Videos/CURSOS KERNEL/Certified Windows Internals Red Team Operator [CWI-RTO]/07. Moduel 5 - Handles/D/4. Exercise-Global-Handle-Table-mp4/pt.srt', source_wav='C:/Users/JOHN/Documents/DUBLADOR/3.92/tmp/14812/6575c2a595/en.wav', source_wav_output='C:/Users/JOHN/Videos/CURSOS KERNEL/Certified Windows Internals Red Team Operator [CWI-RTO]/07. Moduel 5 - Handles/D/4. Exercise-Global-Handle-Table-mp4/en.m4a', target_wav='C:/Users/JOHN/Documents/DUBLADOR/3.92/tmp/14812/6575c2a595/target.wav', target_wav_output='C:/Users/JOHN/Videos/CURSOS KERNEL/Certified Windows Internals Red Team Operator [CWI-RTO]/07. Moduel 5 - Handles/D/4. Exercise-Global-Handle-Table-mp4/pt.m4a', subtitles='', novoice_mp4='C:/Users/JOHN/Documents/DUBLADOR/3.92/tmp/14812/6575c2a595/novoice.mp4', noextname='4. Exercise-Global-Handle-Table', shibie_audio=None, targetdir_mp4='C:/Users/JOHN/Videos/CURSOS KERNEL/Certified Windows Internals Red Team Operator [CWI-RTO]/07. Moduel 5 - Handles/D/4. Exercise-Global-Handle-Table-mp4/4. Exercise-Global-Handle-Table.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='ThalitaMultilingual(Female/BR)', copysrt_rawvideo=False, clear_cache=True, translate_type=0, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=True, cuda=True, name='C:/Users/JOHN/Videos/CURSOS KERNEL/Certified Windows Internals Red Team Operator [CWI-RTO]/07. Moduel 5 - Handles/4. Exercise-Global-Handle-Table.mp4', basename='4. Exercise-Global-Handle-Table.mp4', ext='mp4', dirname='C:/Users/JOHN/Videos/CURSOS KERNEL/Certified Windows Internals Red Team Operator [CWI-RTO]/07. Moduel 5 - Handles', shound_del_name=None, uuid='6575c2a595', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=True)


=
system:Windows-10-10.0.19045-SP0
version:v3.92
frozen:True
language:en
root_dir:C:/Users/JOHN/Documents/DUBLADOR/3.92

1 Replies

The error is caused by a network connection failure when trying to access the Google (Free) translation service. Specifically, your system cannot resolve the hostname edge.microsoft.com (used by the service), indicating a DNS or network connectivity issue.

Solution Steps:

  1. Check your internet connection. Ensure your computer has a stable internet connection.
  2. Configure a network proxy (if needed). If you are in a region where Google services are restricted, you need to set up a network proxy within pyVideoTrans.

    • Go to Settings -> Network Proxy.
    • Enter your proxy server address and port (e.g., http://127.0.0.1:10809 or socks5://127.0.0.1:10808).
    • Click Test to verify the connection.
  3. Switch to an alternative translation channel. The Google (Free) channel is unstable. Use a more reliable service.

    • Recommended: Use DeepSeek or another AI model via an OpenAI-compatible interface. Configure the API URL (e.g., https://api.deepseek.com) and your API Key.
    • Other options: Configure DeepL (requires an API key) or Microsoft Translator.

Additional Notes:

  • Your software version is v3.92. Consider upgrading to the latest version (v3.97) as some issues may have been resolved.
  • The error log shows your project path contains spaces (e.g., CURSOS KERNEL). While not the direct cause of this error, it is a best practice to avoid spaces and non-ASCII characters in file and folder paths when using pyVideoTrans.

Please refer to the relevant documentation:

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