#6502 Traceback (most recent call last): File

104.28.**7 Posted at: 2 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 344, in handle_request
File "httpcore\_sync\http11.py", line 143, in handle_request
File "httpcore\_sync\http11.py", line 113, in handle_request
File "httpcore\_sync\http11.py", line 186, in _receive_response_headers
File "httpcore\_sync\http11.py", line 224, in _receive_event
File "httpcore\_backends\sync.py", line 124, in read
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ReadTimeout: The read 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 62, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 206, in run
File "videotrans\recognition\_base.py", line 99, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\recognition\_camb.py", line 63, in _exec
File "camb\transcription\client.py", line 92, in create_transcription
File "camb\transcription\raw_client.py", line 76, in create_transcription
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.ReadTimeout: The read operation timed out

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/video/tiktok-1769679293825.mp4,
输出结果保存到文件夹: D:/video/_video_out/tiktok-1769679293825-mp4,
临时文件夹: D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/23240/cae48a4126
未选 清理已存在
已启用CUDA加速
未选 降噪
已选 删除所有标点符号
语音识别:CAMB AI, model_name: , 发音语言: 越南语, 断句方式:LLM重新断句
翻译渠道:302.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

这是网络读取超时(httpx.ReadTimeout)错误,本质是您的请求已成功发送到 CAMB AI 服务器,但服务器在预设时间内未能返回识别结果。常见于待识别音频较长、CAMB AI 服务端处理缓慢或本地网络不稳定。

解决方案按优先级尝试:

  1. 确认网络稳定:CAMB AI 属于在线云 API,需要稳定的公网访问。如果您使用了代理,请先在主界面"网络代理"处填写正确的代理地址(格式如 http://127.0.0.1:端口号);如果不需代理,请清空代理框。
  2. 缩短单次识别音频长度:如果视频较长(例如超过10分钟),CAMB AI 在线处理时间会大幅增加,容易触发 HTTP 读取超时。建议先用剪辑工具将视频切分为若干较短视频段,分别翻译后再合并。
  3. 降低并发与重试压力:在「菜单 → 工具 → 高级选项 → 语音识别参数」中,可以适当增加"云API识别暂停秒",降低请求频率;超时后软件会自动重试,若多次失败说明服务端暂时不可用,建议稍后错峰再试。
  4. 更换本地识别渠道:如果视频较长且网络不稳定,建议改用 faster-whisper(内置)Qwen-ASR(内置) 等本地模型识别越南语,避免在线 API 超时问题。您已启用 CUDA,本地模型速度会明显提升。
  5. 若以上均无效:请提供软件安装目录下 logs/ 文件夹中最新的日志文件(复制底部约30行报错信息),以便进一步分析是否为 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