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

2406**c4f5 Posted at: 1 hour ago

Proxy configuration issue, check settings or disable proxy
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 534, in _make_request
File "urllib3\connection.py", line 565, in getresponse
File "http\client.py", line 1375, in getresponse
File "http\client.py", line 318, in begin
File "http\client.py", line 287, in _read_status
http.client.RemoteDisconnected: Remote end closed connection without response

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

urllib3.exceptions.ProxyError: ('Unable to connect to proxy', RemoteDisconnected('Remote end closed connection without response'))

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.exceptio
......
d('Remote end closed connection without response')))

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 67, in run
File "videotrans\translator\_base.py", line 67, in run
File "videotrans\translator\_base.py", line 105, 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 39, 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', RemoteDisconnected('Remote end closed connection without response')))

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/tg/想要的东西.mp4,
输出结果保存到文件夹: D:/tg/_video_out/想要的东西-mp4,
临时文件夹: D:/tg/win-pyvideotrans-v4.12-0913/tmp/23640/d85bb0e174
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
已选 仅输出mp4
代理地址:http://127.0.0.1:7897
video_duration_ms=2516096


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/tg/win-pyvideotrans-v4.12-0913

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因是代理配置错误或代理服务未正常运行:日志显示你的软件填写的代理地址是 http://127.0.0.1:7897,但翻译阶段连接微软翻译 edge.microsoft.com 时,代理拒绝或中断了连接(Unable to connect to proxy / Remote end closed connection without response),导致请求失败。

解决方案(按顺序尝试):

  1. 确认代理软件是否正在运行

    • 检查你使用的代理工具(如 Clash / v2ray 等)是否已启动,且 7897 端口 确实是你代理工具的 HTTP 监听端口(不同软件默认端口不同,如 7890、10808 等,请核对实际端口)。

  2. 核对代理填写格式

    • 主界面「对齐控制」行右侧的代理文本框,格式必须为 http://127.0.0.1:端口号(或 socks5://127.0.0.1:端口号),端口必须与代理软件一致,不可乱填。

  3. 不需要代理时直接清空

    • 微软翻译(Microsoft)为国内可直连的免费接口,无需代理。

      若你的代理不稳定,建议直接将代理文本框清空并保存,然后重试。

    • 注意:填写了无效代理地址会导致所有网络请求失败。

  4. 如仍失败,可更换翻译渠道

    • 微软免费接口本身也有限流、随时不可用的风险。

      推荐改用 DeepSeek(翻译质量更好、成本极低),在 菜单 → 翻译设置 → DeepSeek 填写 API Key 后,将翻译渠道下拉改为 DeepSeek。

提示:百度、腾讯、阿里、DeepSeek、智谱、字节火山等国内 API 默认不走代理,软件已内置免代理域名列表,确保你的代理设置不会干扰它们即可。

请查阅相关文档:

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