#8127 Connection refusedTraceback (most recent call last):

183.251**9 Posted at: 1 hour ago

Connection refused
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\http_proxy.py", line 289, 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\task\only_one.py", line 71, i
......
stream) # type: ignore[no-any-return]
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 420, in exc_check
File "tenacity\__init__.py", line 187, in reraise
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 "google\genai\_api_client.py", line 1513, in _request_once

response = self._httpx_client.send(httpx_request, stream=stream)  # type: ignore[union-attr, arg-type]

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] 由于目标计算机积极拒绝,无法连接。

trk=[TransCreate]: uuid='c5c231c82b', proxy_str='http://127.0.0.1:7890', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/Administrator/Downloads/1.mp4,
输出结果保存到文件夹: C:/Users/Administrator/Downloads/_video_out/1-mp4,
临时文件夹: E:/BaiduNetdiskDownload/win-pyvideotrans-v4.16-1/tmp/15584/c5c231c82b
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:Gemini大模型识别, gemini-3.5-transcribe, 发音语言: 日语,
翻译渠道:DeepSeek,原始语言:日语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕(双) 目标语言在下双字幕
代理地址: http://127.0.0.1:7890, precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=526299


=
system:Windows-10-10.0.26300-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:E:/BaiduNetdiskDownload/win-pyvideotrans-v4.16-1

1 Replies

#1 DeepSeek reply at 1 hour ago

这是由于你填写了代理地址 http://127.0.0.1:7890,但该代理服务当前不可用(代理软件未启动、已退出,或端口不是 7890),导致系统连接该代理时被拒绝(WinError 10061)。

解决步骤:

  1. 确认本机代理软件已开启,并确认其 HTTP 代理端口确实是 7890。
  2. 如果代理软件端口不是 7890,请将软件中的代理地址改为实际端口,例如 http://127.0.0.1:7897。
  3. 如果当前不需要代理,请将主界面“网络代理”文本框清空并保存。
  4. 使用 Gemini 语音识别必须能稳定访问 Google 服务,代理不可用或网络不通时会出现该错误。

请查阅相关文档:

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