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

69.194**1 Posted at: 2 hours 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
......
17, 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 49, 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=fa&isEnterpriseClient=false (Caused by NameResolutionError(": Failed to resolve 'edge.microsoft.com' ([Errno 11001] getaddrinfo failed)"))

trk=[TransCreate]: uuid='96bc6cf3be', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: G:/D I S C O V E R/D I S C O V E R - ROUND LAYER.ts,
输出结果保存到文件夹: C:/Users/Bashir-Rayaneh/Desktop/V/D I S C O V E R - ROUND LAYER-ts,
临时文件夹: D:/V/tmp/4060/96bc6cf3be
已选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), small, 发音语言: English,
TranslateSrt:Google Translate (Free),原始语言:English,目标语言:Persian, 已选 SendSRT
TTS Service:Edge-TTS (Free), 角色:Farid(Male/IR), 配音语言:Persian, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: Hard Subtitles
已选 仅输出mp4, precent=12, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=1059760


=
system:Windows-10-10.0.19045-SP0
version:v4.16
frozen:True
language:en_US
root_dir:D:/V

1 Replies

#1 DeepSeek reply at 2 hours ago

This is not a software bug — it is a DNS resolution failure (network layer). The error socket.gaierror: [Errno 11001] getaddrinfo failed / Failed to resolve 'edge.microsoft.com' means the system cannot resolve the domain name at all, so the translation request never even reached Microsoft's server.

Additional note from your log: you selected Google Translate (Free), but the traceback shows it fell back to the Microsoft channel — because since v4.13, when Google fails/is rate-limited, the software automatically switches to Microsoft, and both failed for the same DNS reason. Also proxy_str=None, meaning no proxy was configured.

Fix steps (in order)

  1. Confirm the machine has Internet / DNS

    • Press Win+R → type cmd → run:

      • nslookup edge.microsoft.com
      • ping edge.microsoft.com
    • If these also fail, your computer's DNS or network is broken, not the software.
  2. Change DNS servers

    • Windows: 控制面板 → 网络和 Internet → 网络连接 → right-click your adapter → 属性 → IPv4 → 使用下面的 DNS 服务器地址:

      • Preferred: 8.8.8.8 (or 114.114.114.114)
      • Alternate: 1.1.1.1
    • Then run ipconfig /flushdns in cmd.
  3. Check firewall / antivirus / VPN client

    • Some antivirus and VPN clients (especially those with a "TUN"/"system proxy" mode that is turned off) can hijack DNS and block it. Temporarily disable them and retest.
  4. If you are in mainland China and want to use Google/Microsoft translation

    • Both are blocked/unstable without a proxy. Fill your proxy in the main interface — the proxy box on the right side of the Alignment row, format http://127.0.0.1:10808 (must match your actual local proxy port, and the proxy program must be running).
    • Alternatively, create a file named edgetts-noproxy.txt in the software root folder is only for Edge-TTS; for translation just clear an invalid proxy rather than filling a wrong address — an invalid proxy address will make all requests fail.
  5. Recommended: switch to a translation channel that does not depend on those endpoints

    • Select DeepSeek (or 智谱AI / 阿里百炼 / 字节火山) in the TranslateSrt dropdown, and fill your API key in Menu → Translation Settings.
    • DeepSeek is cheap, works inside China without a proxy, and translation quality is far better than Google/Microsoft free channels, especially for Persian.
    • If you want fully offline translation, use M2M100(Built-in) (model downloads on first use to 软件目录/models/m2m100_12b).
  6. Re-run the task

    • Tick Clear Output (清理已生成) before retrying, so the previous failed cache/srt is discarded.

If after doing the above you still get a connection error but with a different host/error code (e.g. 429, 401, 404), please provide the bottom ~30 lines of the latest log file in D:/V/logs/.

请查阅相关文档:

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