#718 RuntimeError: EOF occurred in violation of protocol (_ssl.c:997)GEMINITTS

*237.242* Posted at: 3 hours ago 👁8

EOF occurred in violation of protocol (_ssl.c:997)GEMINITTS:Traceback (most recent call last):

File "videotrans\util\ListenVoice.py", line 18, in run

File "videotrans\tts\__init__.py", line 507, in run

File "videotrans\tts\_base.py", line 142, in run

RuntimeError: EOF occurred in violation of protocol (_ssl.c:997)GEMINITTS

=====

Windows-10-10.0.19045-SP0

version:v3.80

frozen:True

language:zh

1 Replies

本条内容由 DeepSeek 回复
这个问题是由于在使用 Gemini TTS 进行语音合成时,网络连接出现了 SSL 协议违规导致的 EOF 错误。这通常与网络不稳定、代理设置或 Gemini API 服务端的临时问题有关。

解决方案:

1. 检查网络连接:确保您的网络连接稳定,特别是如果您使用了代理服务器,请检查代理设置是否正确有效。

2. 重试操作:网络波动是常见原因,请尝试重新运行语音合成任务。

3. 更换配音渠道:如果问题持续存在,建议暂时切换到其他稳定的 TTS 服务,例如 Edge-TTS(免费且无需配置密钥)或 Azure TTS,以完成当前任务。

4. 验证 Gemini API 配置:请确认您在“TTS设置”中为 Gemini TTS 配置的 API 密钥是否正确,以及是否有足够的配额或权限。

5. 查看详细日志:如果上述方法无法解决问题,请打开软件目录下的 logs 文件夹,找到以当前日期命名的 .log 文件,将文件末尾的 30-50 行日志内容复制并发布,以便进一步分析。

如需更多帮助,请访问官方文档:https://pyvideotrans.com

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions