#8407 [Clone-Voice] Service must be deployed and running before useself.api_url='http://127.0.0.1:9988'

197.200**1 Posted at: 1 hour ago

[Clone-Voice] Service must be deployed and running before use
self.api_url='http://127.0.0.1:9988'

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] Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée

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 "urllib3\connection.py", line 213, in _new_conn
......
eotrans\tts\__init__.py", line 132, in run
File "videotrans\tts\_base.py", line 98, in run
File "videotrans\tts\_base.py", line 201, in _exec
File "videotrans\tts\_base.py", line 161, in _local_mul_thread
File "videotrans\tts\_base.py", line 216, 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] Service must be deployed and running before use
self.api_url='http://127.0.0.1:9988'

trk=[TransCreate]: uuid='a106eb487c', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/Rdgamer/Desktop/MAINOS/debut.wav,
输出结果保存到文件夹: C:/Users/Rdgamer/Desktop/MAINOS/_video_out/debut-wav,
临时文件夹: C:/Users/Rdgamer/Downloads/win-pyvideotrans-v4.17/tmp/2388/a106eb487c
已选 清理已存在
已启用CUDA加速
STT Service:faster-whisper(Built-in), distil-large-v3.5, 发音语言: English, , 数据类型:default
TranslateSrt:Microsoft Translate (Free),原始语言:English,目标语言:Arabic, 已选 SendSRT, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
TTS Service:clone-voice(LocalAPI), 角色:clone, 配音语言:Arabic, 已选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 未选 强制对齐字幕和声音
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: Hard Subtitles , precent=15, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=False, is_copy_video=False, video_codec_num=264, ignore_align=False, is_audio_trans=True, clone_ref='', should_recogn2=True, do_diarize=True
video_duration_ms=44032


=
system:Windows-10-10.0.26100-SP0
version:v4.17
frozen:True
language:en_US
root_dir:C:/Users/Rdgamer/Downloads/win-pyvideotrans-v4.17

1 Replies

#1 DeepSeek reply at 1 hour ago

The Clone-Voice service is not running: the software sends a request to the local API address http://127.0.0.1:9988/apitts, and the system returns WinError 10061 (the target computer actively refused the connection), which means that no program is listening on port 9988.

Solution:

  1. Deploy and start the Clone-Voice service locally (it is a separately deployed local API project; the pyVideoTrans installation package does not include it). After startup, verify that the service is listening on 9988.
  2. Open a browser and visit http://127.0.0.1:9988 to confirm that the service responds; if it does not open, the service has not started or the port is occupied.
  3. In Menu → Translation Settings → Clone-Voice, confirm that the API URL is http://127.0.0.1:9988 and matches the port the service actually listens on.
  4. Confirm that the service is not closed by security software or the firewall, and then restart the translation task (check Clear Output).

If you do not want to deploy it, switch directly to another TTS channel that supports the clone voice: OmniVoice(Built-in), Qwen3-TTS(Built-in), F5-TTS(Built-in), Confucius(Built-in), Audio.cpp(Local). When using the clone voice, make sure Advanced Options → Speech Recognition (ASR) → Min Speech Duration (ms) is greater than or equal to 3000; otherwise the cloning reference audio will be too short.

Note: Clone-Voice is no longer maintained (No longer maintained), and it is generally recommended to replace it with OmniVoice/Qwen3-TTS/F5-TTS; these are built in and download the models automatically on first use.

Please refer to the related documentation:

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