#6871 连接超时,请检查网络连接是否稳定Traceback (most recent call last):

116.162.**9 Posted at: 8 hours ago

连接超时,请检查网络连接是否稳定
Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn
File "urllib3\util\connection.py", line 85, in create_connection
File "urllib3\util\connection.py", line 73, in create_connection
TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。

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 207, in _new_conn
urllib3.exceptions.ConnectTimeoutError: (, 'Connection to dashscope-file-mgr.oss-cn-beijing.aliyuncs.com timed out. (connect timeout=3600)')

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

......
le "videotrans\recognition\__init__.py", line 211, in run
File "videotrans\recognition\_base.py", line 92, in run
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\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 93, in upload
File "requests\sessions.py", line 637, in post
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 665, in send
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='dashscope-file-mgr.oss-cn-beijing.aliyuncs.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(, 'Connection to dashscope-file-mgr.oss-cn-beijing.aliyuncs.com timed out. (connect timeout=3600)'))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/ike/新建文件夹/cP2.mp4,
输出结果保存到文件夹: D:/ike/cP2-mp4,
临时文件夹: E:/ike/win-pyvideotrans-v4.08-0802/tmp/11900/e26c47abf5
未选 清理已存在
未启用CUDA加速
未选 降噪
已选 识别说话人,最大说话人数量不限制
已选 删除所有标点符号
语音识别:阿里百炼API/Qwen3-ASR, , 发音语言: 英语, 断句方式:LLM重新断句
翻译渠道: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 8 hours ago

此报错的核心原因是:网络无法连接到阿里云百炼的 OSS 存储服务器dashscope-file-mgr.oss-cn-beijing.aliyuncs.com)。你在使用「阿里百炼API/Qwen3-ASR」语音识别时,需要将本地音频上传到阿里云 OSS,连接超时导致上传失败。

请按以下顺序排查:

  1. 检查网络:确认当前电脑能正常访问外网。可尝试用浏览器打开 https://dashscope-file-mgr.oss-cn-beijing.aliyuncs.com,若无法打开,说明是本地网络或防火墙问题。
  2. 关闭或检查代理:如果你在 菜单 → 设置 → 代理设置 中填写了代理地址,请先清空并保存,然后重试。国内阿里云 API 不需要代理,无效代理会导致所有请求失败。
  3. 更换语音识别渠道:若网络问题难以解决,可暂时改用内置 faster-whisper 渠道(本地模型,无需联网上传),或改用其他语音识别渠道。
  4. 重启软件后重试:有时临时网络波动导致超时,重启软件再试一次即可。

若以上操作均无效,请提供软件安装目录下 logs/ 文件夹中最新的日志文件(复制底部约30行报错信息),以便进一步分析。

Thinking...
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.

Dondate via ko-fi.com

Related resource