#6722 EOF occurred in violation of protocol (_ssl.c:1017)[字节语音大模型极速版, Google(免费), Elevenlabs.io]Traceback (most recent call l

61.93.**2 Posted at: 2 hours ago

EOF occurred in violation of protocol (_ssl.c:1017)[字节语音大模型极速版, Google(免费), Elevenlabs.io]
Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions

yield

File "httpx\_transports\default.py", line 250, in handle_request

resp = self._pool.handle_request(req)

File "httpcore\_sync\connection_pool.py", line 216, in handle_request

raise exc from None

File "httpcore\_sync\connection_pool.py", line 196, in handle_request

response = connection.handle_request(

File "httpcore\_sync\http_proxy.py", line 317, in handle_request

stream = stream.start_tls(**kwargs)

File "httpcore\_sync\http11.py", line 383, in start_tls

return self._stream.start_tls(ssl_context, server_hostname, timeout)

File "httpcore\_backends\sync.py", line 152, in start_tls

with map_exceptions(exc_map):

File "contextlib.py", line 153, in exit

self.gen.throw(typ, value, traceback)

File "httpcore\_exceptions.p
......
ource_language_code='zh-cn', source_sub='C:/Users/pangpang/Desktop/工程文件/86-mp4/zh-cn.srt', source_wav='C:/Users/pangpang/Desktop/工程文件/86-mp4/_shared/zh-cn.wav', source_wav_output='C:/Users/pangpang/Desktop/工程文件/86-mp4/zh-cn.m4a', target_language='俄罗斯语', target_language_code='ru', target_sub='C:/Users/pangpang/Desktop/工程文件/86-mp4/ru/ru.srt', target_wav='C:/Users/pangpang/Desktop/WWT/pyvideotrans/tmp/18960/b85c2b2d24-ru/target.wav', target_wav_output='C:/Users/pangpang/Desktop/工程文件/86-mp4/ru/ru.m4a', translate_type=0, tts_type=20, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Roger - Laid-Back Casual Resonant', voice_role_auto_mode=True, voice_autorate=True, video_autorate=True, dubbing_thread_workers=4, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', recogn_type=8, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=True, nums_diariz=0, rephrase=0, fix_punc=0, target_language_pairs=[{'language': '俄罗斯语', 'code': 'ru'}, {'language': '哈萨克语', 'code': 'kk'}], target_languages=['俄罗斯语', '哈萨克语'], target_language_codes=['ru', 'kk'], multi_target_language_serial=True, multi_target_language_workers=4, resolved_multi_target_language_workers=2, stage_parallel_workers=4, video_slow_clip_workers=4, process_name='86.mp4 - 俄罗斯语', subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='C:/Users/pangpang/Desktop/工程文件/86-mp4/ru/86.mp4', novoice_mp4='C:/Users/pangpang/Desktop/WWT/pyvideotrans/tmp/18960/b85c2b2d24-ru/novoice.mp4', is_separate=True, embed_bgm=True, instrument='C:/Users/pangpang/Desktop/工程文件/86-mp4/_shared/instrument.wav', vocal='C:/Users/pangpang/Desktop/工程文件/86-mp4/_shared/vocal.wav', clear_cache=False, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:zh
root_dir:C:/Users/pangpang/Desktop/WWT/pyvideotrans

1 Replies

#1 DeepSeek reply at 2 hours ago

这是 ElevenLabs.io 配音接口的 TLS/SSL 握手失败,属于网络连接问题,不是软件配置或字幕问题。EOF occurred in violation of protocol 表示在建立加密连接时,远端服务器提前断开了连接,常见原因是 ElevenLabs 为海外服务,当前网络环境无法稳定访问,或代理/VPN 导致 TLS 握手被中断。

解决方案(按步骤排查):

  1. 检查代理设置

    • 打开软件 菜单 → 翻译设置 → 网络代理,确认代理格式正确:http://127.0.0.1:端口号socks5://127.0.0.1:端口号
    • 如果正在使用代理/VPN,尝试更换节点或关闭代理后重试;若关闭代理后仍失败,说明当前网络直连 ElevenLabs 不稳定,需要开启可靠代理。
  2. 检查 ElevenLabs 账户状态

    • 确认 API Key 有效、账户余额充足,可先在浏览器中访问 ElevenLabs 官网测试网络是否可达。
  3. 降低并发与重试压力

    • 进入 菜单 → 工具 → 高级选项 → 字幕配音调整,将 并发配音线程数 设为 1配音后暂停秒 设为 5-10,减少高频请求导致的连接中断。
  4. 临时更换配音渠道

    • 若问题持续,可在主界面配音渠道中改用 Edge-TTS(免费,国内可用),或本地内置渠道(如 Qwen3-TTS、OmniVoice 等),不影响翻译流程。
  5. 升级软件版本

    • 当前版本为 v4.03,最新版本为 v4.10,建议下载最新完整包或补丁包覆盖,可能包含相关网络库修复。

请查阅相关文档:

Thinking...
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

Related resource