#7798 [Parakeet] 该渠道需另行部署并启动后可用self.api_url='http://127.0.0.1:5092/v1'

208.87**7 Posted at: 1 hour ago

[Parakeet] 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:5092/v1'
Connection error.
:
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 "openai\_base_client.py", line 1037, in request
File "openai\_client.py", line 440, in _send_request
File "openai\_client.py", line 418, in _send_with_auth_retry
File "openai\_base_client.py", line 964, in _send_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\recognition\_parakeet.py", line 24, in _exec
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\audio\transcriptions.py", line 485, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1072, in request
openai.APIConnectionError: Connection error.

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

Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 21, in run
File "videotrans\recognition\__init__.py", line 121, in run
File "videotrans\recognition\_base.py", line 99, in run
File "videotrans\recognition\_parakeet.py", line 34, in _exec
videotrans.configure.excepts.StopTask: [Parakeet] 该渠道需另行部署并启动后可用
self.api_url='http://127.0.0.1:5092/v1'
Connection error.


=
system:Windows-10-10.0.26300-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/program/videotrans

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:Parakeet 是本地API渠道,需要你自行在本地部署并启动 Parakeet 服务,软件才能通过 http://127.0.0.1:5092/v1 调用。

当前报错 WinError 10061 目标计算机积极拒绝 说明该地址端口 5092 上没有服务在运行。

解决方案:

  1. 确认你没有在本地单独部署启动 Parakeet 服务(该渠道不像 faster-whisper 那样开箱即用)。

  2. 若要使用 Parakeet,需先自行部署其服务并监听 127.0.0.1:5092 端口启动,然后再回来使用该渠道。

  3. 如果你并未部署 Parakeet,仅是测试或误选:请改回默认推荐渠道 faster-whisper(内置),或使用 Huggingface_ASR(内置) 中的 parakeet 系列模型(内置渠道无需单独部署)。

请查阅相关文档:

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