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

120.238**8 Posted at: 23 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 connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: 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] 由于目标计算机积极拒绝,无法连接。')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 90, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 71, in run
File "videotrans\translator\_base.py", line 79, in run
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=zh-Hans&isEnterpriseClient=false (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))

trk=[TransCreate]: uuid='c110b3b554', proxy_str='http://127.0.0.1:4088', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/下载/Welcome BACK To Cyberspace!.mp4,
输出结果保存到文件夹: D:/下载/Welcome BACK To Cyberspace!-mp4,
临时文件夹: E:/sp/tmp/20956/c110b3b554
已选 清理已存在
已启用CUDA加速
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, , 数据类型:default
翻译渠道:微软(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
未选 配音角色,不进行配音
字幕: 嵌入硬字幕(双) 目标语言在上双字幕
代理地址: http://127.0.0.1:4088, precent=12, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=148566


=
system:Windows-10-10.0.19045-SP0
version:v4.17
frozen:True
language:zh_CN
root_dir:E:/sp

1 Replies

#1 DeepSeek reply at 23 hours ago

这是代理地址填写错误或代理服务未启动导致的:日志中记录了 代理地址: http://127.0.0.1:4088,但该端口上并没有代理服务在监听(WinError 10061 目标计算机积极拒绝),导致所有网络请求(包括微软翻译的 edge.microsoft.com)都经由此代理发出并被拒绝。

解决方案(按需二选一):

  1. 如果你没有运行代理软件(最常见情况)

    • 将主界面对齐行(字幕、配音、画面对齐那一行)右侧的 网络代理 文本框完全清空(不要留空格),然后重新执行任务。
    • 你使用的是 微软(免费) 翻译渠道,该接口在国内可直连,无需代理,清空后即可正常翻译。
  2. 如果你确实有代理软件(如 Clash / v2ray 等)

    • 先确认代理软件已启动,并在其设置里查看真实的 HTTP 端口号(常见为 7890、10809、10808、4088 等)。
    • 在软件中按格式填写:http://127.0.0.1:实际端口号,不要填写 socks5 协议以外的错误格式,也不要填写 0.0.0.0。
    • 保存后重启软件再试。
    • 若端口无误仍报错,说明代理软件未开启「允许局域网连接」或被防火墙拦截。

补充说明:

  • 本次任务为翻译视频,微软(免费) 渠道直连即可,无需代理。
  • 国内 API(百度、腾讯、阿里、DeepSeek、智谱、字节火山等)和本地服务(GPT-SoVITS、ChatTTS 等)软件内部已自动绕过代理,填写代理也不会影响它们。
  • 若你无需代理却误填了地址,会像现在这样导致全部网络请求失败。

请查阅相关文档:

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