#4391 TaskCfgSTS(is_cuda=False, uuid='844b36d1b1', cache_folder=None, target_dir=

14.153* Posted at: 8 hours ago 👁15

翻译字幕阶段出错 [兼容AI/本地模型] Connection error.
Traceback (most recent call last):

1 Replies

连接错误,是因为软件无法与本地部署的大模型服务建立连接,通常由服务未启动、API 地址错误或端口未开放导致。

  1. 确认本地大模型服务(如 Ollama、vLLM 等)正在运行,且监听在预期的地址和端口(例如 Ollama 默认 http://localhost:11434)。
  2. 打开软件菜单 → “翻译设置” → “本地大模型设置”,检查填写的 API 地址是否与服务一致(需包含协议和端口,如 http://127.0.0.1:11434/v1)。
  3. 如果服务部署在另一台机器,请确保防火墙已放行对应端口,且本地能通过浏览器或 curl 访问该地址。
  4. 若服务有自定义路径,请确认 模型 字段填写的名称与服务中注册的完全一致(如 qwen:latest)。
  5. 如果问题依旧,请在执行翻译时留意命令窗口内是否出现更详细的错误,也可尝试重启本地大模型服务后重试。

请查阅相关文档:

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.

Related resource