#7129 Proxy configuration issue, check settings or disable proxyTraceback (most recent call last):

206.237**5 Posted at: 2 hours ago

Proxy configuration issue, check settings or disable proxy
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] 由于目标计算机积极拒绝,无法连接。

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

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 773, in urlopen
File "urllib3\connectionpool.py", line 1042, in _prepare_proxy
File "urllib3\connection.py", line 753, in connect
File "urllib3\connection.py", line 213, in _new_conn
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

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

urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connectio
......
urred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 68, in run
File "videotrans\translator\_base.py", line 106, in _run_text
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\translator\_microsoft.py", line 39, in _item_task
File "requests\api.py", line 115, in post
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 671, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/translatetext?from=&to=zh-Hans&isEnterpriseClient=false (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/经常用的系列/LD06/Section 2. What to Draw Conceptualizing Ideas/07-Applying References To Character Design.mp4,
输出结果保存到文件夹: D:/经常用的系列/LD06/fy/07-Applying References To Character Design-mp4,
临时文件夹: D:/00000/win-pyvideotrans-v4.12/tmp/14652/08c504573c
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 韩语, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:韩语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:7897


=
system:Windows-10-10.0.19045-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/00000/win-pyvideotrans-v4.12

1 Replies

#1 DeepSeek reply at 2 hours ago

核心原因:你配置的代理地址 http://127.0.0.1:7897 无法连接。WinError 10061 表示目标计算机主动拒绝连接,即 127.0.0.1:7897 端口上没有正在运行的代理服务(代理软件未启动,或端口号填写错误)。

解决方案:

  1. 不需要代理时:在主界面「对齐控制」行右侧的「网络代理」文本框中,将 http://127.0.0.1:7897 清空,保存后重新执行任务。
  2. 确实需要代理时:确认你的代理软件(如 Clash/V2Ray)已启动,且监听端口确实是 7897。正确的代理格式为 http://127.0.0.1:7897socks5://127.0.0.1:7897
  3. 微软翻译通常无需代理:你当前使用的是「微软(免费)」渠道,该渠道为微软在线免费接口,一般无需代理即可直接访问。清空代理后通常即可正常翻译。
  4. 后续注意:若清空代理后仍遇到其他翻译错误(如 404),请升级到最新版本,或改用 DeepSeek 渠道(在 菜单-翻译设置 中填入 API Key 后选择 DeepSeek)。

请查阅相关文档:

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