#7038 多次重试连接失败,服务可能暂时不可用Traceback (most recent call last):

106.16**4 Posted at: 1 hour ago

多次重试连接失败,服务可能暂时不可用
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 'ws-c38u9ela7yibuaoy.cn-beijing.maas.aliyuncs.com' ([Errno 11001] getaddrinfo failed)

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

Traceback (most recent call la
......
ile "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\recognition\_qwen3asr.py", line 36, in _exec
File "dashscope\aigc\multimodal_conversation.py", line 151, in call
File "dashscope\aigc\multimodal_conversation.py", line 249, in _preprocess_messages
File "dashscope\utils\oss_utils.py", line 299, in preprocess_message_element
File "dashscope\utils\oss_utils.py", line 266, in check_and_upload
File "dashscope\utils\oss_utils.py", line 219, in check_and_upload_local
File "dashscope\utils\oss_utils.py", line 57, in upload
File "dashscope\utils\oss_utils.py", line 129, in get_upload_certificate
File "dashscope\client\base_api.py", line 1139, in get
File "dashscope\client\base_api.py", line 957, in _get
File "requests\sessions.py", line 602, in get
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='ws-c38u9ela7yibuaoy.cn-beijing.maas.aliyuncs.com', port=443): Max retries exceeded with url: /api/v1/uploads?action=getPolicy&model=qwen3-asr-flash (Caused by NameResolutionError(": Failed to resolve 'ws-c38u9ela7yibuaoy.cn-beijing.maas.aliyuncs.com' ([Errno 11001] getaddrinfo failed)"))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/ike/P6.mp4,
输出结果保存到文件夹: D:/ike/新建文件夹/P6-mp4,
临时文件夹: E:/ike/win-pyvideotrans-v4.08-0802/tmp/16316/d6476a08a8
未选 清理已存在
未启用CUDA加速
未选 降噪
已选 删除所有标点符号
语音识别:阿里百炼API/Qwen3-ASR, , 发音语言: 英语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕(双) 目标语言在上双字幕
已选 仅输出mp4


=
system:Windows-10-10.0.22621-SP0
version:v4.09
frozen:True
language:zh
root_dir:E:/ike/win-pyvideotrans-v4.08-0802

1 Replies

#1 DeepSeek reply at 1 hour ago

这是由于 DNS 解析失败(getaddrinfo failed) 导致的。系统无法将阿里云百炼的域名 ws-c38u9ela7yibuaoy.cn-beijing.maas.aliyuncs.com 解析为 IP 地址,因此无法建立 HTTPS 连接。常见原因是代理配置错误网络/DNS 异常。阿里百炼是国内 API,不应走代理。

解决方案(按顺序操作):

  1. 清空代理设置
    在主界面的代理文本框中,若填写了任何代理(如 http://127.0.0.1:10808),立即清空并保存。填写无效代理会导致所有网络请求失败。软件内置了国内 API 免代理列表,但遇到无效代理时仍会整体失效。
  2. 测试域名解析
    打开 CMD,执行:

    nslookup ws-c38u9ela7yibuaoy.cn-beijing.maas.aliyuncs.com
    • 若返回 Non-existent domain 或超时,说明本地 DNS 解析异常。
    • 可尝试将 DNS 服务器临时更改为 223.5.5.5(阿里 DNS)或 119.29.29.29(腾讯 DNS)后再测试。
  3. 检查网络连接
    确认电脑可以正常访问互联网。可以尝试在浏览器中直接访问 https://www.aliyun.com 验证连通性。
  4. 重启路由器/电脑
    若上述无效,重启网络设备或电脑,刷新 DNS 缓存(ipconfig /flushdns)。
  5. 更换网络环境
    如果仍然失败,可能是当前网络环境屏蔽了该域名,换用其他网络(如手机热点)测试。

如果执行以上步骤后仍无法解决,请提供 日志/ 目录下最新日志文件(复制底部约30行),并说明是否填了代理、以及 nslookup 的结果。

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