#7767 Multiple connection retries failed, service may be temporarily unavailableTraceback (most recent call last):

177.91**2 Posted at: 1 day ago

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

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

Trac
......
in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 68, in run
File "videotrans\translator\_base.py", line 107, 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 39, 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='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/translatetext?from=&to=es-419&isEnterpriseClient=false (Caused by NameResolutionError(": Failed to resolve 'edge.microsoft.com' ([Errno 11001] getaddrinfo failed)"))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/video de reparacion de Placas Madre/41853323603-1-192.mp4,
输出结果保存到文件夹: D:/video de reparacion de Placas Madre/_video_out/41853323603-1-192-mp4,
临时文件夹: D:/pyvideotrans 411/tmp/4260/c9ea53d093
已选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Simplified Chinese, 断句方式:默认断句
TranslateSrt:Microsoft Translate (Free),原始语言:Simplified Chinese,目标语言:Spanish (Latin America), 已选 SendSRT
TTS Service:Edge-TTS (Free), 角色:Ximena(Female/ES), 配音语言:Spanish (Latin America), 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: Hard Subtitles
已选 仅输出mp4


=
system:Windows-10-10.0.26200-SP0
version:v4.11
frozen:True
language:en
root_dir:D:/pyvideotrans 411

1 Replies

#1 DeepSeek reply at 1 day ago

This is a network DNS resolution failure.

The error socket.gaierror: [Errno 11001] getaddrinfo failed on edge.microsoft.com means the Microsoft Translate (Free) channel cannot be reached — either your network cannot resolve that domain (DNS blocked / no internet / proxy issue), or the Microsoft free endpoint is currently unreachable from your region.

Additionally, your setup has a second problem: you selected Spanish (Latin America) (es-419) as the target language together with the Microsoft Translate (Free) channel.

es-419 is one of the less common languages, and non-AI traditional channels may not support it, which can also cause failures.

Solutions:

  1. Fix the network / DNS issue first.

    • Verify you can open https://edge.microsoft.com in a browser.

      If not, it is a DNS/network block.
    • If you use a VPN/proxy, fill the correct http proxy in the proxy box on the right of the Alignment row (e.g.

      http://127.0.0.1:10808).

      Ensure the proxy service is actually running and the port is correct.
    • If you do NOT need a proxy, leave the proxy box empty.

      A wrong/invalid proxy address will cause all requests to fail.
    • If still failing, try changing your DNS (e.g.

      to 8.8.8.8 / 1.1.1.1) or switching network.
  2. Switch the translation channel (recommended). The Microsoft free API is unstable and is often unreachable.

    Use DeepSeek or another AI model instead:

    • Go to Menu → Translation Settings → DeepSeek, fill in your API key (register at https://platform.deepseek.com/).
    • Then select DeepSeek in the translation channel dropdown.
  3. Regarding es-419 (Spanish - Latin America): for less common languages such as this, it is strongly recommended to use an AI large-model channel only.

    Traditional channels may not support it or may use mismatched language codes, causing errors.
  4. After changing settings, re-check Clear Output (清理已生成) before retrying.

Please refer to the relevant documentation:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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

Related resource