#2890 TaskCfg(cache_folder='E:/ASR/VideoTrans3.92/tmp/212/1ad30799d7', target_dir='E:/ASR/VideoTrans3.92/output/recogn', remov

61.144* Posted at: 1 day ago 👁12

语音识别阶段出错 [字节语音大模型极速版] 安全连接失败,请检查系统时间或网络设置,如果使用了代理,请关闭后重试
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 113, in run
File "videotrans\task\_speech2text.py", line 146, in recogn
File "videotrans\recognition\__init__.py", line 208, in run
File "videotrans\recognition\_base.py", line 80, in run
File "videotrans\recognition\_zijiemodel.py", line 67, 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='E:/ASR/VideoTrans3.92/tmp/212/1ad30799d7', target_dir='E:/ASR/VideoTrans3.92/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='E:/ASR/VideoTrans3.92/output/recogn/44进攻买三1027.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='44进攻买三1027', shibie_audio='E:/ASR/VideoTrans3.92/tmp/212/1ad30799d7/44进攻买三1027-1769399416.9749885.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', split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='E:/ASR/摩缠字幕/44进攻买三1027.mp4', basename='44进攻买三1027.mp4', ext='mp4', dirname='E:/ASR/摩缠字幕', shound_del_name=None, uuid='1ad30799d7', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=2, only_out_mp4=False)


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

1 Replies

这是由于 SSL/TLS 握手失败,导致无法连接到字节火山语音识别(极速版)的 API 服务器。常见原因是系统时间不准确、网络代理干扰或本地 SSL 证书问题。

解决方案:

  1. 检查并校准系统时间:确保 Windows 系统日期、时间和时区设置完全准确。
  2. 检查网络代理设置

    • 如果您在软件中配置了“网络代理”,请暂时关闭它后重试。
    • 如果您使用了系统全局代理或 VPN,请尝试关闭后重试。
  3. 临时关闭防火墙/安全软件:某些安全软件可能会干扰 SSL 连接,可暂时禁用测试。
  4. 直接访问 API 测试:在浏览器中打开 https://openspeech.bytedance.com,看是否能正常访问(可能会显示错误页面,但能连接说明网络通畅)。
  5. 更换语音识别渠道:如果以上方法无效,可能是字节火山服务端或您本地网络环境问题。建议暂时改用其他语音识别渠道,例如:

    • 本地免费faster-whisper (需下载模型)
    • 在线免费Edge-TTS 的语音识别(需配置)
    • 其他在线 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