#5491 omnivoice This channel needs deployed and started before availableself.api_url='http://127.0.0.1:7860'[WinError 10061] N

31.171* Posted at: 1 hour ago

omnivoice This channel needs deployed and started before available
self.api_url='http://127.0.0.1:7860'
[WinError 10061] No connection could be made because the target machine actively refused it
Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 250, in handle_request
File "httpcore\_sync\connection_pool.py", line 216, in handle_request
File "httpcore\_sync\connection_pool.py", line 196, in handle_request
File "httpcore\_sync\connection.py", line 99, in handle_request
File "httpcore\_sync\connection.py", line 76, in handle_request
File "httpcore\_sync\connection.py", line 122, in _connect
File "httpcore\_backends\sync.py", line 205, in connect_tcp
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ConnectError: [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 "videotrans\tts\_gradio.py", line 51, in _send
File "videotrans\tts\_gradio.py", line 36, in get_thread_client
File "gradio_client\client.py", line 162, in init
File "gradio_client\client.py", line 935, in _get_config
File "httpx\_api.py", line 195, in get
File "httpx\_api.py", line 109, in request
File "httpx\_client.py", line 825, in request
File "httpx\_client.py", line 914, in send
File "httpx\_client.py", line 942, in _send_handling_auth
File "httpx\_client.py", line 979, in _send_handling_redirects
File "httpx\_client.py", line 1014, in _send_single_request
File "httpx\_transports\default.py", line 249, in handle_request
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.ConnectError: [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 "videotrans\task\only_one.py", line 86, in run
File "videotrans\task\trans_create.py", line 667, in dubbing
File "videotrans\task\trans_create.py", line 990, in _tts
File "videotrans\tts\__init__.py", line 192, in run
File "videotrans\tts\_base.py", line 93, in run
File "videotrans\tts\_base.py", line 208, in _exec
File "videotrans\tts\_base.py", line 168, in _local_mul_thread
File "videotrans\tts\_base.py", line 220, 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\_omnivoice.py", line 124, in _run
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\_gradio.py", line 74, in _send
videotrans.configure.excepts.StopTask: omnivoice This channel needs deployed and started before available
self.api_url='http://127.0.0.1:7860'
[WinError 10061] No connection could be made because the target machine actively refused it

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/fars rayan/Desktop/Module 00 - Welcome to Certified Ethical Hacker Class hide01.ir.mp4,
输出结果保存到文件夹: C:/Users/fars rayan/Desktop/Module 00 - Welcome to Certified Ethical Hacker Class hide01.ir-mp4,
临时文件夹: C:/Users/fars rayan/Desktop/translator/tmp/20428/97a22ec90a
已选 清理已存在
已选 启用CUDA加速
未选 降噪
ASR Channel:faster-whisper(LocalBuilt-in), model_name: large-v3-turbo, 发音语言: English, 断句方式:默认断句
Trans Channel:Google (Free),原始语言:English,目标语言:Persian, 已选 Send SRT
Dubb Channel:OmniVoice(LocalAPI), 角色:clone, 配音语言:Persian, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: Embed Hard Subs
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:en
root_dir:C:/Users/fars rayan/Desktop/translator

1 Replies

This error occurs because the OmniVoice-TTS service is not running locally. The software attempted to connect to http://127.0.0.1:7860 but the connection was refused – the service is either not started or not installed.

Solution:

  1. Deploy and start the OmniVoice-TTS service on your machine.

    • Follow the official OmniVoice deployment guide (you need to download and run its web UI, which typically listens on 127.0.0.1:7860).
    • Ensure the service is fully started before running pyVideoTrans.
  2. Verify the API URL in pyVideoTrans:

    • Go to Menu → TTS Settings → OmniVoice and confirm the API URL is set correctly (default: http://127.0.0.1:7860).
  3. Alternatively, switch to a different TTS channel that doesn't require local deployment, such as:

    • Edge-TTS (free, no setup)
    • Qwen3-TTS (local built-in) (downloads automatically on first use)
    • Piper-TTS (local built-in)
    • Note: If you need voice cloning (clone role), you must use a clone-capable local channel like OmniVoice, GPT-SoVITS, or F5-TTS – all require their respective services to be running.
  4. After starting the OmniVoice service, restart the translation task.

Please refer to the documentation:

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. Dondate: ko-fi.com/jianchang512

Related resource