#7825 firered3tts 该渠道需另行部署并启动后可用self.api_url='http://127.0.0.1:7860'

38.148**9 Posted at: 1 hour ago

firered3tts 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:7860'
[WinError 10061] 由于目标计算机积极拒绝,无法连接。
:
{'text': '你好啊,我亲爱的朋友,希望你的每一天都是美好愉快的!', 'rate': '+0%', 'role': 'zh_male_bj.wav', 'filename': 'C:\Users\Administrator\AppData\Local\Temp/pyvideotrans/16-1791189503.961846.wav', 'tts_type': 16, 'language': 'zh-cn', 'volume': '+0%', 'pitch': '+0Hz'}
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] 由于目标计算机积极拒绝,无法连接。

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

Traceback (most recent call last):
File "videotrans\tts\_gradio.py", line 52, in _send
File "videotrans\tts\_gradio.py", line 37, 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] 由于目标计算机积极拒绝,无法连接。

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 122, 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 "videotrans\tts\_firered3tts.py", line 30, in _run
File "videotrans\tts\_gradio.py", line 76, in _send
videotrans.configure.excepts.StopTask: firered3tts 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:7860'
[WinError 10061] 由于目标计算机积极拒绝,无法连接。


=
system:Windows-10-10.0.19045-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:E:/yinwenzhuan/win-pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:FireRedTTS3 属于「本地 API」渠道,必须你先在本地自行部署并启动其 Gradio WebUI 服务(监听 7860 端口),软件才能连接调用。当前报错 [WinError 10061] 由于目标计算机积极拒绝,无法连接 表示 http://127.0.0.1:7860 这个地址上根本没有服务在运行。

解决方案:

  1. 确认你已按照 FireRedTTS3 官方文档,在本地成功部署并启动了它的 Gradio WebUI,且服务地址为 http://127.0.0.1:7860。
  2. 启动后在浏览器访问 http://127.0.0.1:7860,能正常打开界面,才说明服务已就绪;若打不开,说明服务未启动或端口不是 7860。
  3. 若你部署时使用的端口不是 7860(例如 7861),请打开 菜单 → TTS设置 → FireRed3-TTS,把 API 地址改为你实际启动的地址和端口。
  4. 确认服务启动正常后,再回到软件重新开始配音。

注意:

  • 如果你并未部署 FireRedTTS3,只是想在软件里直接配音,请改用开箱即用渠道,例如 Edge-TTS(免费),或内置渠道 Qwen3-TTS(内置)、F5-TTS(内置)、OmniVoice-TTS、Confucius-TTS 等,这些不需要单独部署。
  • 若你实际已启动服务仍报此错,请检查端口是否被占用、是否监听了 127.0.0.1(而非仅 localhost 或其它网卡地址),以及代理是否误拦本地请求。

请查阅相关文档:

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