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

140.235**6 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', NewConnectionError(': Failed to establish a new connectio
......
File "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='fd797cdaad', proxy_str='http://127.0.0.1:18963', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/24666/Desktop/测试2/1.mp4,
输出结果保存到文件夹: C:/Users/24666/Desktop/测试2/_video_out/1-mp4,
临时文件夹: D:/pyVideoTrans/tmp/36500/fd797cdaad
已选 清理已存在
未启用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=602433


=
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 1 hour ago

ConnectionRefusedError: [WinError 10061] 表示你填写的代理地址 http://127.0.0.1:18963 上没有程序在监听,即代理软件未启动、端口错误或已更换端口。请求发往 edge.microsoft.com(微软翻译)时经此代理转发,代理不通,整个翻译阶段直接中断。

解决方案(按顺序排查):

  1. 启动代理软件并确认端口
    打开你的代理客户端,查看其本地 HTTP 监听端口是否确实是 18963(常见为 7890、10808、10809、1080 等)。若不一致,请以客户端显示的真实端口为准。
  2. 修正软件内的代理填写
    主界面「对齐控制」行右侧的代理文本框,格式必须是 http://127.0.0.1:实际端口。修改后保存。
  3. 不需要代理时直接清空
    若你无需代理(微软翻译在国内可直连),请清空代理文本框并保存。填写无效代理会导致所有网络请求失败。
  4. 代理服务稳定性
    确保代理软件处于运行状态且未在任务运行中途退出;端口随客户端重启变化时需重新填写。
  5. 国内 API 与本地服务无需代理
    百度、腾讯、阿里、DeepSeek、智谱、字节火山等国内 API 及本地服务(GPT-SoVITS 9880、ChatTTS 9966 等)已内置免代理白名单,会自动绕过代理,不必为其单独配置。
  6. Edge-TTS 专项
    若后续 Edge-TTS 报 "Please turn off the clear proxy and try again",可在软件根目录新建空文件 edgetts-noproxy.txt 强制其绕过代理。
补充:若你的目的是访问 Google 翻译(日志中翻译渠道显示为 Google(免费)),则代理必须可用;如代理长期不稳定,建议改用 DeepSeek 等国内 AI 翻译渠道,无需代理且质量更好。

请查阅相关文档:

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