#7743 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:/2.日本AV系列(步兵)/042524-001-FHD.mp4,
输出结果保存到文件夹: D:/042524-001-FHD-mp4,
临时文件夹: D:/360Downloads/翻译软件pyvideotrans-v4.14/tmp/12348/19dd0965d7
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), base, 发音语言: 日语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:日语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:10810
video_duration_ms=3219216


=
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 无法连接(本机该端口没有代理服务在运行),导致所有网络请求被拒绝(WinError 10061),本次报错发生在微软翻译(Google翻译失败后自动回落至微软翻译)阶段。

解决方案(二选一):

  1. 若你不需要代理:清空主界面「同步对齐」行右侧的「网络代理」文本框,保存后重新执行任务。

  2. 若你确实需要代理:先确认你的代理软件已启动且端口号正确(例如常见端口 10808/10809/7890 等),再按 http://127.0.0.1:实际端口号 格式填写,不要随意乱填。

补充说明:

  • 百度、腾讯、阿里、DeepSeek、智谱等国内API及本地服务(GPT-SoVITS/ChatTTS/F5-TTS)会自动绕过代理,无需为其配置代理。

  • 当前使用 Google(免费) 翻译渠道,中国大陆需科学上网;若代理不可用,可改用 DeepSeek 等国内AI翻译渠道,或使用 M2M100(内置) 本地离线翻译。

请查阅相关文档:

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