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

103.196**0 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
......
"videotrans\translator\_base.py", line 117, 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=en&isEnterpriseClient=false (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))

trk=[TransCreate]: uuid='3581ba3157', proxy_str='http://127.0.0.1:18963', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/24666/Desktop/测试/2/SP.mp4,
输出结果保存到文件夹: C:/Users/24666/Desktop/测试/2/_video_out/SP-mp4,
临时文件夹: D:/pyVideoTrans/tmp/29192/3581ba3157
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文,
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Brian(Male/US), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: 不嵌入字幕
代理地址: http://127.0.0.1:18963, precent=12, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=False, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=140266


=
system:Windows-10-10.0.22000-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 2 hours ago

这是由于代理配置失效导致的:软件中填写了代理地址 http://127.0.0.1:18963,但该端口上没有代理服务在运行(错误代码 10061 表示连接被拒绝),导致所有网络请求(如微软翻译请求)都试图走这个不存在的代理,最终失败。

此外,你的翻译渠道选择的是 Google(免费);由于 Google 翻译失败,软件自动回退到了微软翻译进行重试,但同样因代理问题而失败。

解决方案

方案 A:不使用代理(推荐,仅用微软翻译时适用)

  1. 在主界面 对齐控制(Alignment) 行右侧找到网络代理文本框;
  2. 将 http://127.0.0.1:18963 完全清空;
  3. 保存设置;
  4. 翻译渠道可保持 Google(免费)(失败会自动使用微软翻译),或直接改选 Microsoft(免费);
  5. 勾选 清理已生成 后重新开始执行。
微软翻译在国内可直接访问,无需任何代理。

方案 B:确实需要代理时(用 Google 翻译必选)

  1. 确认你的代理软件(Clash、v2ray 等)已启动并在运行;
  2. 打开代理软件查看其真实的 HTTP 代理端口(常见为 7890、10808、10809 等,18963 未必正确);
  3. 将正确端口填入软件代理框,格式必须为 http://127.0.0.1:端口号;
  4. 勾选 清理已生成 后重新执行。

注意事项

  • 百度翻译、腾讯翻译、阿里翻译、DeepSeek、智谱AI、字节火山等国内 API 无需代理,软件内置了免代理白名单;
  • 若不需要科学上网,请务必把代理框清空,填写无效代理会导致所有网络请求失败;
  • 若后续使用 Edge-TTS 遇到代理相关报错,可在软件根目录(D:/pyVideoTrans)新建空文件 edgetts-noproxy.txt,强制 Edge-TTS 绕过代理。

请查阅相关文档:

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