#7126 [Clone-Voice] 该渠道需另行部署并启动后可用self.api_url='http://127.0.0.1:9988'

82.26**7 Posted at: 4 hours ago

[Clone-Voice] 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:9988'
:
{'text': '你好啊,我亲爱的朋友,希望你的每一天都是美好愉快的!', 'role': '', 'filename': 'D:/pyVideoTrans/tmp/5064/1788934275.0062466-clonevoice.wav', 'tts_type': 31}
Traceback (most recent call last):
File "urllib3\connection.py", line 198, in _new_conn
File "urllib3\util\connection.py", line 85, in create_connection
File "urllib3\util\connection.py", line 73, in create_connection
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 493, in _make_request
File "urllib3\connection.py", line 494, in request
File "http\client.py", line 1278, in endheaders
File "http\client.py", line 1038, in _send_output
File "http\client.py", line 976, in send
File "urllib3\connection.py", line 325, in connect
File "url
......
in increment
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9988): Max retries exceeded with url: /apitts (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\tts\_clone.py", line 38, in _run
File "requests\api.py", line 115, in post
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 677, in send
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=9988): Max retries exceeded with url: /apitts (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 230, in run
File "videotrans\tts\_base.py", line 97, in run
File "videotrans\tts\_base.py", line 200, in _exec
File "videotrans\tts\_base.py", line 160, in _local_mul_thread
File "videotrans\tts\_base.py", line 212, in _item_task
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_clone.py", line 45, in _run
videotrans.configure.excepts.StopTask: [Clone-Voice] 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:9988'


=
system:Windows-10-10.0.19044-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 4 hours ago

核心原因:Clone-Voice 是本地 API 配音渠道,需你在本机单独部署并启动该服务,软件只是通过 http://127.0.0.1:9988 调用它。当前该服务未启动,所以报错“目标计算机积极拒绝”。

解决方案:

  1. 检查你是否已经安装并运行了 Clone-Voice 服务,确保其监听在 127.0.0.1:9988(可在浏览器打开该地址验证)。
  2. 若你不需要使用 Clone-Voice,请直接在主界面配音渠道中更换为其他渠道,例如 Edge-TTS(免费),即可正常配音。
  3. 注意:Clone-Voice 项目已停止维护,若你希望使用克隆音色,建议改用 OmniVoice-TTSQwen3-TTSF5-TTS 等内置支持克隆的渠道。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource