Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

语音和文案选择的语言是一致的,提示以下报错。 #522

Open
xuwu-001 opened this issue Nov 13, 2024 · 9 comments
Open

语音和文案选择的语言是一致的,提示以下报错。 #522

xuwu-001 opened this issue Nov 13, 2024 · 9 comments

Comments

@xuwu-001
Copy link

2024-11-13 10:01:39.427 | ERROR | app.services.task:generate_audio:85 - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.

2024-11-13 10:01:39.431 | ERROR | main::790 - 视频生成失败

@xinaiwunai
Copy link

我遇到类似的问题:

2024-11-13 20:56:59 | INFO | "./app\services\voice.py:1057": azure_tts_v1 - start, voice name: en-US-AvaNeural, try: 1
2024-11-13 20:56:59 | ERROR | "./app\services\voice.py:1080": azure_tts_v1 - failed, error: Cannot connect to host speech.platform.bing.com:443 ssl:<ssl.SSLContext object at 0x00000208D70CD5C0> [远程主机强迫关闭了一个现有的连接。]
2024-11-13 20:56:59 | INFO | "./app\services\voice.py:1057": azure_tts_v1 - start, voice name: en-US-AvaNeural, try: 2
2024-11-13 20:57:00 | ERROR | "./app\services\voice.py:1080": azure_tts_v1 - failed, error: Cannot connect to host speech.platform.bing.com:443 ssl:<ssl.SSLContext object at 0x00000208D70CCD40> [远程主机强迫关闭了一个现有的连接。]
2024-11-13 20:57:00 | INFO | "./app\services\voice.py:1057": azure_tts_v1 - start, voice name: en-US-AvaNeural, try: 3
2024-11-13 20:57:00 | ERROR | "./app\services\voice.py:1080": azure_tts_v1 - failed, error: Cannot connect to host speech.platform.bing.com:443 ssl:<ssl.SSLContext object at 0x00000208D70CE040> [远程主机强迫关闭了一个现有的连接。]

@dianxia-dev
Copy link

企业微信截图_20241114170506
同样的问题,开了全局vpn代理也不行,有谁解决了吗

@kof8855
Copy link

kof8855 commented Nov 20, 2024

我也是一样

@fuqifacai
Copy link

这个访问到了Azure的TTS服务,可能是和最近微软关闭非企业用户访问的问题。

@zhongpingyong
Copy link

image

@catsmalllion
Copy link

我也一样

@wadereye
Copy link

我也一样,有什么解决办法吗?

2024-12-23 15:25:13 | ERROR | "./app\services\task.py:85": generate_audio - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.

@catsmalllion
Copy link

catsmalllion commented Dec 23, 2024 via email

@wadereye
Copy link

我也一样,有什么解决办法吗?

2024-12-23 15:25:13 | ERROR | "./app\services\task.py:85": generate_audio - failed to generate audio:

  1. check if the language of the voice matches the language of the video script.
  2. check if the network is available. If you are in China, it is recommended to use a VPN and enable the global traffic mode.

我找到问题所在了,原来我们用的是windows一键安装包,发现里面有很多代码都是错的。
后来我直接用git clone 代码,手工安装,最终成功了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants