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

175.100**4 Posted at: 12 hours 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] No connection could be made because the target machine actively refused it

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
urllib3.
......
ption was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 107, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 101, in _tts
File "videotrans\tts\__init__.py", line 119, in run
File "videotrans\tts\_base.py", line 96, in run
File "videotrans\tts\_base.py", line 199, in _exec
File "videotrans\tts\_base.py", line 159, in _local_mul_thread
File "videotrans\tts\_base.py", line 214, 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'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/ADMIN/Downloads/第001集.mp4,
输出结果保存到文件夹: C:/Users/ADMIN/Downloads/_video_out/第001集-mp4,
临时文件夹: C:/Users/ADMIN/Downloads/Compressed/win-pyvideotrans-v4.14/tmp/22728/49b29924a2
未选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Simplified Chinese, 断句方式:默认断句
TranslateSrt:Microsoft Translate (Free),原始语言:Simplified Chinese,目标语言:Khmer, 已选 SendSRT
TTS Service:clone-voice(LocalAPI), 角色:clone, 配音语言:Khmer, 已选 二次语音识别
音量:+6%, 语速:+10%, 未选 音频加速, 未选 视频慢速
已选 移除字幕间空隙, 未选 强制对齐字幕和声音
字幕: Hard Subtitles
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
video_duration_ms=120000


=
system:Windows-10-10.0.26200-SP0
version:v4.14
frozen:True
language:en_US
root_dir:C:/Users/ADMIN/Downloads/Compressed/win-pyvideotrans-v4.14

1 Replies

#1 DeepSeek reply at 12 hours ago

The core cause: you selected the clone-voice(LocalAPI) TTS channel, but that local service is not running (or not deployed). The error WinError 10061 No connection could be made because the target machine actively refused it means nothing is listening on http://127.0.0.1:9988, so the software cannot connect to it.

Solutions (choose one):

  1. Deploy and start the clone-voice service first (only if you really need it). It is a separate project that must be installed and running locally before pyVideoTrans can call it. Note that clone-voice is no longer maintained and is not recommended for new users.
  2. Switch to a built-in cloning channel (recommended). Since you want clone (original voice cloning), use a built-in channel that requires no separate deployment:

    • OmniVoice-TTS(内置) — supports many languages, ⭐⭐⭐
    • Qwen-TTS(内置) — ⭐⭐⭐
    • Confucius-TTS(内置) — 14 languages
    • F5-TTS(内置) / ChatterBox(内置) / ZipVoice(内置)

    For best cloning quality, also set in 菜单 → 工具 → 高级选项 → 语音识别参数:

    • Max speech duration: 6–10 s
    • Min speech duration: 3000–4000 ms
      And check 分离人声背景声 in 设置更多参数.
  3. If you don't need cloning at all, just pick a normal voice role such as Edge-TTS(免费) and select a Khmer voice.

Note about your target language: you are translating to Khmer (km), which is a low-resource language. If you use a traditional translation channel (Microsoft Free) for it, mapping errors are likely. For Khmer, set the translation channel to an AI LLM (e.g. DeepSeek / OpenAI / Gemini) to guarantee success. Also, confirm that your chosen TTS channel actually supports Khmer — many cloning models do not.

请查阅相关文档:

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