#1745 HTTPConnectionPool(host='127.0.0.1', port=9880): Max retries exceeded with url: /tts?text=%E4%B8%8D%E5%86%8D%E5%A6%82%E6

60.7* Posted at: 4 days ago 👁30

HTTPConnectionPool(host='127.0.0.1', port=9880): Max retries exceeded with url: /tts?text=%E4%B8%8D%E5%86%8D%E5%A6%82%E6%AD%A4%E3%80%82%E8%B6%81%E4%B8%BA%E6%97%B6%E6%9C%AA%E6%99%9A%E3%80%82&text_lang=zh&ref_audio_path=zhongxingnan.wav&prompt_text=Some+days%2C+you+feel+strong%2C+confident%2C+unstoppable.+Other+days%2C+you+feel+lost%2C+anxious%2C+uncertain.&prompt_lang=en&speed_factor=1.0 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))


=
system:Windows-10-10.0.26200-SP0
version:v3.87
frozen:True
language:zh
root_dir:H:/win-pyvideotrans-v3.86

1 Replies

这个错误表明软件无法连接到本地部署的 GPT-SoVITS 语音克隆服务。错误信息 Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。 意味着目标端口(9880)上没有服务在运行。

请按以下步骤排查:

  1. 确认 GPT-SoVITS 服务已启动

    • 您需要先在本机(127.0.0.1)的 9880 端口上启动 GPT-SoVITS 的 WebUI 服务。
    • 通常启动命令类似 python api.py 或执行一个批处理文件,启动成功后命令行窗口会显示服务地址(如 Running on local URL: http://127.0.0.1:9880)。
  2. 检查服务地址和端口

    • 在 pyVideoTrans 中,确保您选择的配音角色是 GPT-SoVITS 类型,并且其配置的“API地址”与您实际启动的服务地址完全一致(默认应为 http://127.0.0.1:9880)。
  3. 验证服务连通性

    • 打开浏览器,访问 http://127.0.0.1:9880,看是否能打开 GPT-SoVITS 的 Web 界面。如果打不开,说明服务没有成功运行。
  4. 检查防火墙/杀毒软件

    • 临时关闭 Windows 防火墙或杀毒软件,看是否是其阻止了本地回环地址(127.0.0.1)的连接。

核心问题:您选择了 GPT-SoVITS 进行配音,但对应的本地服务并未运行。请先确保 GPT-SoVITS 服务已正确启动并监听在 9880 端口。

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