#1243 语音识别阶段出错:[阿里百炼 Qwen3-ASR] 多次重试连接失败,服务可能暂时不可用:Traceback (most recent call last): File "urllib3\connection.py", line 198,

218.76* Posted at: 9 hours ago 👁12

语音识别阶段出错:[阿里百炼 Qwen3-ASR] 多次重试连接失败,服务可能暂时不可用:
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 'dashscope.aliyuncs.com' ([Errno 11001] getaddrinfo failed)

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

Traceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dashscope.aliyuncs.com', port=443): Max retries exceeded with url: /api/v1/uploads?action=getPolicy&model=qwen3-asr-flash (Caused by NameResolutionError(": Failed to resolve 'dashscope.aliyuncs.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 105, in run
File "videotrans\task\_speech2text.py", line 91, in recogn
File "videotrans\recognition\__init__.py", line 198, in run
File "videotrans\recognition\_base.py", line 78, in run
File "videotrans\recognition\_qwen3asr.py", line 40, in _exec
File "dashscope\aigc\multimodal_conversation.py", line 87, in call
File "dashscope\aigc\multimodal_conversation.py", line 128, in _preprocess_messages
File "dashscope\utils\oss_utils.py", line 189, in preprocess_message_element
File "dashscope\utils\oss_utils.py", line 178, in check_and_upload
File "dashscope\utils\oss_utils.py", line 159, in check_and_upload_local
File "dashscope\utils\oss_utils.py", line 50, in upload
File "dashscope\utils\oss_utils.py", line 103, in get_upload_certificate
File "dashscope\client\base_api.py", line 641, in get
File "dashscope\client\base_api.py", line 476, 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='dashscope.aliyuncs.com', port=443): Max retries exceeded with url: /api/v1/uploads?action=getPolicy&model=qwen3-asr-flash (Caused by NameResolutionError(": Failed to resolve 'dashscope.aliyuncs.com' ([Errno 11001] getaddrinfo failed)"))


=
system:Windows-10-10.0.19045-SP0
version:v3.82
frozen:True
language:zh
root_dir:D:/win-videotrans-v3.82_20251019_125144

1 Replies

这个错误表明软件无法解析阿里云语音识别服务的域名 dashscope.aliyuncs.com,属于网络连接问题。请按以下步骤排查:

  1. 检查网络连接:确保您的计算机可以正常访问互联网。
  2. 检查防火墙/安全软件:暂时关闭防火墙或安全软件,确认是否被阻止。
  3. 设置网络代理:如果您使用代理上网,请在软件菜单栏的 翻译设置语音识别设置 中配置正确的代理地址。
  4. 切换语音识别渠道:作为临时解决方案,请切换到其他可用的语音识别渠道,如:

    • faster-whisper(本地)(首次使用需下载模型)
    • openai-whisper(本地)
    • 或其他在线API

如果问题持续存在,请提供完整的日志文件(位于 D:/win-videotrans-v3.82_20251019_125144/logs/ 目录下)以便进一步分析。

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions