#1318 RuntimeError: HTTPConnectionPool(host='127.0.0.1', port=9880): Max retries exceeded with url: /tts?text=%E4%BD%A0%E5%A5%

116.21* Posted at: 3 hours ago 👁9

HTTPConnectionPool(host='127.0.0.1', port=9880): Max retries exceeded with url: /tts?text=%E4%BD%A0%E5%A5%BD%E5%95%8A%E6%88%91%E7%9A%84%E6%9C%8B%E5%8F%8B.&text_lang=zh&ref_audio_path=%E7%94%B7%E7%94%9F.wav&prompt_text=%E6%94%BE%E5%88%B0%E6%88%BF%E9%97%B4%E9%87%8C%E4%BC%9A%E5%8F%98%E5%BE%97%E7%89%B9%E5%88%AB%E7%9A%84%E5%A5%BD%E7%9C%8B%EF%BC%8C%E6%8B%BF%E8%B5%B7%E6%9D%A5%E8%BF%99%E4%B8%80%E6%8A%8A%E6%88%91%E7%9A%84%E4%B8%96%E7%95%8C%E7%9A%84%E7%81%AB%E6%8A%8A%E7%81%AF%E5%91%A2%E3%80%82&prompt_lang=zh&speed_factor=1.0 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))GPTSoVITS:Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 474, in run
File "videotrans\tts\_base.py", line 142, in run
RuntimeError: HTTPConnectionPool(host='127.0.0.1', port=9880): Max retries exceeded with url: /tts?text=%E4%BD%A0%E5%A5%BD%E5%95%8A%E6%88%91%E7%9A%84%E6%9C%8B%E5%8F%8B.&text_lang=zh&ref_audio_path=%E7%94%B7%E7%94%9F.wav&prompt_text=%E6%94%BE%E5%88%B0%E6%88%BF%E9%97%B4%E9%87%8C%E4%BC%9A%E5%8F%98%E5%BE%97%E7%89%B9%E5%88%AB%E7%9A%84%E5%A5%BD%E7%9C%8B%EF%BC%8C%E6%8B%BF%E8%B5%B7%E6%9D%A5%E8%BF%99%E4%B8%80%E6%8A%8A%E6%88%91%E7%9A%84%E4%B8%96%E7%95%8C%E7%9A%84%E7%81%AB%E6%8A%8A%E7%81%AF%E5%91%A2%E3%80%82&prompt_lang=zh&speed_factor=1.0 (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))GPTSoVITS


=
Windows-10-10.0.26100-SP0
version:v3.80
frozen:True
language:zh

1 Replies

您在使用 GPT-SoVITS 进行配音时遇到了连接错误。错误显示无法连接到本地 127.0.0.1:9880 端口,这表明 GPT-SoVITS 服务没有正确启动。

请按以下步骤解决:

  1. 确保 GPT-SoVITS 服务已启动:您需要先单独启动 GPT-SoVITS 的本地服务,pyVideoTrans 才能调用它。请检查 GPT-SoVITS 是否在 9880 端口正常运行。
  2. 验证服务状态:在浏览器中访问 http://127.0.0.1:9880,如果无法访问,说明服务未启动。
  3. 检查端口占用:确认没有其他程序占用了 9880 端口。
  4. 切换配音渠道:如果 GPT-SoVITS 服务启动困难,可以暂时切换到其他配音渠道,如 Edge-TTS(免费)或 OpenAI TTS。
  5. 查看 GPT-SoVITS 日志:如果服务已启动但仍无法连接,请检查 GPT-SoVITS 自身的日志文件,确认服务是否正常运行在 9880 端口。

GPT-SoVITS 是一个需要独立部署的本地 TTS 服务,必须确保它在后台正常运行才能被 pyVideoTrans 调用。

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