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

65.52**3 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
OSError: [WinError 10048] 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。

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 10048] 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。

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
......
ort=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 10048] 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。')))

trk=[TransCreate]: uuid='a51c3e4f02', proxy_str='http://127.0.0.1:7897', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/youtub下载视频/How one of the world’s richest companies rose to power - Shantel George_1080p.mp4,
输出结果保存到文件夹: E:/youtub下载视频/_video_out/How one of the world’s richest companies rose to power - Shantel George_1080p-mp4,
临时文件夹: D:/达芬奇/win-pyvideotrans-v4.15/tmp/28028/a51c3e4f02
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语,
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+5%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入软字幕
代理地址: http://127.0.0.1:7897, precent=12, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, 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
trk.cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/youtub下载视频/How one of the world’s richest companies rose to power - Shantel George_1080p.mp4,
输出结果保存到文件夹: E:/youtub下载视频/_video_out/How one of the world’s richest companies rose to power - Shantel George_1080p-mp4,
临时文件夹: D:/达芬奇/win-pyvideotrans-v4.15/tmp/28028/a51c3e4f02
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语,
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+5%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入软字幕
代理地址: http://127.0.0.1:7897
video_duration_ms=306597


=
system:Windows-10-10.0.26200-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:D:/达芬奇/win-pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 1 hour ago

WinError 10048 表示代理端口 7897 已被占用或无法建立连接,导致软件通过该代理访问微软翻译接口(edge.microsoft.com)失败。核心原因是代理配置问题,而非软件本身故障。

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

  1. 检查代理服务是否正常运行:确认你的代理软件(Clash/V2Ray等)正在运行,且本地监听端口确实是 7897。若代理软件已关闭或端口变更,将主界面 对齐控制(Alignment) 行右侧代理文本框内容清空或改为正确端口。
  2. 重启代理软件:10048 常见于端口被上一次残留连接占用,完全退出代理软件再重新启动,释放端口。
  3. 软件内清空代理或修正:若当前翻译渠道(微软/Google免费)不需代理(微软翻译国内可直连),请将代理文本框清空并保存后重试。注意格式应为 http://127.0.0.1:7897。
  4. 检查代理软件配置:确认代理软件允许本地回环连接,且没有将 127.0.0.1:7897 设置为仅允许特定应用。
  5. 换用无需代理的翻译渠道:微软翻译国内可直连,若代理反复出错,可改用 DeepSeek 等国内 AI 渠道(无需代理),避免代理干扰。
  6. 重试前请勾选清理已生成。

请查阅相关文档:

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