#632 HTTPConnectionPool(host='127.0.0.1', port=8000): Max retries exceeded with url: / (Caused by NewConnectionError(': Faile

*87.246* Posted at: 14 hours ago 👁10

HTTPConnectionPool(host='127.0.0.1', port=8000): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))CosyVoice:Traceback (most recent call last): File "videotrans\util\ListenVoice.py", line 18, in run File "videotrans\tts\__init__.py", line 462, in run File "videotrans\tts\_base.py", line 142, in run RuntimeError: HTTPConnectionPool(host='127.0.0.1', port=8000): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))CosyVoice

1 Replies

本条内容由 DeepSeek 回复
您好!根据您提供的错误信息,这是一个与 pyVideoTrans 软件直接相关的问题。

问题诊断:

这个错误表明,pyVideoTrans 软件内部的 CosyVoice 文字转语音(TTS)服务 未能成功启动或无法连接。

具体错误信息 HTTPConnectionPool(host='127.0.0.1', port=8000)... target machine actively refused it 的意思是:软件尝试连接您自己电脑(127.0.0.1 代表本机)上的 8000 端口来使用 CosyVoice 服务,但这个连接被拒绝了。这通常是因为 CosyVoice 服务进程没有正常运行起来。

解决方案:

请按照以下步骤尝试解决:

1. 完全关闭并重启软件:这是最简单有效的第一步。请完全退出 pyVideoTrans 软件(包括系统托盘可能存在的图标),然后重新打开它。软件启动时会自动尝试启动所需的内部服务(包括 CosyVoice)。

2. 检查端口冲突:如果重启无效,可能是您电脑上的 8000 端口被其他程序(如另一个正在运行的 pyVideoTrans 实例,或其他软件)占用了。

  • 最佳做法:确保没有其他 pyVideoTrans 程序在运行,然后再次重启软件。

3. 检查安全软件拦截:有时,Windows 防火墙或第三方杀毒软件可能会阻止 pyVideoTrans 的内部服务启动网络连接。

  • 在您启动 pyVideoTrans 时,如果弹出网络访问提示,请选择“允许访问”。
  • 您可以暂时禁用防火墙或杀毒软件进行测试(请注意安全风险),如果问题解决,再将其设置为对 pyVideoTrans 放行。

4. 重新安装软件:如果以上方法都无效,可能是软件文件在下载或解压过程中损坏。

  • 建议您从官方网站 https://pyvideotrans.com/downpackage 重新下载最新版本的 pyVideoTrans。
  • 将软件解压到一个简单的、没有中文和特殊字符的路径下,例如 D:\pyvideotrans,然后再次运行。

5. 查阅官方文档:如果问题依然存在,建议您访问 pyVideoTrans 的官方文档网站 https://pyvideotrans.com,查看是否有关于此问题的更详细说明或更新。

希望这些步骤能帮助您解决问题!

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