#2886 TaskCfg(cache_folder='D:/ASR/VideoTrans3.95/tmp/3808/957876a5ea', target_dir='D:/ASR/VideoTrans3.95/output/recogn', remo

61.144* Posted at: 1 day ago 👁13

语音识别阶段出错 [字节语音大模型极速版] 安全连接失败,请检查系统时间或网络设置,如果使用了代理,请关闭后重试
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:2396)

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.exceptions.MaxRetryError: HTTPSConnectionPool(host='openspeech.bytedance.com', port=443): Max retries exceeded with url: /api/v3/auc/bigmodel/recognize/flash (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 106, in run
File "videotrans\task\_speech2text.py", line 156, in recogn
File "videotrans\recognition\__init__.py", line 233, in run
File "videotrans\recognition\_base.py", line 140, in run
File "videotrans\recognition\_zijiemodel.py", line 66, in _exec
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 675, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='openspeech.bytedance.com', port=443): Max retries exceeded with url: /api/v3/auc/bigmodel/recognize/flash (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
TaskCfg(cache_folder='D:/ASR/VideoTrans3.95/tmp/3808/957876a5ea', target_dir='D:/ASR/VideoTrans3.95/output/recogn', remove_noise=False, is_separate=False, detect_language='zh-cn', subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code=None, source_sub=None, target_sub='D:/ASR/VideoTrans3.95/output/recogn/44进攻买三1027.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles='', novoice_mp4=None, noextname='44进攻买三1027', shibie_audio='D:/ASR/VideoTrans3.95/tmp/3808/957876a5ea/44进攻买三1027-1769397252.7249231.wav', targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=None, recogn_type=7, model_name='tiny', voice_autorate=False, video_autorate=False, cuda=False, name='D:/ASR/摩缠字幕/44进攻买三1027.mp4', basename='44进攻买三1027.mp4', ext='mp4', dirname='D:/ASR/摩缠字幕', shound_del_name=None, uuid='957876a5ea', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False, fix_punc=False, recogn2pass=False)


=
system:Windows-10-10.0.17763-SP0
version:v3.95
frozen:True
language:zh
root_dir:D:/ASR/VideoTrans3.95

1 Replies

这是由于系统 SSL/TLS 连接问题导致无法访问字节火山语音识别 API。错误 SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)') 通常与系统时间不正确、网络代理干扰或本地 SSL 证书问题有关。

解决方案:

  1. 检查系统时间:确保您的 Windows 系统日期和时间完全准确,包括时区设置。
  2. 检查网络代理设置

    • 如果您在软件中配置了“网络代理”,请先将其关闭或清空,然后重试。
    • 如果您使用了系统全局代理或 VPN,请尝试暂时关闭它们。
  3. 尝试使用其他网络环境:例如切换到手机热点,以排除本地网络对特定 API 域名 (openspeech.bytedance.com) 的干扰或限制。
  4. 使用替代方案:如果以上步骤均无效,建议暂时切换到其他语音识别渠道,例如:

    • 本地免费faster-whisper (需下载模型,支持 CUDA 加速)。
    • 其他在线 API:阿里百炼 Qwen3-ASR、OpenAI Whisper API。

参考文档:

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.

Related resource