#2409 requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=9880): Max retries exceeded with url: /tt

58.153* Posted at: 5 hours ago 👁9

Loading Text2Semantic weights from GPT_SOVITS/pretrained_models/gsv-v2final-pretrained/s1bert25hz-5Skh-longer-epoch=12-st
ep=369668.ckpt
Loading VITS weights from GPT_SOVITS/pretrained_models/gsv-v2final-pretrained/s2G2333k.pth.
Loading BERT weights from GPT_SoVITS/pretrained_modelss/chinese-roberta-wwm-ext-large
Loading CNHuBERT weights from GPT_SoVITS/pretrained_mopers /chinese-hubert-base
INFO:
INFO:
INFO:
INFO:
Started server process [18660]
Waiting for application startup.
Application startup complete.
Uvicorn running on http://127.0.0.1:9880 (Press CTRL+C(to quit)

1 Replies

这个错误表明软件尝试连接本地端口 9880 的 GPT-SoVITS 语音克隆服务,但连接被拒绝。根本原因是 GPT-SoVITS 服务没有成功启动或启动后没有在指定端口(9880)上监听

请按以下步骤排查:

  1. 检查 GPT-SoVITS 服务状态

    • 确保你已经正确部署并启动了 GPT-SoVITS 服务。通常需要运行类似 python api.py 的命令来启动服务。
    • 从你提供的日志片段末尾看,服务似乎启动成功了(显示“Uvicorn running on http://127.0.0.1:9880”),但可能启动过程有延迟或中途出错。请完整查看启动 GPT-SoVITS 的终端窗口,确认没有红色错误信息,并且服务稳定运行。
  2. 验证端口连接

    • 打开浏览器,访问 http://127.0.0.1:9880/docshttp://127.0.0.1:9880
    • 如果无法打开页面,说明服务确实没有在运行。请重启 GPT-SoVITS 服务。
  3. 检查 pyVideoTrans 中的配置

    • 在 pyVideoTrans 主界面,确保“配音角色”选择了正确的 GPT-SoVITS 克隆角色。
    • 在菜单栏选择 工具 -> 选项 -> 高级选项,检查“GPT-SoVITS 地址”是否正确设置为 http://127.0.0.1:9880(默认值)。
  4. 防火墙/杀毒软件干扰

    • 临时关闭 Windows 防火墙和第三方杀毒软件,然后重试。
  5. 服务启动后等待

    • GPT-SoVITS 模型加载需要时间(尤其是首次)。在日志显示“Application startup complete.”后,请等待 10-20 秒再在 pyVideoTrans 中开始任务。

如果以上步骤均无效,请提供:

  • GPT-SoVITS 服务启动的完整终端日志。
  • pyVideoTrans 的完整错误日志(位于软件目录下的 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

Similar issues already exist

Trending Questions