#6294 连接超时,请检查网络连接是否稳定Traceback (most recent call last):

2405:4800* Posted at: 4 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.ConnectTimeout: _ssl.c:1000: The handshake operation timed out

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

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 83, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 63, in run
File "videotrans\translator\_base.py", line 74, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_camb.py", line 86, in _item_task
File "camb\translation\client.py", line 92, in translation_stream
File "camb\translation\raw_client.py", line 74, in translation_stream
File "camb\core\http_client.py", line 318, 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.ConnectTimeout: _ssl.c:1000: The handshake operation timed out

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/video/mi.1199[HD]_musicaldown.com_1785772913.mp4,
输出结果保存到文件夹: D:/video/_video_out/mi.1199[HD]_musicaldown.com_1785772913-mp4,
临时文件夹: D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/1940/e65adb16c6
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:ElevenLabs.io, model_name: , 发音语言: 越南语, 断句方式:LLM重新断句
翻译渠道:CAMB AI,原始语言:越南语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
代理地址:


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

1 Replies

这是网络连接到 CAMB AI 服务器超时导致的,具体发生在 TLS/SSL 握手阶段(The handshake operation timed out),表示请求发出后始终未能与 CAMB AI 服务端建立安全连接。

最可能原因:CAMB AI 属于境外在线服务,从中国大陆直连容易被阻断或响应缓慢;你当前未配置代理(代理地址: 为空),导致 SSL 握手超时。

解决方案

  1. 配置代理后重试:在主界面第 5 行「网络代理」处填写可用代理,格式如 http://127.0.0.1:7890socks5://127.0.0.1:端口,然后重新执行。
  2. 改用国内可直接访问的翻译渠道:推荐 DeepSeek,效果好、价格低,无需代理:

    • 前往 https://platform.deepseek.com/ 注册并充值(最低 1 元),获取 API Key;
    • 填写到 菜单 → 翻译设置 → DeepSeek 的密钥中;
    • 在「翻译渠道」下拉框选择 DeepSeek
  3. 检查网络稳定性:如果当前网络本身不稳定,也会导致握手超时,可稍后重试或更换网络环境。
  4. 确认 CAMB AI 服务是否正常:若服务商临时故障或接口变更,同样会超时,可先到其官网确认服务状态。

请查阅相关文档:

Post Your Reply
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

Dondate via PayPal

Related resource