#7090 网络连接失败Traceback (most recent call last):

2a09**1ba Posted at: 3 hours ago

网络连接失败
Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 250, in handle_request
File "httpcore\_sync\connection_pool.py", line 216, in handle_request
File "httpcore\_sync\connection_pool.py", line 196, in handle_request
File "httpcore\_sync\http_proxy.py", line 317, in handle_request
File "httpcore\_sync\http11.py", line 383, in start_tls
File "httpcore\_backends\sync.py", line 152, in start_tls
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ConnectError: EOF occurred in violation of protocol (_ssl.c:1017)

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

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 70, in run
File "videotrans\task\_stage_recogn.py", line 65, in recogn
File "videotrans\recognition\__init__.py", line 228, in run
File "videotrans\recognition\_base.py", line 97, in run
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\recognition\_elevenlabs.py", line 35, in _exec
File "elevenlabs\speech_to_text\client.py", line 152, in convert
File "elevenlabs\speech_to_text\raw_client.py", line 130, in convert
File "elevenlabs\core\http_client.py", line 264, in request
File "httpx\_client.py", line 825, in request
File "httpx\_client.py", line 914, in send
File "httpx\_client.py", line 942, in _send_handling_auth
File "httpx\_client.py", line 979, in _send_handling_redirects
File "httpx\_client.py", line 1014, in _send_single_request
File "httpx\_transports\default.py", line 249, in handle_request
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.ConnectError: EOF occurred in violation of protocol (_ssl.c:1017)

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/video/RustTikTok-PhotoImport-2887A01E-813B-4CC2-9AF8-E0D63F7E592D.mp4,
输出结果保存到文件夹: D:/video/_video_out/RustTikTok-PhotoImport-2887A01E-813B-4CC2-9AF8-E0D63F7E592D-mp4,
临时文件夹: D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/18316/437b22e66b
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:ElevenLabs.io, , 发音语言: 越南语, 断句方式:LLM重新断句
翻译渠道:OpenRouter,原始语言:越南语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:7892


=
system:Windows-10-10.0.22631-SP0
version:v4.12
frozen:True
language:zh
root_dir:D:/pyVideoTrans/win-pyvideotrans-v4.07

1 Replies

#1 DeepSeek reply at 3 hours ago

这是网络连接失败引起的。根据日志,你在使用 ElevenLabs.io 语音识别渠道时,经代理 http://127.0.0.1:7892 访问其服务器,但 SSL 握手被服务器中断(EOF occurred in violation of protocol),通常表示代理未生效、端口错误或代理不稳定。

解决方案:

  1. 确认你的科学上网工具已启动,且代理端口确为 7892(可在主界面"对齐控制"行右侧的代理框中填写,格式必须是 http://127.0.0.1:7892)。
  2. 尝试更换一个稳定代理,或临时清空代理框并保存,看是否能直连。
  3. ElevenLabs.io 免费账号频率限制极严,几乎不可用,建议直接用内置免费渠道:将语音识别渠道改为 faster-whisper(内置),模型选 large-v3-turbo,发音语言选 越南语,并确认已启用 CUDA 加速,效果远好于 ElevenLabs。

请查阅相关文档:

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