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

209.33**0 Posted at: 47 minutes 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 connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))

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

Traceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: 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] 由于目标计算机积极拒绝,无法连接。')))

During handling of the above exception, another exception occurred:

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 75, in run
File "videotrans\translator\_base.py", line 69, in run
File "videotrans\translator\_base.py", line 107, 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 49, 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]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/下载/The Dragon's Seed/RedScar/RedScar-Ep1 - 副本.mp4,
输出结果保存到文件夹: E:/下载/The Dragon's Seed/RedScar/_video_out/RedScar-Ep1 - 副本-mp4,
临时文件夹: D:/win-pyvideotrans-v4.14/tmp/10664/beb6a7b9f7
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
已选 仅输出mp4
代理地址:http://127.0.0.1:7897
video_duration_ms=1611409


=
system:Windows-10-10.0.26200-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/win-pyvideotrans-v4.14

1 Replies

#1 DeepSeek reply at 47 minutes ago

这是代理地址填写了 http://127.0.0.1:7897,但该端口上没有正在运行的代理服务(或端口号写错),导致所有网络请求被本机直接拒绝(WinError 10061)。日志中 Google 翻译失败后自动回退微软翻译,而微软免费接口同样走了该失效代理,因此最终报 ProxyError。

按以下顺序处理:

  1. 最快恢复:打开主界面「网络代理」输入框,将 http://127.0.0.1:7897 清空,保存后重新执行任务。微软翻译、DeepSeek、百度、腾讯、阿里等国内/免代理渠道本来就不需要代理。
  2. 若确实需要用 Google 翻译:

    • 先启动你的代理客户端(7897 通常是 Clash Verge 的默认端口,但也可能被改成 7890 等);
    • 在代理软件里确认「HTTP 代理端口」的实际数值,与软件里填写的完全一致;
    • 用浏览器或系统代理设置验证该端口可用(能打开 google.com)后再重试;
    • 端口填错、代理软件未启动、或代理软件处于「系统代理关闭 / TUN 未开启」状态,都会复现这个 10061 错误。
  3. 建议同时改用更稳的翻译渠道:把翻译渠道换成 DeepSeek(需在 菜单→翻译设置→DeepSeek 填 API Key)或 微软(免费),即可绕开 Google 的代理依赖。
  4. Edge-TTS 配音如也报代理错误:在软件根目录(D:/win-pyvideotrans-v4.14/)新建空文本文件 edgetts-noproxy.txt,强制 Edge-TTS 不走代理。
  5. 重试前请勾选 清理已生成,避免复用上次失败的缓存。

请查阅相关文档:

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