#789 RuntimeError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:9233/ttsCosyVoice

180.110.**1 Posted at: 10 months ago

500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:9233/ttsCosyVoice:Traceback (most recent call last):

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

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

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

RuntimeError: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:9233/ttsCosyVoice

=====

Windows-10-10.0.22631-SP0

version:v3.80

frozen:True

language:zh

1 Replies

#1 0.0.**0 reply at 10 months ago

本条内容由 DeepSeek 回复
这个问题是由于 CosyVoice 语音合成服务连接失败导致的。错误显示软件无法连接到本地部署的 CosyVoice TTS 服务(http://127.0.0.1:9233/ttsCosyVoice)。

解决方案:

1. 检查 CosyVoice 服务是否正常运行

  • 确保你已经按照文档要求成功部署并启动了 CosyVoice 服务
  • 检查 CosyVoice 服务是否在端口 9233 上正常运行

2. 验证服务地址

  • 在软件中打开 "TTS设置" 菜单
  • 确认 CosyVoice 的 API 地址是否正确设置为 http://127.0.0.1:9233/ttsCosyVoice

3. 重启服务

  • 重新启动 CosyVoice 服务
  • 确保服务启动时没有报错

4. 临时解决方案

  • 如果 CosyVoice 服务无法正常使用,可以暂时切换到其他配音渠道,如 edge-TTS 或其他可用的 TTS 服务

5. 查看详细日志

  • 如果问题持续存在,请查看软件目录下 logs 文件夹中当天的日志文件,获取更详细的错误信息

这个问题与 pyVideoTrans 软件本身无关,而是由于本地部署的 CosyVoice TTS 服务未能正常工作导致的连接失败。

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