#7234 翻译字幕阶段出错 [微软(免费)] Proxy configuration issue, check settings or disable proxyTraceback (most recent call last):

60.220**0 Posted at: 1 hour 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', NewConnection
......
。')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 137, in process_task

File "videotrans\task\translate_srt.py", line 51, in trans

File "videotrans\translator\_runner.py", line 67, in run

File "videotrans\translator\_base.py", line 67, in run

File "videotrans\translator\_base.py", line 105, 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=en&isEnterpriseClient=false (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))
[TranslateSrt]翻译字幕: OutputFormat=单语字幕
[TaskCfgSTS]
原始输入文件名: E:/AE/After Effects Guru/01 After Effects CC Essential Training(核心培训)/122431_00_02_3D15_files.srt,
输出结果保存到文件夹: D:/win-pyvideotrans-v4.12-0912_20260913_140223/output/translate
翻译渠道:微软(免费),原始语言:auto,目标语言:en, 已选 发送完整字幕
代理地址:http://127.0.0.1:2080


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

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因是代理连接失败。软件中配置了代理 http://127.0.0.1:2080,但该代理端口没有运行或代理软件未启动,导致所有请求被拒绝(WinError 10061)。

关于微软翻译本身需要说明:微软已更改了其免费翻译API接口,即使代理正常,[微软(免费)]渠道也可能无法使用。

解决方案(任选其一):

  1. 检查代理:确认代理软件已启动,且端口为 2080。如果代理端口不是 2080,请修改为正确地址;如不需要代理,请清空代理文本框。
  2. 改用其他翻译渠道

    • DeepSeek:翻译质量更好,价格很低。前往 https://platform.deepseek.com/ 登录充值,获取 API Key,填入 菜单 → 翻译设置 → DeepSeek,然后翻译渠道选 DeepSeek。注意取消选中设置面板中的 Thinking 复选框以关闭思考模式。
    • M2M100(内置):本地离线翻译,首次使用会自动在线下载模型到 软件目录/models/m2m100_12b
    • 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