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

61.185**9 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
......
无法连接。')))

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:/香山圣无码5部合集/珍藏多年精品经典 香山圣无码合集NO5.avi,
输出结果保存到文件夹: D:/珍藏多年精品经典 香山圣无码合集NO5-avi,
临时文件夹: D:/360Downloads/翻译软件pyvideotrans-v4.14/tmp/9272/ccbdaa8b00
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), base, 发音语言: 日语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:日语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:10810
video_duration_ms=1784582


=
system:Windows-10-10.0.19045-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/360Downloads/翻译软件pyvideotrans-v4.14

1 Replies

#1 DeepSeek reply at 2 hours ago

原因是配置的代理地址 http://127.0.0.1:10810 无法连接(目标计算机积极拒绝),说明该端口上没有代理服务在运行,导致所有网络请求(含微软翻译)失败。

解决方案:

  1. 确认你的科学上网工具正在运行,并查看其实际 HTTP 代理端口(常见为 10808、10809、7890 等),端口填错会导致连接被拒。

  2. 如端口正确仍失败,可尝试重启代理工具使其重新监听该端口。

  3. 若不需要代理,请清空主界面 对齐控制(Alignment) 行右侧的代理文本框并保存。

    注意:Google 翻译在国内必须有可用代理,否则请改用其他翻译渠道(如 DeepSeek)。

  4. 若改用国内 API(DeepSeek/百度/腾讯/智谱等)或本地模型,可不开代理,软件会自动绕过。

代理填写格式:http://127.0.0.1:端口号 或 socks5://127.0.0.1:端口号,不可乱填无效地址(会导致所有网络请求失败)。

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